/* -------------------------------------------------------------
   Seite "Unser Angebot" (fleisch.php)
   Ergänzt style.css, alles unter .angebot gekapselt. Mobile first.
   Farben und Schriften wie style.scss ($primary #535AD8, Gilroy, Kepler).
   ------------------------------------------------------------- */

@font-face {
    font-family: 'Gilroy SemiBold';
    src: url('../fonts/gilroy/Gilroy-SemiBold.ttf') format('truetype');
    font-display: swap;
}

.angebot {
    --k6-primary: #535AD8;
    --k6-primary-dunkel: #3D42B8;
    --k6-primary-hell: #EEEFFB;
    --k6-text: #222428;
    --k6-grau: #5C5F66;
    --k6-linie: #E6E2D6;
    --k6-hintergrund: #fffdf8;
    color: var(--k6-text);
    font-size: 16px;
    line-height: 1.5;
}

.angebot strong,
.angebot b {
    font-family: 'Gilroy SemiBold', 'Gilroy Light', sans-serif;
    font-weight: normal;
}

.angebot img,
.angebot svg {
    box-shadow: none;
}

.angebot svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.angebot p {
    padding-top: 0;
}

/* ---------- Kopfbereich ---------- */

.angebot-kopf {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 4rem;
    align-items: flex-start;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.angebot-kopf-text {
    flex: 1 1 26rem;
    min-width: 0;
}

.angebot h1 {
    margin: 0 0 1.25rem;
}

.angebot-kopf-zeile2 {
    display: inline-block;
    padding-left: 0.9em;
}

.angebot-lead {
    max-width: 35rem;
    margin: 0;
    font-size: 18px;
    opacity: 0.85;
}

.angebot-schritte {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    gap: 1rem 1.5rem;
}

.angebot-schritte li {
    display: flex;
    gap: 0.6rem;
    align-items: baseline;
    font-size: 15px;
    color: var(--k6-grau);
}

.angebot-schritte strong {
    display: block;
    color: var(--k6-text);
}

.angebot-schritt-nr {
    font-family: 'Kepler Std Semibold', Georgia, serif;
    font-style: italic;
    font-size: 30px;
    line-height: 1;
    color: var(--k6-primary);
}

/* rechte Spalte im Kopf: Verkaufstermine + Gewichtshinweis */
.angebot-kopf-seite {
    flex: 1 1 18rem;
    min-width: 0;
    max-width: 26rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.angebot-termine {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.4rem;
    border-radius: 18px;
    background: var(--k6-primary);
    color: #fff;
}

.angebot-termine svg,
.angebot-termin svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.angebot-termine-icon svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.3;
}

.angebot-termine-titel {
    margin: 0;
    padding: 0;
    font-family: 'Gilroy SemiBold', sans-serif;
    font-size: 20px;
    line-height: 1.3;
}

.angebot-termine dl {
    margin: 0.4rem 0 0;
}

.angebot-termine dl div {
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.5rem;
    font-size: 16px;
    line-height: 1.5;
}

.angebot-termine dt {
    font-family: 'Gilroy SemiBold', sans-serif;
    font-weight: normal;
}

.angebot-termine dt::after {
    content: ':';
}

.angebot-termine dd {
    margin: 0;
}

.angebot-termin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0 0;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: var(--k6-primary);
    color: #fff;
    font-size: 15px;
}

.angebot-termin strong {
    font-family: 'Gilroy SemiBold', sans-serif;
    font-weight: normal;
}

.angebot-termin svg {
    flex: none;
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}

.angebot-gewicht {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.4rem;
    border: 1.5px solid var(--k6-primary);
    border-radius: 18px;
    background: #fff;
}

.angebot-gewicht-icon svg {
    width: 40px;
    height: 40px;
    color: var(--k6-primary);
    stroke-width: 1.3;
}

.angebot-gewicht-titel {
    margin: 0;
    font-family: 'Gilroy SemiBold', sans-serif;
    font-size: 20px;
    line-height: 1.3;
}

.angebot-gewicht-text {
    margin: 0.5rem 0 0;
    font-size: 15px;
    color: var(--k6-grau);
}

.angebot-leer {
    padding-top: 2rem;
    font-size: 18px;
}

/* ---------- Kategorie-Sprungleiste ---------- */

