/* ═══════════════════════════════════════════════════════
   OMA ELIS KOCHBUCH – Pastell Blau-Grün
   ═══════════════════════════════════════════════════════ */

/* Schrift: Arial (systemseitig verfügbar, kein externer Import nötig) */

:root {
    --bg-page:        #f0faf8;
    --bg-card:        #ffffff;
    --bg-subtle:      #e8f7f5;
    --bg-header:      #0a3d3a;
    --bg-header2:     #0a4f60;

    --teal:           #2aaa8a;
    --teal-hell:      #5bbcd6;
    --teal-mittel:    #3aaa8a;
    --teal-dunkel:    #0a6b5e;
    --teal-text:      #0a3d3a;

    --mint-hell:      #d1fae5;
    --blau-dunkel:    #0a4f60;

    --akzent:         linear-gradient(135deg, #5bbcd6 0%, #2aaa8a 100%);
    --akzent-header:  linear-gradient(135deg, #0a3d3a, #0a4f60);

    --text-haupt:     #0a3d3a;
    --text-mittel:    #2a6a60;
    --text-weich:     #7abfb5;
    --text-hell:      #a8d5cf;

    --linie:          rgba(91,188,214,0.3);
    --schatten:       rgba(10,80,70,0.12);

    --font-titel:     Arial, Helvetica, sans-serif;
    --font-text:      Arial, Helvetica, sans-serif;
    --radius:         16px;
    --radius-sm:      10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-page);
    background-image:
        radial-gradient(ellipse at 0% 0%,    rgba(91,188,214,.07) 0%, transparent 55%),
        radial-gradient(ellipse at 100% 100%, rgba(42,170,138,.07) 0%, transparent 55%);
    color: var(--text-haupt);
    font-family: var(--font-text);
    font-size: 16px;
    line-height: 1.7;
    min-height: 100vh;
}

a { color: var(--teal-dunkel); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blau-dunkel); }

/* ══ HEADER ══ */
.kb-header {
    background: var(--akzent-header);
    padding: .9rem 2.5rem;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 2px 16px var(--schatten);
    position: sticky; top: 0; z-index: 50;
    border-bottom: 1px solid rgba(91,188,214,.2);
}
.kb-logo {
    font-family: var(--font-titel);
    font-style: italic;
    font-size: 1.45rem;
    color: rgba(255,255,255,.92);
    display: flex; align-items: center; gap: .55rem;
}
.kb-logo span { font-style: normal; font-size: 1.2rem; }
.kb-nav { display: flex; gap: .6rem; }
.kb-nav a {
    color: rgba(255,255,255,.6);
    font-family: var(--font-text);
    font-size: .78rem; font-weight: 500;
    letter-spacing: .07em; text-transform: uppercase;
    padding: .28rem .9rem;
    border: .5px solid rgba(255,255,255,.18);
    border-radius: 20px;
    transition: all .2s;
}
.kb-nav a:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ══ TITELSEITE ══ */
.titelseite {
    min-height: calc(100vh - 62px);
    display: flex; align-items: center; justify-content: center;
    padding: 3rem 4rem 4rem;
    position: relative; overflow: hidden;
}
.titelseite::before {
    content: '';
    position: absolute;
    width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle, rgba(91,188,214,.1), transparent 70%);
    top: -120px; right: -100px; pointer-events: none;
}
.titelseite::after {
    content: '';
    position: absolute;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(42,170,138,.09), transparent 70%);
    bottom: -100px; left: -80px; pointer-events: none;
}

/* Zweispaltiges Raster: Text links, Foto rechts */
.titelseite-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4rem;
    max-width: 1000px;
    width: 100%;
    position: relative; z-index: 1;
}

/* Linke Spalte */
.titel-links {
    display: flex; flex-direction: column;
    align-items: flex-start;
}