.angebot-chips {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

.angebot-chips a {
    flex: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 1.1rem;
    border: 1px solid #D9D5C8;
    border-radius: 999px;
    background: #fff;
    color: var(--k6-text);
    text-decoration: none;
    font-family: 'Gilroy SemiBold', sans-serif;
    white-space: nowrap;
}

.angebot-chips a:hover {
    border-color: var(--k6-primary);
    color: var(--k6-primary);
}

.angebot-chips .angebot-chip-anfrage {
    border-color: var(--k6-primary);
    background: var(--k6-primary-hell);
    color: var(--k6-primary-dunkel);
}

/* ---------- Kategorien und Produkte ---------- */

.angebot-kategorie {
    padding-top: 3rem;
    scroll-margin-top: 0.75rem;
}

.angebot-kategorie-kopf {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    align-items: flex-end;
}

.angebot-kategorie-kopf h2 {
    margin: 0;
    line-height: 1.1;
}

.angebot-symbol {
    flex: none;
    display: inline-flex;
    width: 76px;
    height: 76px;
    align-items: flex-end;
    justify-content: center;
}

.angebot-symbol svg,
.angebot-symbol img {
    width: 100%;
    height: 100%;
    stroke-width: 2.2;
}

/* Zeichnung aus der Preisliste: weißer Hintergrund verschwindet auf dem cremefarbenen Grund */
.angebot-symbol-bild {
    mix-blend-mode: multiply;
    object-fit: contain;
}

.angebot-untertitel {
    margin: 0.35rem 0 0;
    font-family: 'Gilroy SemiBold', sans-serif;
    font-size: 18px;
}

.angebot-kategorie-text {
    max-width: 45rem;
    margin: 0.9rem 0 0;
    color: var(--k6-grau);
}

.angebot-hinweis {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0 0;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: var(--k6-primary-hell);
    color: var(--k6-primary-dunkel);
    font-family: 'Gilroy SemiBold', sans-serif;
    font-size: 14px;
}

.angebot-hinweis svg {
    width: 18px;
    height: 18px;
    flex: none;
}

/* Gilroy sitzt in der Zeile zu weit oben, dadurch wirkt der Inhalt der Pillen
   nicht mittig. Symbol und Text gemeinsam nach unten schieben (Box bleibt gleich). */
.angebot-termin > *,
.angebot-hinweis > * {
    position: relative;
    top: 0.25em;
}

.angebot-gruppe {
    margin-top: 2rem;
}

.angebot-gruppe h3 {
    margin: 0;
    padding-bottom: 0.6rem;
    border-bottom: 1.5px solid var(--k6-text);
    font-family: 'Gilroy SemiBold', sans-serif;
    font-style: normal;
    font-size: 20px;
}

.angebot-produkte {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr));
    column-gap: 3.5rem;
}

.angebot-produkt {
    padding: 1rem 0;
    border-bottom: 1px solid var(--k6-linie);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.angebot-produkt-zeile {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.angebot-produkt-name {
    flex: 1 1 auto;
    min-width: 0;
}

.angebot-name {
    font-family: 'Gilroy SemiBold', sans-serif;
    font-size: 17px;
    line-height: 1.3;
}

.angebot-zusatz {
    margin-top: 2px;
    font-size: 14px;
    font-style: italic;
    color: var(--k6-grau);
}

.angebot-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0.5rem;
}

.angebot-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: 999px;
    font-family: 'Gilroy SemiBold', sans-serif;
    font-size: 13px;
}

.angebot-badge svg {
    width: 13px;
    height: 13px;
    stroke-width: 1.4;
}

.angebot-badge-tk {
    border: 1px solid #C6D1E2;
    background: #F2F6FB;
    color: #2F4A72;
}

.angebot-badge-status {
    border: 1px solid #E3CFA6;
    background: #FBF4E6;
    color: #6E4B12;
}

.angebot-preis {
    flex: none;
    max-width: 46%;
    text-align: right;
}

.angebot-preis-haupt {
    font-family: 'Gilroy SemiBold', sans-serif;
    font-size: 17px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.angebot-preis-haupt span {
    font-family: 'Gilroy Light', sans-serif;
    font-size: 14px;
    color: var(--k6-grau);
}

.angebot-meta {
    margin-top: 2px;
    font-size: 13.5px;
    line-height: 1.35;
    color: var(--k6-grau);
}

/* runde 44px-Knöpfe */
.angebot-plus,
.angebot-gemerkt,
.angebot-runde {
    flex: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.angebot-plus {
    border: 1.5px solid var(--k6-primary);
    background: #fff;
    color: var(--k6-primary);
    cursor: pointer;
}

.angebot-plus:hover {
    background: var(--k6-primary-hell);
}

.angebot-gemerkt {
    background: var(--k6-primary);
    color: #fff;
}

.angebot-plus svg,
.angebot-gemerkt svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Menge auf der Merkliste */
.angebot-menge {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px 10px;
}

.angebot-menge[hidden] {
    display: none;
}

.angebot-zeile-text {
    margin-right: auto;
    font-family: 'Gilroy SemiBold', sans-serif;
    font-size: 14px;
    color: var(--k6-primary-dunkel);
}

.angebot-stepper {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border-radius: 999px;
    background: var(--k6-primary-hell);
}

.angebot-runde {
    border: 0;
    background: transparent;
    color: var(--k6-primary-dunkel);
    cursor: pointer;
}

.angebot-runde svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.angebot-runde.angebot-entfernen {
    color: var(--k6-grau);
}

.angebot-stepper label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.angebot-stepper input {
    width: 64px;
    height: 40px;
    border: 1px solid #C2C5F0;
    border-radius: 10px;
    background: #fff;
    text-align: center;
    font-family: 'Gilroy SemiBold', sans-serif;
    font-size: 16px;
    color: var(--k6-text);
}

.angebot-einheit {
    min-width: 30px;
    font-family: 'Gilroy SemiBold', sans-serif;
    font-size: 14px;
    color: var(--k6-primary-dunkel);
}

/* Paketinhalt */
.angebot-inhalt summary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--k6-primary);
    font-family: 'Gilroy SemiBold', sans-serif;
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
    list-style: none;
}

.angebot-inhalt summary::-webkit-details-marker {
    display: none;
}

.angebot-inhalt[open] summary {
    font-size: 0;
}

.angebot-inhalt[open] summary::after {
    content: 'Inhalt ausblenden';
    font-size: 15px;
}

.angebot-inhalt ul {
    list-style: none;
    margin: 4px 0 0;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--k6-linie);
    border-radius: 12px;
    background: #fff;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 18px;
    font-size: 14px;
}

.angebot-inhalt li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.angebot-inhalt li span:last-child {
    color: var(--k6-grau);
    white-space: nowrap;
}

/* ---------- Schwebende Leiste ---------- */

.angebot-leiste {
    position: sticky;
    bottom: 0;
    z-index: 5;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.angebot-leiste[hidden] {
    display: none;
}

.angebot-leiste a {
    pointer-events: auto;
    width: 100%;
    max-width: 35rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 8px 8px 8px 18px;
    border-radius: 999px;
    background: var(--k6-text);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(34, 36, 40, 0.22);
}

.angebot-leiste-icon svg {
    width: 24px;
    height: 24px;
}

.angebot-leiste-text {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.25;
}

.angebot-leiste-text > * {
    display: block;
}

.angebot-leiste-text [data-summe] {
    font-size: 13px;
    color: #D4D5DA;
}

.angebot-leiste-knopf {
    flex: none;
    height: 44px;
    padding: 0 1.1rem;
    border-radius: 999px;
    background: var(--k6-primary);
    display: inline-flex;
    align-items: center;
    font-family: 'Gilroy SemiBold', sans-serif;
    white-space: nowrap;
}

/* ---------- Anfrage ---------- */

.angebot-anfrage {
    margin-top: 4rem;
    padding: 3.5rem 1rem 4rem;
    background: var(--k6-primary);
    color: #fff;
    scroll-margin-top: 0;
}

.angebot-anfrage-innen {
    max-width: 55rem;
    margin: 0 auto;
}

.angebot-anfrage h2 {
    margin: 0;
    text-align: center;
    color: #fff;
}

.angebot-anfrage-lead {
    max-width: 35rem;
    margin: 0.75rem auto 0;
    text-align: center;
    font-size: 17px;
    color: #E4E5FA;
}

.angebot-karte {
    margin-top: 2rem;
    padding: clamp(18px, 4vw, 36px);
    border-radius: 22px;
    background: var(--k6-hintergrund);
    color: var(--k6-text);
}

.angebot-karte h3 {
    margin: 0;
    padding-bottom: 0.6rem;
    border-bottom: 1.5px solid var(--k6-text);
    font-family: 'Gilroy SemiBold', sans-serif;
    font-style: normal;
    font-size: 20px;
}

.angebot-karte .angebot-abstand {
    margin-top: 2.5rem;
}

.angebot-liste-leer {
    margin: 0.9rem 0 0;
    color: var(--k6-grau);
}

.angebot-liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.angebot-liste li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--k6-linie);
}

.angebot-liste-name {
    flex: 1 1 200px;
    min-width: 0;
}

.angebot-liste-summe {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 4px 16px;
    margin-top: 0.9rem;
    font-family: 'Gilroy SemiBold', sans-serif;
    font-size: 18px;
}

.angebot-liste-summe[hidden] {
    display: none;
}

.angebot-liste-hinweis {
    font-size: 14px;
    color: var(--k6-primary-dunkel);
}

.angebot-felder {
    margin-top: 1.1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 1rem 1.25rem;
}