.titel-eyebrow {
    font-family: var(--font-titel); font-style: italic;
    font-size: 1rem; color: var(--teal-mittel);
    letter-spacing: .08em; margin-bottom: .8rem;
    animation: einblenden .6s ease both .1s;
}
.titel-haupttitel {
    font-family: var(--font-titel);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 600; color: var(--text-haupt);
    line-height: 1.08; margin-bottom: .5rem;
    animation: einblenden .6s ease both .2s;
}
.titel-haupttitel em { font-style: italic; color: var(--teal); }
.titel-untertitel {
    font-family: var(--font-titel); font-style: italic;
    font-size: clamp(.95rem, 2vw, 1.2rem);
    font-weight: 300; color: var(--text-weich);
    margin-bottom: 1.8rem; letter-spacing: .05em;
    animation: einblenden .6s ease both .3s;
}
.titel-linie {
    width: 60px; height: 2px;
    background: linear-gradient(to right, var(--teal), var(--teal-hell));
    border-radius: 2px; margin-bottom: 1.8rem;
    animation: einblenden .6s ease both .35s;
}
.start-btn {
    display: inline-flex; align-items: center; gap: .7rem;
    background: var(--akzent); color: #fff;
    font-family: var(--font-text);
    font-size: .88rem; font-weight: 500;
    letter-spacing: .06em;
    padding: .85rem 2rem; border-radius: 50px;
    box-shadow: 0 6px 22px rgba(42,170,138,.35);
    transition: all .25s;
    animation: einblenden .6s ease both .45s;
}
.start-btn:hover { color:#fff; transform:translateY(-3px); box-shadow:0 10px 30px rgba(42,170,138,.4); }

.titel-chips {
    display: flex; flex-wrap: wrap; gap: .45rem;
    margin-top: 1.8rem;
    animation: einblenden .6s ease both .6s;
}
.titel-chip {
    background: #fff; color: var(--teal-dunkel);
    font-family: var(--font-text);
    font-size: .72rem; font-weight: 500;
    padding: .28rem .85rem; border-radius: 20px;
    border: .5px solid var(--linie);
    box-shadow: 0 2px 6px var(--schatten);
}

/* Rechte Spalte: Foto */
.titel-rechts {
    display: flex; flex-direction: column;
    align-items: center; gap: .8rem;
    animation: einblenden .7s ease both .3s;
}

.foto-rahmen {
    position: relative; display: inline-block;
    cursor: pointer; transition: transform .3s ease;
}
.foto-rahmen:hover { transform: scale(1.04); }
.foto-rahmen img {
    display: block;
    width: clamp(160px, 18vw, 230px);
    height: clamp(160px, 18vw, 230px);
    object-fit: cover; object-position: center top;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 8px rgba(91,188,214,.22), 0 12px 40px rgba(10,80,70,.18);
}
.foto-rahmen::before {
    content: ''; position: absolute; inset: -12px;
    border-radius: 50%;
    border: 1.5px solid rgba(91,188,214,.4);
    animation: puls 3s ease-in-out infinite;
}
.foto-rahmen::after {
    content: ''; position: absolute; inset: -22px;
    border-radius: 50%;
    border: 1px solid rgba(42,170,138,.2);
    animation: puls 3s ease-in-out infinite .7s;
}
@keyframes puls {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:.45; transform:scale(1.04); }
}
.foto-hinweis {
    font-family: var(--font-titel); font-style: italic;
    font-size: .82rem; color: var(--text-weich);
    text-align: center;
}

/* Mobil: untereinander, Foto zuerst */
@media (max-width: 720px) {
    .titelseite { padding: 2.5rem 1.2rem 3rem; }
    .titelseite-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .titel-links { align-items: center; }
    .titel-rechts { order: -1; }
    .titel-linie { margin-left: auto; margin-right: auto; }
    .titel-chips { justify-content: center; }
}

/* ══ SEITEN-WRAPPER ══ */
.seite-wrapper { max-width: 920px; margin: 0 auto; padding: 2.5rem 2rem 6rem; }

.seiten-titel {
    font-family: var(--font-titel);
    font-size: clamp(2rem, 5vw, 3rem); font-weight: 600;
    color: var(--text-haupt); text-align: center; margin-bottom: .3rem;
}
.seiten-titel em { font-style: italic; color: var(--teal); }
.seiten-untertitel {
    font-family: var(--font-titel); font-style: italic;
    color: var(--text-weich); text-align: center;
    font-size: 1rem; margin-bottom: 2.8rem;
}