.angebot-felder label,
.angebot-feld {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    font-family: 'Gilroy SemiBold', sans-serif;
    font-size: 14px;
}

.angebot-optional {
    font-family: 'Gilroy Light', sans-serif;
    color: var(--k6-grau);
}

.angebot-karte input[type="text"],
.angebot-karte input[type="tel"],
.angebot-karte input[type="email"],
.angebot-karte input[type="date"],
.angebot-karte textarea {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid #CFCABD;
    border-radius: 10px;
    background: #fff;
    font-family: 'Gilroy Light', sans-serif;
    font-size: 16px; /* 16px: kein automatisches Zoomen auf dem iPhone */
    color: var(--k6-text);
}

.angebot-karte textarea {
    padding: 12px 14px;
    resize: vertical;
}

.angebot-karte input:focus,
.angebot-karte textarea:focus {
    outline: 2px solid var(--k6-primary);
    outline-offset: 1px;
    border-color: var(--k6-primary);
}

.angebot-karte [aria-invalid="true"] {
    border-color: #B3261E;
}

.angebot-art {
    margin: 1.25rem 0 0;
    padding: 0;
    border: 0;
}

.angebot-art legend {
    float: none;
    margin: 0;
    padding: 0;
    font-family: 'Gilroy SemiBold', sans-serif;
    font-size: 14px;
}

.angebot-segment {
    margin-top: 0.5rem;
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    border: 1.5px solid var(--k6-primary);
    border-radius: 14px;
    overflow: hidden;
}

.angebot-segment label {
    margin: 0;
    position: relative;
}

.angebot-segment input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.angebot-segment span {
    min-height: 52px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    color: var(--k6-primary-dunkel);
    font-family: 'Gilroy SemiBold', sans-serif;
    cursor: pointer;
}

.angebot-segment input:checked + span {
    background: var(--k6-primary);
    color: #fff;
}

.angebot-segment input:focus-visible + span {
    outline: 2px solid var(--k6-text);
    outline-offset: -4px;
}

.angebot-art [data-art="lieferung"] {
    margin-top: 0.75rem;
}

.angebot-klein {
    margin: 0.5rem 0 0;
    font-size: 14px;
    color: var(--k6-grau);
}

.angebot-klein a,
.angebot-check a {
    color: var(--k6-primary-dunkel);
    font-family: 'Gilroy SemiBold', sans-serif;
}

.angebot-abstand-klein {
    margin-top: 1.25rem;
}

.angebot-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.angebot-check {
    margin-top: 1.1rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 14px;
    color: #4F5258;
    cursor: pointer;
}

.angebot-check input {
    flex: none;
    width: 22px;
    height: 22px;
    margin: 1px 0 0;
    accent-color: var(--k6-primary);
}

.angebot-recaptcha {
    margin-top: 1.1rem;
    min-height: 78px;
}

.angebot-fehler {
    margin-top: 1.1rem;
    padding: 0.9rem 1rem;
    border: 1.5px solid #B3261E;
    border-radius: 12px;
    background: #FDF1F0;
    color: #8C1D18;
    font-size: 15px;
}

.angebot-erfolg {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    padding: 0.9rem 1rem;
    border: 1.5px solid #2E7D32;
    border-radius: 12px;
    background: #F1F8F1;
    color: #1E5520;
    font-size: 15px;
}

.angebot-erfolg svg {
    flex: none;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.angebot-fehler ul {
    margin: 0;
    padding-left: 1.1rem;
}

.angebot-knoepfe {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 0.75rem;
}

.angebot-knopf-mail,
.angebot-knopf-wa {
    min-height: 56px;
    padding: 0 1.25rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: 'Gilroy SemiBold', sans-serif;
    font-size: 17px;
    text-decoration: none;
    cursor: pointer;
}

.angebot-knopf-mail {
    border: 0;
    background: var(--k6-primary);
    color: #fff;
}

.angebot-knopf-mail:hover {
    background: #757ADE;
}

.angebot-knopf-mail[disabled] {
    opacity: 0.6;
    cursor: wait;
}

.angebot-knopf-wa {
    border: 1.5px solid var(--k6-text);
    background: #fff;
    color: var(--k6-text);
}

.angebot-knopf-wa:hover {
    color: var(--k6-text);
    background: #F4F2EC;
}

.angebot-knopf-mail svg,
.angebot-knopf-wa svg {
    width: 22px;
    height: 22px;
}

.angebot-mitte {
    text-align: center;
    margin-top: 0.9rem;
}

/* ---------- größere Bildschirme ---------- */

@media (min-width: 768px) {
    .angebot-kopf {
        padding-top: 2.5rem;
    }
    .angebot-symbol {
        width: 90px;
        height: 90px;
    }
}