/* ══ BUCHSTABEN-ANKER ══ */
.buchstaben-anker {
    display: flex; flex-wrap: wrap; gap: .35rem;
    justify-content: center; margin-bottom: 3rem;
    padding: 1.1rem 1.5rem;
    background: #fff; border: .5px solid var(--linie);
    border-radius: var(--radius);
    box-shadow: 0 2px 12px var(--schatten);
}
.buchstaben-anker a {
    font-family: var(--font-titel); font-size: 1rem; font-weight: 600;
    color: var(--teal-dunkel);
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px; border: .5px solid transparent;
    transition: all .18s;
}
.buchstaben-anker a:hover { background: var(--akzent); color:#fff; }
.buchstaben-anker a.inaktiv { color: rgba(122,191,181,.3); pointer-events: none; }

/* ══ BUCHSTABEN-GRUPPEN ══ */
.buchstaben-gruppe { margin-bottom: 2.5rem; }
.buchstabe-kopf { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.buchstabe-letter {
    font-family: var(--font-titel); font-size: 2.8rem; font-weight: 600;
    color: var(--teal); line-height:1; min-width:44px;
}
.buchstabe-linie { flex:1; height:.5px; background: linear-gradient(to right, var(--teal-hell), transparent); }
.buchstabe-count { font-family: var(--font-text); font-size:.75rem; color:var(--text-weich); }

.rezept-liste {
    list-style: none;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(270px,1fr));
    gap: .35rem .8rem; padding-left: 3.2rem;
}
.rezept-item a {
    display: flex; align-items: center; gap: .5rem;
    padding: .4rem .7rem; color: var(--text-haupt);
    font-family: var(--font-titel); font-size: 1.05rem;
    border-radius: 8px; transition: all .18s;
}
.rezept-item a::before {
    content:''; width:6px; height:6px; border-radius:50%;
    background: var(--teal-hell); flex-shrink:0; transition: background .18s;
}
.rezept-item a:hover { background:var(--bg-subtle); color:var(--teal-dunkel); padding-left:1rem; }
.rezept-item a:hover::before { background: var(--teal); }

.gruppe-badge {
    display: inline-block;
    background: var(--mint-hell); color: var(--teal-dunkel);
    font-family: var(--font-text); font-size:.68rem; font-weight:500;
    letter-spacing:.06em; text-transform:uppercase;
    padding:.12rem .6rem; border-radius:20px;
    margin-left:.3rem; vertical-align:middle;
    border: .5px solid rgba(91,188,214,.3);
}

/* ══ REZEPT EINZELSEITE ══ */
.rezept-karte {
    background: var(--bg-card); border: .5px solid var(--linie);
    border-radius: var(--radius);
    box-shadow: 0 4px 30px var(--schatten);
    overflow: hidden; margin-bottom: 2.5rem;
}
.rezept-kopf {
    background: var(--akzent);
    padding: 2.2rem 2.5rem;
    position: relative; overflow: hidden;
}
.rezept-kopf::before {
    content:''; position:absolute; left:-20px; bottom:-30px;
    width:130px; height:130px; border-radius:50%;
    background:rgba(255,255,255,.05);
}
.rezept-kopf::after {
    content:''; position:absolute; right:-40px; top:-40px;
    width:200px; height:200px; border-radius:50%;
    background:rgba(255,255,255,.07);
}
.rezept-gruppe-label {
    font-family:var(--font-text); font-size:.7rem; font-weight:500;
    letter-spacing:.14em; text-transform:uppercase;
    color:rgba(255,255,255,.7); margin-bottom:.5rem;
}
.rezept-titel {
    font-family:var(--font-titel);
    font-size:clamp(1.8rem,4vw,2.8rem); font-weight:600;
    color:#fff; line-height:1.12;
}
.rezept-meta { display:flex; gap:1.2rem; margin-top:1rem; flex-wrap:wrap; }
.meta-chip { display:flex; align-items:center; gap:.35rem; color:rgba(255,255,255,.75); font-family:var(--font-text); font-size:.82rem; }

.rezept-body { display:grid; grid-template-columns:260px 1fr; }
@media(max-width:650px){ .rezept-body{grid-template-columns:1fr;} }

.zutaten-seite {
    background:var(--bg-subtle); padding:2rem 1.8rem;
    border-right:.5px solid var(--linie);
}
.zubereitung-seite { padding:2rem 2.2rem; }

.abschnitt-titel {
    font-family:var(--font-text); font-size:.72rem; font-weight:500;
    color:var(--teal-mittel); letter-spacing:.12em; text-transform:uppercase;
    margin-bottom:1rem; padding-bottom:.5rem;
    border-bottom:.5px solid var(--linie);
}
.zutaten-text {
    font-family:var(--font-titel); font-size:1.05rem;
    color:var(--text-haupt); white-space:pre-wrap; line-height:1.5;
}
.zubereitung-text {
    font-family:var(--font-titel); font-size:1.05rem;
    color:var(--text-haupt); white-space:pre-wrap; line-height:1.55;
}

.rezept-foto-wrap { padding:0 2.2rem 2rem; }
.rezept-foto-wrap img {
    width:100%; max-height:320px; object-fit:cover;
    border-radius:var(--radius-sm); border:.5px solid var(--linie);
    box-shadow:0 4px 16px var(--schatten);
}
.ergaenzung-box {
    margin:0 2.2rem 2rem; padding:1rem 1.4rem;
    background:var(--mint-hell);
    border-left:3px solid var(--teal);
    border-radius:0 var(--radius-sm) var(--radius-sm) 0;
    font-family:var(--font-titel); font-style:italic;
    color:var(--text-mittel); font-size:1rem;
}
.quelle-zeile {
    padding:.9rem 2.2rem; border-top:.5px solid var(--linie);
    font-family:var(--font-text); font-size:.75rem;
    color:var(--text-hell); letter-spacing:.04em;
}

/* ══ BUTTONS ══ */
.zurueck-btn {
    display:inline-flex; align-items:center; gap:.45rem;
    padding:.5rem 1.2rem; background:#fff;
    border:.5px solid var(--linie); color:var(--teal-dunkel);
    font-family:var(--font-text); font-size:.82rem; font-weight:500;
    border-radius:20px; margin-bottom:2rem; cursor:pointer;
    box-shadow:0 2px 8px var(--schatten); transition:all .2s;
}
.zurueck-btn:hover { background:var(--teal); color:#fff; border-color:var(--teal); }

/* ══ INFO-KARTE ══ */
.info-karte {
    background:var(--bg-card); border:.5px solid var(--linie);
    border-radius:var(--radius); box-shadow:0 4px 24px var(--schatten);
    padding:2.8rem; max-width:740px; margin:2rem auto;
}
.info-badge {
    display:inline-block; background:var(--bg-subtle); color:var(--teal-dunkel);
    font-family:var(--font-text); font-size:.7rem; font-weight:500;
    letter-spacing:.1em; text-transform:uppercase;
    padding:.25rem 1rem; border-radius:20px;
    border:.5px solid var(--linie); margin-bottom:1.2rem;
}
.info-titel {
    font-family:var(--font-titel); font-size:2.2rem; font-weight:600;
    color:var(--text-haupt); margin-bottom:1.8rem;
    padding-bottom:1rem; border-bottom:.5px solid var(--linie);
}
.info-abschnitt { margin-bottom:1.8rem; }
.info-abschnitt h2 {
    font-family:var(--font-text); font-size:.72rem; font-weight:500;
    color:var(--teal-mittel); text-transform:uppercase;
    letter-spacing:.1em; margin-bottom:.55rem;
}
.info-abschnitt p { font-family:var(--font-titel); font-size:1.05rem; color:var(--text-haupt); line-height:1.55; }
.info-abschnitt a { color:var(--teal); }
.info-abschnitt a:hover { color:var(--blau-dunkel); }
.info-quelle {
    margin-top:2rem; padding-top:1rem;
    border-top:.5px solid var(--linie);
    font-family:var(--font-text); font-size:.75rem;
    color:var(--text-hell); letter-spacing:.04em;
}

/* ══ FOOTER ══ */
.kb-footer {
    background: var(--akzent-header);
    padding: .55rem 2rem;
    border-top: 1px solid rgba(91,188,214,.12);
    display: flex; align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; gap: .4rem;
}
.footer-logo {
    font-family: var(--font-titel); font-style: italic;
    font-size: .85rem; color: rgba(255,255,255,.42);
}
.footer-nav { display: flex; gap: .4rem; }
.footer-nav a {
    color: rgba(255,255,255,.35); font-family: var(--font-text);
    font-size: .67rem; font-weight: 500;
    letter-spacing: .07em; text-transform: uppercase;
    padding: .18rem .6rem;
    border: .5px solid rgba(255,255,255,.1); border-radius: 20px;
    transition: color .2s, border-color .2s;
}
.footer-nav a:hover { color: rgba(255,255,255,.72); border-color: rgba(255,255,255,.22); }
.footer-copyright {
    font-family: var(--font-text); font-size: .67rem;
    color: rgba(255,255,255,.25); letter-spacing: .04em;
}

/* ══ HILFS-KLASSEN ══ */
.leer-hinweis { text-align:center; padding:4rem 2rem; color:var(--text-weich); font-family:var(--font-titel); font-style:italic; font-size:1.2rem; }
.fehler-box { background:#fff0f0; border:.5px solid #e57373; border-radius:var(--radius-sm); padding:1.4rem 1.8rem; color:#b71c1c; font-family:var(--font-text); font-size:.9rem; margin:2rem 0; }

/* ══ ANIMATIONEN ══ */
@keyframes einblenden { from{opacity:0;transform:translateY(16px);} to{opacity:1;transform:translateY(0);} }
.rezept-item { animation:einblenden .4s ease both; }

/* ══ RESPONSIVE ══ */
@media(max-width:680px){
    .kb-header { padding:.75rem 1.2rem; }
    .seite-wrapper { padding:1.8rem 1rem 5rem; }
    .info-karte { padding:1.8rem 1.2rem; margin:1rem .8rem; }
    .rezept-kopf { padding:1.6rem 1.4rem; }
    .zubereitung-seite { padding:1.4rem; }
    .zutaten-seite { padding:1.4rem; border-right:none; border-bottom:.5px solid var(--linie); }
    .rezept-foto-wrap,.ergaenzung-box,.quelle-zeile { padding-left:1.4rem; padding-right:1.4rem; }
    .buchstaben-anker a { width:26px; height:26px; font-size:.88rem; }
    .kb-nav { display:none; }
}
