/*
Theme Name: Kais Allerlei
Theme URI: https://blog.deinesippe.de/
Author: Kais Allerlei
Description: Vielseitiges, eigenständiges Theme für „Kais Allerlei – Gedanken, Projekte und das Leben dazwischen.“
Version: 1.0.13
Requires at least: 6.0
Requires PHP: 8.2
Update URI: https://blog.deinesippe.de/kais-allerlei-suite/kais-allerlei-theme
License: AGPL-3.0-or-later
Text Domain: kais-allerlei
*/
:root{--bg:#f2eee6;--paper:#fffdf8;--ink:#1e2421;--muted:#66716b;--line:#d9d7d0;--dark:#18211e;--green:#4f8b6f;--green2:#86baa0;--amber:#d9954d;--blue:#5e82a6;--rose:#b66f6f;--plum:#796b8d;--shadow:0 22px 60px rgba(28,35,31,.12);--radius:26px;--max:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased}a{color:inherit}.shell{width:min(calc(100% - 38px),var(--max));margin-inline:auto}.site-header{position:sticky;top:0;z-index:100;background:rgba(242,238,230,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(30,36,33,.1)}body.admin-bar .site-header{top:32px}.header-in{min-height:76px;display:flex;gap:25px;align-items:center;justify-content:space-between}.brand{text-decoration:none;display:flex;gap:11px;align-items:center;font-weight:900;letter-spacing:-.03em}.brand-mark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#3f715b,#9a6f43);color:white;box-shadow:0 9px 25px rgba(63,113,91,.2)}.brand span:last-child{display:flex;flex-direction:column;line-height:1.05}.brand small{font-size:.67rem;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-top:5px}.nav ul{list-style:none;display:flex;gap:5px;flex-wrap:wrap;margin:0;padding:0}.nav a{display:block;text-decoration:none;padding:8px 10px;border-radius:999px;font-size:.86rem;font-weight:750}.nav a:hover{background:rgba(79,139,111,.11);color:#2f624d}.hero{padding:76px 0 66px;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;width:500px;height:500px;border-radius:50%;right:-180px;top:-220px;background:rgba(217,149,77,.15);filter:blur(10px)}.hero-grid{position:relative;display:grid;grid-template-columns:1.3fr .7fr;gap:48px;align-items:end}.eyebrow{font-size:.77rem;letter-spacing:.11em;text-transform:uppercase;font-weight:900;color:var(--green);margin:0 0 13px}.hero h1{font-size:clamp(3rem,6.2vw,6rem);line-height:.94;letter-spacing:-.065em;margin:0;max-width:850px}.hero h1 em{font-style:normal;color:var(--amber)}.hero-lead{font-size:clamp(1.1rem,1.8vw,1.38rem);max-width:760px;color:#46524c;margin:25px 0 0}.warning{background:var(--dark);color:#edf3ef;padding:26px;border-radius:var(--radius);box-shadow:var(--shadow);transform:rotate(1deg)}.warning strong{font-size:1.2rem}.warning p{color:#b9c6c0;margin-bottom:0}.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border-radius:999px;text-decoration:none;font-weight:850}.button.dark{background:var(--dark);color:white}.button.light{border:1px solid #aeb5b0}.hero-actions{display:flex;gap:10px;margin-top:28px;flex-wrap:wrap}.section{padding:70px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:28px}.section-head h2{font-size:clamp(2rem,3.5vw,3.6rem);line-height:1;letter-spacing:-.05em;margin:0}.section-head p{max-width:560px;color:var(--muted);margin:0}.mixed-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:16px}.content-card{grid-column:span 4;min-height:260px;border-radius:24px;padding:23px;background:var(--paper);border:1px solid var(--line);display:flex;flex-direction:column;text-decoration:none;box-shadow:0 10px 34px rgba(30,36,33,.05);transition:.18s ease}.content-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.content-card.wide{grid-column:span 8}.card-type{display:inline-flex;align-self:flex-start;border-radius:999px;padding:5px 9px;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:900;background:#edf3ef;color:#35664f}.content-card.recipe .card-type{background:#fbeddc;color:#8b5724}.content-card.senf .card-type{background:#eee8f4;color:#615476}.content-card.entry .card-type{background:#e5edf5;color:#486a8b}.content-card h3{font-size:clamp(1.45rem,2.2vw,2.35rem);line-height:1.06;letter-spacing:-.04em;margin:22px 0 10px}.content-card p{color:var(--muted);margin:0}.content-card .card-bottom{margin-top:auto;padding-top:22px;font-weight:800;color:#426753}.projects-strip{background:var(--dark);color:white}.projects-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.project-card{padding:21px;border-radius:21px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.11);text-decoration:none}.project-card h3{margin:8px 0 10px;font-size:1.3rem}.project-card .status{font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;color:#afd5c2}.progress{height:9px;background:rgba(255,255,255,.1);border-radius:999px;overflow:hidden;margin:15px 0 8px}.progress span{display:block;height:100%;background:linear-gradient(90deg,var(--green2),var(--amber));border-radius:999px}.project-card small{color:#a9b8b1}.senf-band{padding:58px 0;background:#ece5f0}.senf-box{max-width:960px;margin:auto;text-align:center}.senf-box blockquote{font-size:clamp(1.7rem,4vw,3.9rem);line-height:1.08;letter-spacing:-.045em;margin:0}.senf-box small{display:block;margin-top:20px;color:#766b7b;font-weight:800}.recipe-feature{display:grid;grid-template-columns:.75fr 1.25fr;gap:24px;background:var(--paper);border-radius:28px;overflow:hidden;border:1px solid var(--line)}.recipe-visual{min-height:300px;background:radial-gradient(circle at 25% 25%,rgba(217,149,77,.33),transparent 13rem),linear-gradient(135deg,#f2d7b7,#d6e2d7);display:grid;place-items:center;font-size:5rem}.recipe-copy{padding:38px}.recipe-copy h3{font-size:clamp(2rem,3.5vw,3.6rem);line-height:1;letter-spacing:-.05em;margin:10px 0}.topic-cloud{display:flex;gap:10px;flex-wrap:wrap}.topic-cloud a{padding:11px 15px;border-radius:999px;background:var(--paper);border:1px solid var(--line);text-decoration:none;font-weight:800}.archive-hero{padding:66px 0 30px}.archive-hero h1{font-size:clamp(2.5rem,5vw,5rem);line-height:.98;letter-spacing:-.055em;margin:0}.filters{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:16px;display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.filters input,.filters select{min-height:42px;border:1px solid #c9cec9;border-radius:10px;padding:0 10px;background:white}.article-hero{padding:64px 0 48px;background:var(--dark);color:white}.article-hero h1{font-size:clamp(2.5rem,5vw,4.8rem);max-width:980px;line-height:.97;letter-spacing:-.055em;margin:0}.article-meta{color:#aebbb5;margin-top:18px}.article-wrap{width:min(calc(100% - 38px),1040px);margin:0 auto;padding:52px 0 85px;display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:40px;align-items:start}.article-content{background:var(--paper);border-radius:26px;padding:clamp(27px,5vw,55px);box-shadow:var(--shadow);font-family:Georgia,"Times New Roman",serif;font-size:1.14rem}.article-content h2,.article-content h3{font-family:Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.035em;line-height:1.1}.article-content h2{font-size:2rem;margin-top:1.8em}.article-content blockquote{background:#edf3ef;border-left:5px solid var(--green);padding:20px 23px;margin:2em 0;border-radius:0 16px 16px 0}.side{position:sticky;top:100px;display:grid;gap:12px}.side-card{padding:17px;border-radius:16px;background:var(--paper);border:1px solid var(--line)}.side-card strong{display:block;margin-bottom:5px}.side-card p,.side-card small{color:var(--muted);margin:0}.project-hero{padding:62px 0;background:linear-gradient(135deg,#17211d,#294437);color:white}.project-head{display:grid;grid-template-columns:1fr 300px;gap:40px;align-items:end}.project-head h1{font-size:clamp(3rem,6vw,5.7rem);line-height:.94;letter-spacing:-.06em;margin:0}.project-status-box{padding:22px;border-radius:20px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12)}.project-status-box .big{font-size:2.2rem;font-weight:950}.milestones{list-style:none;padding:0}.milestones li{padding:10px 0;border-bottom:1px solid var(--line)}.milestones .done{text-decoration:line-through;color:#7b857f}.telemetry{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.metric{padding:15px;border:1px solid var(--line);border-radius:15px;background:var(--paper)}.metric strong{display:block;font-size:1.6rem}.timeline{display:grid;gap:12px}.timeline a{display:block;padding:17px;border:1px solid var(--line);border-radius:16px;background:var(--paper);text-decoration:none}.recipe-sheet{width:min(calc(100% - 38px),1050px);margin:50px auto 80px;background:var(--paper);border-radius:28px;overflow:hidden;box-shadow:var(--shadow)}.recipe-head{padding:45px;background:linear-gradient(135deg,#f3dfc6,#e3ece4)}.recipe-head h1{font-size:clamp(2.6rem,5vw,5rem);line-height:.96;letter-spacing:-.055em;margin:0}.recipe-stats{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.recipe-stats span{padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.65);font-weight:800}.recipe-body{display:grid;grid-template-columns:320px 1fr;gap:35px;padding:40px}.ingredients{background:#f3eee5;padding:20px;border-radius:18px}.ingredients ul{padding-left:19px}.rating-box{padding:18px;border-radius:16px;background:#fff8eb;border:1px solid #ead8b6}.stars button{font-size:1.3rem;background:none;border:0;cursor:pointer}.senf-single{min-height:60vh;display:grid;place-items:center;padding:70px 20px;background:#ece5f0}.senf-card{max-width:900px;text-align:center}.senf-card h1{font-size:clamp(1.3rem,2vw,2rem);color:#7b6e80}.senf-card .senf-text{font-size:clamp(2rem,5vw,5rem);line-height:1.04;letter-spacing:-.05em}.site-footer{background:#111815;color:white;padding:55px 0}.footer-in{display:grid;grid-template-columns:1fr auto;gap:25px;align-items:end}.footer-in p{color:#a9b7b0;max-width:600px}.footer-right{text-align:right;color:#a9b7b0;font-size:.87rem}.footer-right strong{color:white}.empty{padding:25px;background:var(--paper);border:1px solid var(--line);border-radius:16px}@media(max-width:980px){.hero-grid,.project-head,.recipe-feature,.recipe-body,.article-wrap{grid-template-columns:1fr}.projects-grid{grid-template-columns:repeat(2,1fr)}.side{position:static;grid-template-columns:repeat(2,1fr)}.content-card,.content-card.wide{grid-column:span 6}}@media(max-width:760px){body.admin-bar .site-header{top:46px}.header-in{align-items:flex-start;flex-direction:column;padding:13px 0}.hero{padding-top:48px}.hero h1{font-size:clamp(2.7rem,12vw,4.5rem)}.content-card,.content-card.wide{grid-column:span 12}.projects-grid,.telemetry{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.warning{transform:none}.side{grid-template-columns:1fr}.footer-in{grid-template-columns:1fr}.footer-right{text-align:left}.recipe-body{padding:25px}.article-wrap{width:min(calc(100% - 24px),1040px)}}

/* === KAIS ALLERLEI PHASE C START === */
.lead-article-wrap {
    margin: 34px 0 8px;
}
.lead-article-card {
    display: block;
    padding: 24px;
    border-radius: 20px;
    background: linear-gradient(135deg,#1a2822,#294437);
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow);
}
.lead-article-card > span {
    display: block;
    margin-bottom: 8px;
    color: #afd5c2;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.lead-article-card strong {
    display: block;
    font-size: clamp(1.45rem,2.4vw,2.3rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}
.lead-article-card p {
    margin: 12px 0 16px;
    color: #c0ccc6;
}
.lead-article-card b {
    color: #d9f0e5;
}
.project-link-card {
    border-color: rgba(79,139,111,.28);
    background: #edf3ef;
}
.project-link-card a {
    color: #315f4b;
    font-weight: 850;
    text-decoration: none;
}
/* === KAIS ALLERLEI PHASE C END === */

/* === KAIS ALLERLEI PHASE D START === */

.header-in {
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:28px;
}

.nav {
    justify-self:center;
}

.ka-main-nav {
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    list-style:none;
    margin:0;
    padding:0;
}

.ka-main-nav a {
    display:inline-flex;
    padding:9px 12px;
    border-radius:999px;
    text-decoration:none;
    color:var(--ink);
    font-weight:800;
    font-size:.9rem;
}

.ka-main-nav a:hover {
    background:#e6e0d5;
}

.header-search {
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    border:1px solid var(--line);
    border-radius:999px;
    text-decoration:none;
    color:var(--ink);
    font-size:1.25rem;
}

.topic-hero {
    padding:74px 0 50px;
    background:#16251f;
    color:#fff;
}

.topic-hero .eyebrow a {
    color:#a7d7c0;
    text-decoration:none;
}

.topic-hero h1 {
    margin:0;
    font-size:clamp(2.8rem,6vw,5.8rem);
    line-height:.96;
    letter-spacing:-.055em;
}

.topic-hero .hero-lead {
    max-width:760px;
    color:#c0cec7;
}

.topic-local-nav {
    padding:34px 0 12px;
    background:var(--paper);
}

.local-nav-label {
    margin:0 0 14px;
    font-size:.75rem;
    font-weight:900;
    letter-spacing:.1em;
    text-transform:uppercase;
    color:var(--muted-dark);
}

.local-nav-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
}

.local-nav-grid a {
    min-height:100px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:18px;
    border:1px solid var(--line-dark);
    border-radius:18px;
    background:#fffaf3;
    color:var(--ink);
    text-decoration:none;
}

.local-nav-grid a:hover {
    transform:translateY(-2px);
    box-shadow:0 12px 30px rgba(20,32,28,.08);
}

.local-nav-grid a.special {
    background:#1b3329;
    color:#fff;
}

.local-nav-grid span {
    font-size:.82rem;
    color:var(--muted-dark);
}

.local-nav-grid .special span {
    color:#bcd2c7;
}

.topic-projects {
    background:var(--paper);
}

.topic-content {
    background:#f0ebe2;
}

.project-layout {
    width:min(calc(100% - 40px),1120px);
    margin:0 auto;
    padding:52px 0 90px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 270px;
    gap:42px;
    align-items:start;
}

.project-main {
    min-width:0;
}

.project-summary,
.project-story {
    padding:clamp(28px,5vw,54px);
    border-radius:26px;
    background:#fffdf8;
    color:var(--ink);
    box-shadow:0 22px 60px rgba(0,0,0,.08);
}

.project-summary {
    font-family:Georgia,"Times New Roman",serif;
    font-size:1.12rem;
}

.project-story {
    margin-top:22px;
}

.project-story h2 {
    margin:0 0 24px;
    font-size:clamp(2rem,3.6vw,3.6rem);
    line-height:1;
    letter-spacing:-.05em;
}

.project-story-content {
    font-family:Georgia,"Times New Roman",serif;
    font-size:1.12rem;
    line-height:1.7;
}

.project-story-content h2,
.project-story-content h3 {
    font-family:Inter,ui-sans-serif,system-ui,sans-serif;
    letter-spacing:-.035em;
}

.project-story-content h2 {
    margin-top:1.8em;
    font-size:1.9rem;
}

.project-journal {
    margin-top:54px;
}

.project-side {
    position:sticky;
    top:110px;
    display:grid;
    gap:14px;
}

.project-topic-links {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:20px;
}

.project-topic-links a {
    display:inline-flex;
    padding:7px 10px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.18);
    color:#d7e7df;
    text-decoration:none;
    font-size:.8rem;
    font-weight:800;
}

.project-card-topics {
    color:var(--muted-dark);
    font-size:.8rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;
}

@media (max-width:980px) {
    .header-in {
        grid-template-columns:auto auto;
    }
    .nav {
        grid-column:1/-1;
        grid-row:2;
        justify-self:start;
        overflow-x:auto;
        max-width:100%;
        padding-bottom:3px;
    }
    .header-search {
        justify-self:end;
    }
    .local-nav-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .project-layout {
        grid-template-columns:1fr;
    }
    .project-side {
        position:static;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:620px) {
    .local-nav-grid,
    .project-side {
        grid-template-columns:1fr;
    }
    .ka-main-nav {
        justify-content:flex-start;
        flex-wrap:nowrap;
        white-space:nowrap;
    }
}

/* === KAIS ALLERLEI PHASE D END === */

/* === KAIS ALLERLEI PHASE E START === */
.nav-project-marker{width:7px;height:7px;display:inline-block;margin-left:7px;border-radius:999px;background:#4f8b6f;box-shadow:0 0 0 3px rgba(79,139,111,.10);flex:0 0 auto}
.ka-main-nav a{align-items:center}
.local-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.project-badge{display:inline-flex;align-items:center;padding:4px 7px;border-radius:999px;background:#dcebe3;color:#315f4b;font-size:.70rem;line-height:1;text-transform:uppercase;letter-spacing:.04em}
.topic-projects+.topic-content{padding-top:20px}
@media(max-width:620px){.nav-project-marker{width:6px;height:6px}}
/* === KAIS ALLERLEI PHASE E END === */
/* === KAIS ALLERLEI V1.2.2 CATEGORY UX START === */
.topic-counts{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}.topic-counts span{display:inline-flex;align-items:baseline;gap:5px;padding:7px 10px;border:1px solid rgba(255,255,255,.16);border-radius:999px;color:#d4e1db;font-size:.78rem}.topic-counts strong{color:#fff;font-size:.95rem}.topic-intro-anchor{padding:20px 0 0;background:var(--paper)}.topic-intro-card{border:1px solid var(--line);border-radius:18px;background:#fffdf8;overflow:hidden}.topic-intro-card summary{list-style:none;cursor:pointer;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.topic-intro-card summary::-webkit-details-marker{display:none}.topic-intro-card summary span{display:flex;flex-direction:column;gap:3px}.topic-intro-card summary small{color:#4f8b6f;font-size:.67rem;letter-spacing:.11em;font-weight:900}.topic-intro-card summary strong{font-size:1.05rem}.topic-intro-card summary>b{font-size:1.45rem;transition:transform .2s}.topic-intro-card[open] summary>b{transform:rotate(45deg)}.topic-intro-body{border-top:1px solid var(--line);padding:18px 20px 20px;max-width:850px;color:var(--muted)}.content-count,.section-count{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:.72rem;font-weight:800}.content-count{background:#ece8df;color:#4e5853}.section-count{border:1px solid var(--line);color:var(--muted)}.project-card-stats{display:flex;justify-content:space-between;gap:12px;margin:16px 0 8px;color:var(--muted);font-size:.78rem;font-weight:800}.project-entry-count{margin-top:10px;color:#d1e1d9;font-size:.78rem;font-weight:750}@media(max-width:620px){.topic-counts{gap:6px}.topic-intro-card summary,.topic-intro-body{padding:16px}}
/* === KAIS ALLERLEI V1.2.2 CATEGORY UX END === */

/* === KAIS ALLERLEI V1.2.6 HOME START === */

.ka-home-v126-hero{padding:78px 0 72px;background:radial-gradient(circle at 83% 18%,rgba(217,149,77,.20),transparent 24rem),linear-gradient(180deg,#f4f0e8 0%,#eee8dd 100%)}
.ka-home-v126-hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.55fr);gap:48px;align-items:end}
.ka-home-v126-hero h1{margin:0;font-size:clamp(3.4rem,7vw,7.2rem);line-height:.88;letter-spacing:-.07em}
.ka-home-v126-hero h1 em{display:block;font-style:normal;color:var(--amber)}
.ka-home-v126-lead{max-width:760px;margin:26px 0 0;font-size:clamp(1.2rem,2vw,1.55rem);font-weight:720;line-height:1.35}
.ka-home-v126-sub{max-width:760px;color:var(--muted);font-size:1.04rem}
.ka-home-v126-note{padding:28px;border-radius:28px;background:var(--dark);color:white;box-shadow:var(--shadow)}
.ka-home-v126-note strong{font-size:1.25rem}.ka-home-v126-note p{color:#bcc9c3}.ka-home-v126-note small{color:#9bc5b0;font-weight:800}
.ka-home-search-button{cursor:pointer;background:transparent;font:inherit}

.ka-home-v126-topics{background:#fffdf8}
.ka-home-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ka-home-topic-card{display:flex;min-height:250px;flex-direction:column;padding:24px;border:1px solid var(--line);border-radius:24px;background:#f6f1e8;color:var(--ink);text-decoration:none;transition:.18s ease}
.ka-home-topic-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.ka-home-topic-card h3{margin:4px 0 10px;font-size:clamp(1.8rem,3vw,3rem);line-height:1;letter-spacing:-.045em}
.ka-home-topic-card p{margin:0;color:var(--muted)}
.ka-home-topic-card>b{margin-top:auto;padding-top:20px;color:#426753}
.ka-home-topic-stats{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}
.ka-home-topic-stats span{padding:5px 8px;border-radius:999px;background:#fffdf8;border:1px solid var(--line);color:#5e6963;font-size:.72rem}

.ka-home-current-projects{background:var(--dark);color:white}
.ka-home-current-projects .section-head p{color:#aebbb5}
.ka-home-project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ka-home-project-card{display:flex;flex-direction:column;min-height:280px;padding:22px;border-radius:22px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055);color:white;text-decoration:none}
.ka-home-project-card h3{margin:10px 0;font-size:1.45rem;line-height:1.05}.ka-home-project-card p{color:#b6c3bd}
.ka-home-status{align-self:flex-start;padding:5px 8px;border-radius:999px;background:rgba(134,186,160,.14);color:#b5dec9;font-size:.7rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.ka-home-project-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;color:#aebbb5;font-size:.74rem}
.ka-home-more{margin:24px 0 0;text-align:right}.ka-home-more a{color:#c6ded2;font-weight:850}

.ka-home-recent{background:#f2eee6}

.ka-home-archive-feature{background:#e9e1d4}
.ka-home-archive-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:30px;align-items:end;padding:30px;border-radius:26px;background:#fffaf3;border:1px solid #d6cbb9;color:var(--ink);text-decoration:none}
.ka-home-archive-card h3{margin:10px 0 8px;font-size:clamp(2rem,4vw,4.2rem);line-height:.98;letter-spacing:-.05em}
.ka-home-archive-card p{max-width:760px;color:var(--muted)}
.ka-home-archive-badge{display:inline-flex;padding:6px 9px;border-radius:999px;background:#eee3d1;color:#765d37;font-size:.72rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.ka-home-archive-meta{display:flex;flex-direction:column;align-items:flex-end;gap:6px;color:#6e746f;font-size:.8rem}
.ka-home-archive-meta b{margin-top:8px;color:#426753}

@media(max-width:980px){
    .ka-home-v126-hero-grid{grid-template-columns:1fr}
    .ka-home-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .ka-home-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
    .ka-home-v126-hero{padding:48px 0}
    .ka-home-v126-hero h1{font-size:clamp(3rem,16vw,5rem)}
    .ka-home-topic-grid,.ka-home-project-grid{grid-template-columns:1fr}
    .ka-home-archive-card{grid-template-columns:1fr}
    .ka-home-archive-meta{align-items:flex-start}
}

/* === KAIS ALLERLEI V1.2.6 HOME END === */

/* === KAIS ALLERLEI V1.3.1 TUTORIAL CSS START === */
.ka-tutorial-facts{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.ka-tutorial-facts span,.ka-tutorial-card-meta span{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:7px 11px;font-size:.78rem;font-weight:750}
.ka-tutorial-preflight{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 34px}
.ka-tutorial-preflight section{padding:20px 22px;border:1px solid #d8d8d0;border-radius:20px;background:#f8f5ed}
.ka-tutorial-preflight small{color:#4b8b6c;font-weight:900;letter-spacing:.1em}
.ka-tutorial-preflight h2{margin:.35rem 0 .8rem;font-size:1.15rem}
.ka-tutorial-preflight ul{margin:0;padding-left:1.15rem}
.ka-tutorial-card-meta{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0 0}
.ka-tutorial-card-meta span{border-color:#d8d8d0;padding:5px 9px;font-size:.7rem}
@media(max-width:760px){.ka-tutorial-preflight{grid-template-columns:1fr}}
/* === KAIS ALLERLEI V1.3.1 TUTORIAL CSS END === */


/* === KAIS ALLERLEI NAV SECTIONS 1.0.2 === */
.ka-main-nav .ka-nav-section > a{
    background:rgba(79,139,111,.09);
    border:1px solid rgba(79,139,111,.18);
}
.ka-main-nav .ka-nav-browser > a{
    background:var(--dark);
    color:#fff;
    border-color:var(--dark);
}
.ka-main-nav .ka-nav-browser > a:hover{
    background:#2c3a34;
    color:#fff;
}


/* === REZEPTE V2 · Theme 1.0.4 === */
.recipe-v2{max-width:1280px}.recipe-head__top{display:flex;align-items:flex-start;justify-content:space-between;gap:28px}.recipe-lead{max-width:820px;font-size:1.06rem;color:#4d5a53}.recipe-print{border:1px solid rgba(30,36,33,.18);background:rgba(255,255,255,.7);border-radius:999px;padding:9px 14px;font-weight:800;cursor:pointer}.recipe-meta-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}.recipe-meta-chips span,.recipe-health-tags span{display:inline-flex;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.66);font-size:.74rem;font-weight:800}.recipe-status-chip{background:#e1efe7!important;color:#2f624d}.recipe-body-v2{grid-template-columns:340px minmax(0,1fr)}.recipe-side{display:grid;gap:14px;align-content:start}.ingredients h3{font-size:1rem;margin:20px 0 7px}.ingredients h3:first-of-type{margin-top:10px}.ingredients li{margin:6px 0}.ingredients li small{display:block;color:var(--muted);margin-top:1px}.recipe-context-card,.recipe-health-card,.recipe-personal-note{padding:20px;border:1px solid var(--line);border-radius:18px;background:#fff}.recipe-context-card h3,.recipe-health-card h3{margin:0 0 10px}.recipe-context-card p,.recipe-health-card p{margin:7px 0}.recipe-health-card{background:#edf4ef}.recipe-health-tags{display:flex;gap:6px;flex-wrap:wrap}.recipe-main{min-width:0;display:grid;gap:20px}.recipe-steps{background:var(--paper);border-radius:22px;padding:30px;border:1px solid var(--line)}.recipe-steps h2,.recipe-personal-note h2{margin-top:0}.recipe-steps ol{list-style:none;counter-reset:ka-step;margin:0;padding:0;display:grid;gap:14px}.recipe-steps li{counter-increment:ka-step;position:relative;padding:18px 18px 18px 58px;border-radius:16px;background:#f7f4ee;border:1px solid #e2ded5}.recipe-steps li:before{content:counter(ka-step);position:absolute;left:17px;top:16px;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:var(--dark);color:#fff;font-weight:900;font-size:.78rem}.recipe-step-text{font-family:Georgia,"Times New Roman",serif;font-size:1.08rem}.recipe-step-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.recipe-step-meta span{padding:4px 8px;border-radius:999px;background:#fff;font-size:.75rem;font-weight:800;color:#526159}.recipe-step-note{margin:10px 0 0;padding:10px 12px;background:#fff7e8;border-radius:10px;color:#695c44}.recipe-personal-note{background:#f5ecf6}.recipe-personal-note p{font-family:Georgia,"Times New Roman",serif;font-size:1.08rem}.recipe-extra-content,.recipe-legacy-preparation{box-shadow:none;border:1px solid var(--line)}.recipe-card-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}.recipe-card-meta span{font-size:.7rem;font-weight:800;padding:4px 8px;border-radius:999px;background:#f3eee5;color:#725b3f}.recipe-filters{align-items:center}.recipe-filters input,.recipe-filters select{max-width:220px}.recipe-archive-section{padding-top:25px}
@media(max-width:980px){.recipe-body-v2{grid-template-columns:1fr}.recipe-head__top{flex-direction:column}.recipe-print{align-self:flex-start}}
@media print{.site-header,.site-footer,.recipe-print,.rating-box,#comments,.comment-respond{display:none!important}body{background:#fff}.recipe-sheet{box-shadow:none;margin:0;width:100%;max-width:none}.recipe-head{padding:20px;background:#fff}.recipe-body-v2{display:block;padding:20px}.recipe-side{display:block}.recipe-context-card,.recipe-health-card{margin-top:12px}.recipe-main{margin-top:20px}.recipe-steps li{break-inside:avoid}.recipe-extra-content{box-shadow:none}}


/* Phase 14d · Rezeptzentrale / Rezept-Hub */
.recipe-meta-chips a,.recipe-health-tags a,.recipe-stats a{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:rgba(255,255,255,.66);font-size:.74rem;font-weight:800;text-decoration:none;transition:.16s ease}.recipe-meta-chips a:hover,.recipe-health-tags a:hover,.recipe-stats a:hover{background:#fff;transform:translateY(-1px);box-shadow:0 4px 14px rgba(30,36,33,.08)}.recipe-stats a{padding:8px 11px;font-size:inherit}.recipe-health-tags a{background:#fff}.recipe-featured-image{margin:0;max-height:560px;overflow:hidden}.recipe-featured-image img{display:block;width:100%;height:100%;max-height:560px;object-fit:cover}.recipe-related{padding:0 40px 46px}.recipe-related__head{margin:8px 0 18px}.recipe-related__head h2{font-size:clamp(1.8rem,3vw,2.8rem);margin:0;letter-spacing:-.04em}.recipe-related-grid .content-card{grid-column:span 3;min-height:220px}.recipe-related-grid .content-card h3{font-size:1.45rem}.recipe-archive-hero{padding-bottom:42px}.recipe-hub-stats{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.recipe-hub-stats span,.recipe-hub-stats a{padding:9px 12px;border-radius:999px;border:1px solid rgba(30,36,33,.13);background:rgba(255,255,255,.55);text-decoration:none}.recipe-hub-stats strong{margin-right:4px}.recipe-hub-categories{padding-top:18px;padding-bottom:30px}.recipe-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.recipe-section-heading h2{font-size:clamp(1.8rem,3vw,2.8rem);margin:0;letter-spacing:-.04em}.recipe-section-heading a{text-decoration:none;font-weight:800}.recipe-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.recipe-category-tile{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 18px;border-radius:16px;background:var(--paper);border:1px solid var(--line);text-decoration:none;transition:.16s ease}.recipe-category-tile:hover,.recipe-category-tile.is-active{border-color:#789d8c;transform:translateY(-2px);box-shadow:0 10px 24px rgba(30,36,33,.07)}.recipe-category-tile span{color:var(--muted);font-size:.82rem}.recipe-reset{text-decoration:none;font-weight:800}.recipe-result-summary{margin:12px 0 18px;color:var(--muted)}.recipe-grid .content-card{overflow:hidden}.recipe-card-image{margin:-23px -23px 18px;height:170px;overflow:hidden}.recipe-card-image img{display:block;width:100%;height:100%;object-fit:cover}.recipe-empty-state{grid-column:1/-1;text-align:center;padding:45px}.recipe-empty-state p{color:var(--muted)}
@media(max-width:980px){.recipe-related-grid .content-card{grid-column:span 6}.recipe-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-related{padding:0 25px 35px}}
@media(max-width:620px){.recipe-category-grid{grid-template-columns:1fr}.recipe-related-grid .content-card{grid-column:span 12}.recipe-section-heading{align-items:flex-start;flex-direction:column}}
@media print{.recipe-related{display:none!important}}

.recipe-owner-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 20px;background:#172a23;color:#fff;border-top:1px solid rgba(255,255,255,.12)}
.recipe-owner-tools strong{font-size:.82rem;text-transform:uppercase;letter-spacing:.06em}
.recipe-owner-tools>div{display:flex;flex-wrap:wrap;gap:8px}
.recipe-owner-tools a{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:999px;background:#fff;color:#17352b;text-decoration:none;font-weight:800;font-size:.86rem}
.recipe-owner-tools a:hover{background:#dcece3}
.recipe-media-section{margin:0 40px 40px}
@media(max-width:720px){.recipe-owner-tools{align-items:flex-start;flex-direction:column}.recipe-media-section{margin:0 20px 30px}}
@media print{.recipe-owner-tools{display:none!important}}


/* =========================================================
   Phase 15a · Rezeptküche UX
   ========================================================= */
.recipe-kitchen-home{background:#f6f0e7}
.recipe-kitchen-hero{padding:58px 0 46px;background:linear-gradient(135deg,#17352b 0%,#214a3b 56%,#6d4b2f 120%);color:#fff}
.recipe-kitchen-hero__grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:42px;align-items:end}
.recipe-kitchen-hero h1{margin:0;font-size:clamp(2.65rem,4.7vw,4.65rem);line-height:.99;letter-spacing:-.045em;max-width:760px;overflow-wrap:break-word;hyphens:auto}
.recipe-kitchen-lead{max-width:760px;font-size:1.15rem;color:#d7e5de;margin:22px 0 0}
.recipe-kitchen-search{display:flex;gap:8px;margin-top:28px;max-width:760px;padding:7px;border-radius:18px;background:#fff;box-shadow:0 16px 40px rgba(0,0,0,.18)}
.recipe-kitchen-search label{flex:1}
.recipe-kitchen-search input{width:100%;height:50px;border:0;background:transparent;padding:0 14px;font-size:1rem;outline:none}
.recipe-kitchen-search button{border:0;border-radius:13px;background:#d9954d;color:#1e2421;padding:0 22px;font-weight:900;cursor:pointer}
.recipe-kitchen-quick{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.recipe-kitchen-quick a{padding:9px 13px;border-radius:999px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.17);text-decoration:none;font-weight:800;font-size:.88rem}
.recipe-kitchen-quick a:hover{background:rgba(255,255,255,.17)}
.recipe-kitchen-summary{padding:28px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);border-radius:24px;backdrop-filter:blur(10px)}
.recipe-kitchen-summary>strong{display:block;font-size:4.4rem;line-height:.9;letter-spacing:-.06em}
.recipe-kitchen-summary>span{display:block;margin-top:9px;font-weight:800;color:#d8e7df}
.recipe-kitchen-summary>div{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}
.recipe-kitchen-summary>div span{padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.1);font-size:.83rem}
.recipe-kitchen-summary>a{color:#fff;font-weight:850}
.recipe-kitchen-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}
.recipe-kitchen-section-head h2{margin:0;font-size:clamp(1.8rem,3vw,2.9rem);line-height:1.04;letter-spacing:-.035em}
.recipe-kitchen-section-head>a{font-weight:850}
.recipe-kitchen-categories{background:#fffaf3}
.recipe-kitchen-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.recipe-kitchen-category-grid>a{display:grid;grid-template-columns:48px 1fr;grid-template-rows:auto auto;column-gap:12px;padding:15px;border:1px solid #dfd6ca;background:#fff;border-radius:17px;text-decoration:none;transition:.18s ease;box-shadow:0 8px 24px rgba(51,39,26,.04)}
.recipe-kitchen-category-grid>a:hover{transform:translateY(-3px);border-color:#b9895e;box-shadow:0 16px 34px rgba(51,39,26,.1)}
.recipe-kitchen-category-icon{grid-row:1/3;width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#f6e9d7;font-size:1.6rem}
.recipe-kitchen-category-grid strong{align-self:end;line-height:1.05}
.recipe-kitchen-category-grid small{color:#777}
.recipe-kitchen-latest{background:#efe7da}
.recipe-kitchen-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.recipe-kitchen-card{display:flex;flex-direction:column;min-width:0;background:#fffdf8;border:1px solid #ded5ca;border-radius:22px;overflow:hidden;text-decoration:none;box-shadow:0 10px 28px rgba(54,42,29,.06);transition:.18s ease}
.recipe-kitchen-card:hover{transform:translateY(-4px);box-shadow:0 20px 46px rgba(54,42,29,.13)}
.recipe-kitchen-card__visual{aspect-ratio:16/10;background:linear-gradient(145deg,#ead9c2,#dbe7dd);overflow:hidden}
.recipe-kitchen-card__visual img,.recipe-card-photo{width:100%;height:100%;object-fit:cover;display:block}
.recipe-card-fallback{width:100%;height:100%;display:grid;place-items:center;background:radial-gradient(circle at 28% 28%,rgba(255,255,255,.8),transparent 25%),linear-gradient(145deg,#efd4b4,#cadccf)}
.recipe-card-fallback span{font-size:4.7rem;filter:drop-shadow(0 8px 12px rgba(0,0,0,.1))}
.recipe-kitchen-card__body{padding:18px;display:flex;flex-direction:column;gap:10px;flex:1}
.recipe-kitchen-card__eyebrow{display:flex;gap:6px;flex-wrap:wrap}
.recipe-kitchen-card__eyebrow span{padding:4px 7px;border-radius:999px;background:#f3ede4;color:#765b42;font-size:.7rem;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
.recipe-kitchen-card h3{margin:0;font-size:1.35rem;line-height:1.08;letter-spacing:-.035em}
.recipe-kitchen-card p{margin:0;color:#687069}
.recipe-kitchen-card__facts{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;padding-top:5px}
.recipe-kitchen-card__facts span{padding:5px 8px;border-radius:999px;background:#edf3ef;color:#375f4e;font-size:.78rem;font-weight:800}
.recipe-kitchen-find{background:#f6f0e7}
.recipe-kitchen-filter-panel{border:1px solid #d8cfc2;border-radius:18px;background:#fffdf8;overflow:hidden;margin-bottom:22px}
.recipe-kitchen-filter-panel summary{cursor:pointer;display:flex;justify-content:space-between;gap:18px;padding:16px 18px;font-weight:900;list-style:none}
.recipe-kitchen-filter-panel summary::-webkit-details-marker{display:none}
.recipe-kitchen-filter-panel summary span{color:#6c766f;font-weight:700}
.recipe-kitchen-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:0 16px 16px}
.recipe-kitchen-filters input,.recipe-kitchen-filters select,.recipe-kitchen-filters button{min-height:44px;border:1px solid #c9cec9;border-radius:11px;background:#fff;padding:0 10px}
.recipe-kitchen-filters button{background:#17352b;color:#fff;border:0;font-weight:900;cursor:pointer}
.recipe-kitchen-results-head{display:flex;justify-content:space-between;align-items:center;margin:16px 0}
.recipe-kitchen-results-head>a{font-weight:850}
.recipe-kitchen-empty{grid-column:1/-1;padding:55px;text-align:center;background:#fffdf8;border:1px solid #ded5ca;border-radius:22px}
.recipe-kitchen-empty>span{font-size:3.4rem}
.recipe-kitchen-empty h3{font-size:1.7rem;margin:8px 0 4px}

/* Einzelrezept */
.recipe-kitchen-single{background:#f6f0e7}
.recipe-single-hero{padding:44px 0;background:linear-gradient(135deg,#f5dfc4,#e5ede5)}
.recipe-single-hero__grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:38px;align-items:center}
.recipe-single-hero h1{font-size:clamp(2.35rem,4.1vw,4.15rem);line-height:1;letter-spacing:-.045em;margin:0;overflow-wrap:break-word;hyphens:auto}
.recipe-single-lead{font-size:1.15rem;max-width:720px;color:#53605a;margin:20px 0}
.recipe-single-actions{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0}
.recipe-single-actions button{font:inherit;cursor:pointer}
.recipe-single-chips{display:flex;gap:7px;flex-wrap:wrap}
.recipe-single-chips a{padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.7);border:1px solid rgba(74,80,76,.12);font-size:.78rem;font-weight:850;text-decoration:none}
.recipe-single-hero__visual{aspect-ratio:4/3;border-radius:26px;overflow:hidden;box-shadow:0 25px 55px rgba(42,42,35,.16);background:#d9e5db}
.recipe-single-photo{width:100%;height:100%;object-fit:cover}
.recipe-single-placeholder{width:100%;height:100%;display:grid;place-items:center;background:radial-gradient(circle at 28% 24%,rgba(255,255,255,.95),transparent 20%),linear-gradient(145deg,#eccba6,#c6dbcd)}
.recipe-single-placeholder span{font-size:8rem;filter:drop-shadow(0 12px 18px rgba(0,0,0,.12))}
.recipe-owner-toolbar{position:sticky;top:76px;z-index:70;background:#17211d;color:#fff;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}
body.admin-bar .recipe-owner-toolbar{top:108px}
.recipe-owner-toolbar .shell{min-height:48px;display:flex;justify-content:space-between;align-items:center;gap:18px}
.recipe-owner-toolbar strong{font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;color:#b7c9c0}
.recipe-owner-toolbar div{display:flex;gap:8px;flex-wrap:wrap}
.recipe-owner-toolbar a{color:#fff;text-decoration:none;font-weight:800;font-size:.86rem;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.08)}
.recipe-single-facts{background:#fffdf8;border-bottom:1px solid #ddd4c8}
.recipe-single-facts .shell{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}
.recipe-single-facts .shell>div{padding:18px;border-right:1px solid #e3ddd4}
.recipe-single-facts .shell>div:last-child{border-right:0}
.recipe-single-facts span{display:block;color:#748078;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;font-weight:800}
.recipe-single-facts strong{display:block;margin-top:3px;font-size:1.05rem}
.recipe-single-facts a{text-decoration:none}
.recipe-cook-sheet{padding:54px 0}
.recipe-cook-grid{display:grid;grid-template-columns:minmax(300px,.78fr) minmax(0,1.22fr);gap:30px;align-items:start}
.recipe-ingredients-panel,.recipe-steps-panel{background:#fffdf8;border:1px solid #ddd3c6;border-radius:24px;padding:25px;box-shadow:0 12px 34px rgba(61,48,31,.06)}
.recipe-ingredients-panel{position:sticky;top:142px}
body.admin-bar .recipe-ingredients-panel{top:174px}
.recipe-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}
.recipe-panel-head h2{font-size:clamp(1.55rem,2.4vw,1.9rem);line-height:1.08;margin:0;letter-spacing:-.03em}
.recipe-serving-control{display:flex;align-items:center;gap:8px;background:#f4eee5;padding:5px;border-radius:999px}
.recipe-serving-control button{width:30px;height:30px;border:0;border-radius:50%;background:#17352b;color:#fff;font-size:1.2rem;cursor:pointer}
.recipe-serving-control strong{font-size:.8rem}
.recipe-check-hint{color:#758079;font-size:.86rem;margin-top:-8px}
.recipe-ingredient-group{margin-top:22px}
.recipe-ingredient-group h3{font-size:1rem;margin:0 0 8px;color:#775738}
.recipe-ingredient-group ul{list-style:none;margin:0;padding:0}
.recipe-ingredient-group li{border-bottom:1px solid #eee6dc}
.recipe-ingredient-group li label{display:flex;gap:10px;align-items:flex-start;padding:10px 0;cursor:pointer}
.recipe-ingredient-group input{margin-top:5px;accent-color:#3d7b61}
.recipe-ingredient-text{line-height:1.45}
.recipe-ingredient-text strong{font-variant-numeric:tabular-nums}
.recipe-ingredient-text small{display:block;color:#7a817d}
.recipe-ingredient-group li.is-checked .recipe-ingredient-text{text-decoration:line-through;color:#9aa09c;opacity:.7}
.recipe-my-context{margin-top:28px;padding:16px;background:#edf3ef;border-radius:16px}
.recipe-my-context h3{margin:0 0 8px}
.recipe-my-context p{margin:5px 0}
.recipe-cook-mode-small{border:1px solid #bfc8c2;background:#f4f8f5;border-radius:999px;padding:8px 11px;font-weight:850;cursor:pointer}
.recipe-cook-steps{list-style:none;padding:0;margin:0;display:grid;gap:15px;counter-reset:none}
.recipe-cook-step{display:grid;grid-template-columns:48px 1fr;gap:14px;padding:18px;border:1px solid #e0d8cd;border-radius:18px;background:#fff}
.recipe-cook-step__number{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#17352b;color:#fff;font-weight:950;font-size:1.05rem}
.recipe-cook-step__text{font-family:Georgia,"Times New Roman",serif;font-size:1.12rem;line-height:1.7}
.recipe-step-note{padding:11px 13px;border-radius:12px;background:#fff5df;color:#70583c;margin:12px 0 0}
.recipe-step-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:12px}
.recipe-step-tools span,.recipe-timer-button{border:0;border-radius:999px;background:#edf3ef;color:#305744;padding:7px 10px;font-weight:850;font-size:.82rem}
.recipe-timer-button{cursor:pointer}
.recipe-step-image{margin:0 0 15px;border-radius:15px;overflow:hidden}
.recipe-step-image img{display:block;width:100%;height:auto}
.recipe-story-section{background:#efe7da}
.recipe-story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.recipe-story-grid article{background:#fffdf8;border:1px solid #ddd3c6;border-radius:22px;padding:27px}
.recipe-story-grid h2{font-size:clamp(1.55rem,2.4vw,1.9rem);margin:0 0 12px;letter-spacing:-.03em;line-height:1.08}
.recipe-free-text{font-family:Georgia,"Times New Roman",serif}
.recipe-health-public .shell{padding:24px;border-radius:20px;background:#e9f2eb;border:1px solid #ccddd0}
.recipe-media-gallery{background:#fffaf3}
.recipe-media-gallery h2{font-size:clamp(1.75rem,2.8vw,2.25rem);margin:0 0 20px;line-height:1.08}
.recipe-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.recipe-media-grid figure{margin:0;border-radius:18px;overflow:hidden;background:#fff}
.recipe-media-grid img{display:block;width:100%;height:270px;object-fit:cover}
.recipe-media-grid figcaption{padding:10px}
.recipe-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}
.recipe-video-grid video{width:100%;margin-top:8px}
.recipe-related-kitchen{background:#eee7db}
.recipe-rating-section .shell{padding:22px;border-radius:18px;background:#fffdf8}
.recipe-floating-timer{position:fixed;right:22px;bottom:22px;z-index:200;min-width:210px;padding:16px 18px;border-radius:18px;background:#17211d;color:#fff;box-shadow:0 20px 50px rgba(0,0,0,.25)}
.recipe-floating-timer strong,.recipe-floating-timer span{display:block}
.recipe-floating-timer span{font-size:2rem;font-variant-numeric:tabular-nums;font-weight:950}
.recipe-floating-timer button{margin-top:8px;border:0;border-radius:999px;padding:7px 11px;cursor:pointer}
.ka-cook-mode .site-header,.ka-cook-mode .recipe-owner-toolbar,.ka-cook-mode .site-footer,.ka-cook-mode .recipe-single-hero,.ka-cook-mode .recipe-single-facts,.ka-cook-mode .recipe-story-section,.ka-cook-mode .recipe-media-gallery,.ka-cook-mode .recipe-related-kitchen,.ka-cook-mode .recipe-rating-section{display:none!important}
.ka-cook-mode .recipe-cook-sheet{padding:16px 0;background:#fff}
.ka-cook-mode .recipe-cook-grid{width:min(calc(100% - 24px),1280px);grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr)}
.ka-cook-mode .recipe-ingredients-panel,.ka-cook-mode .recipe-steps-panel{box-shadow:none;border-color:#d6d6d6}
.ka-cook-mode .recipe-cook-step__text{font-size:1.28rem}
.ka-cook-mode .recipe-cook-step{padding:22px}

/* Ernährungsthema verweist auf die eigentliche Rezeptküche */
.topic-recipe-gateway{margin:24px 0 0;padding:22px;border-radius:20px;background:linear-gradient(135deg,#f0ddc5,#dfeae1);display:flex;align-items:center;justify-content:space-between;gap:18px}
.topic-recipe-gateway h2{margin:0;font-size:1.8rem}
.topic-recipe-gateway p{margin:5px 0 0;color:#526059}
.topic-recipe-gateway a{white-space:nowrap}

@media(max-width:1100px){
  .recipe-kitchen-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .recipe-kitchen-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
  .recipe-single-facts .shell{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .recipe-kitchen-hero__grid,.recipe-single-hero__grid,.recipe-cook-grid,.recipe-story-grid{grid-template-columns:1fr}
  .recipe-kitchen-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .recipe-ingredients-panel{position:static}
  .recipe-owner-toolbar{position:static}
}
@media(max-width:650px){
  .recipe-kitchen-hero{padding-top:38px}
  .recipe-kitchen-search{display:grid}
  .recipe-kitchen-search button{height:46px}
  .recipe-kitchen-category-grid,.recipe-kitchen-card-grid,.recipe-kitchen-filters,.recipe-media-grid,.recipe-video-grid{grid-template-columns:1fr}
  .recipe-single-facts .shell{grid-template-columns:repeat(2,minmax(0,1fr))}
  .recipe-single-hero__visual{aspect-ratio:16/11}
  .recipe-panel-head{flex-direction:column}
  .recipe-owner-toolbar .shell,.topic-recipe-gateway{align-items:flex-start;flex-direction:column}
  .recipe-cook-step{grid-template-columns:40px 1fr;padding:14px}
}
@media print{
  .site-header,.site-footer,.recipe-owner-toolbar,.recipe-single-actions,.recipe-single-chips,.recipe-story-section,.recipe-media-gallery,.recipe-related-kitchen,.recipe-rating-section,.recipe-floating-timer{display:none!important}
  .recipe-single-hero{padding:10px 0;background:#fff}
  .recipe-single-hero__grid{grid-template-columns:1fr}
  .recipe-single-hero__visual{display:none}
  .recipe-single-facts .shell{grid-template-columns:repeat(4,1fr)}
  .recipe-cook-sheet{padding:10px 0}
  .recipe-cook-grid{grid-template-columns:38% 62%;gap:12px}
  .recipe-ingredients-panel,.recipe-steps-panel,.recipe-cook-step{box-shadow:none;background:#fff;border:1px solid #ccc}
  .recipe-ingredients-panel{position:static}
}

/* Phase 15b · persönliche Küche + Nährwerte */
.recipe-personal-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 4px}.recipe-personal-actions button{border:1px solid rgba(255,255,255,.55);background:rgba(255,255,255,.58);padding:8px 11px;border-radius:999px;font-weight:850;cursor:pointer;color:#17352b}.recipe-personal-actions button.is-active{background:#17352b;color:#fff;border-color:#17352b}.recipe-personal-actions button:disabled{opacity:.55;cursor:wait}.recipe-card-personal-flags{display:flex;gap:6px;flex-wrap:wrap;margin:-2px 0 8px}.recipe-card-personal-flags span{font-size:.72rem;font-weight:850;padding:5px 7px;border-radius:999px;background:#17352b;color:#fff}.recipe-nutrition-section{background:#f6f1e8}.recipe-nutrition-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:18px}.recipe-nutrition-card,.recipe-health-profile{background:#fffdf8;border:1px solid #ddd3c6;border-radius:22px;padding:26px}.recipe-nutrition-card h2,.recipe-health-profile h2{font-size:2rem;margin:0 0 14px;letter-spacing:-.04em}.recipe-nutrition-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.recipe-nutrition-values div{padding:13px;border-radius:14px;background:#f4eee5}.recipe-nutrition-values strong,.recipe-nutrition-values span{display:block}.recipe-nutrition-values strong{font-size:1.3rem}.recipe-nutrition-values span{font-size:.78rem;color:#6e7872}.recipe-nutrition-source{font-size:.78rem;color:#727a76;margin:14px 0 0;line-height:1.55}.recipe-health-profile small{display:block;margin-top:12px;color:#707872}.recipe-health-profile--daily{background:#edf5ef;border-color:#c8dccd}.recipe-health-profile--balanced{background:#fff8e7;border-color:#ead9a8}.recipe-health-profile--occasional{background:#fff0e9;border-color:#e8c6b5}@media(max-width:850px){.recipe-nutrition-grid{grid-template-columns:1fr}.recipe-nutrition-values{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.recipe-nutrition-values{grid-template-columns:1fr 1fr}}

/* =========================================================
   Phase 15c · Rezepttypografie lesbarer
   Große Titel bleiben markant, dominieren aber nicht mehr den
   nutzbaren Bildschirm. Lange deutsche Rezeptnamen dürfen umbrechen.
   ========================================================= */
@media (max-width:760px){
  .recipe-kitchen-hero h1{font-size:clamp(2.3rem,10vw,3.35rem);line-height:1}
  .recipe-single-hero h1{font-size:clamp(2.15rem,9vw,3.15rem);line-height:1.02}
  .recipe-kitchen-section-head h2{font-size:clamp(1.7rem,7vw,2.35rem)}
}

/* Phase 15e · Nährwertsuche, Tabellen und BLS-Quellenhinweis */
.recipe-data-source{background:#10221c;color:#dce7e1;padding:20px 0;font-size:.78rem;line-height:1.55}.recipe-data-source p{margin:0}.recipe-data-source a{color:#fff;text-decoration:underline;text-underline-offset:2px}
.recipe-nutrition-more{margin-top:16px;border-top:1px solid #e4ddd2;padding-top:12px}.recipe-nutrition-more summary{cursor:pointer;font-weight:850}.recipe-nutrition-table-wrap{overflow:auto;margin-top:12px}.recipe-nutrition-table{width:100%;border-collapse:collapse;font-size:.9rem}.recipe-nutrition-table th,.recipe-nutrition-table td{padding:8px 10px;border-bottom:1px solid #ece5dc;text-align:right;white-space:nowrap}.recipe-nutrition-table th:first-child{text-align:left}
.recipe-nutrition-card--progress{border-style:dashed;background:#fffaf0}.recipe-nutrition-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.recipe-nutrition-progress div{background:#f4eee5;border-radius:12px;padding:12px}.recipe-nutrition-progress span,.recipe-nutrition-progress strong{display:block}.recipe-nutrition-progress span{font-size:.75rem;color:#68716c}.recipe-nutrition-progress strong{font-size:1.2rem;margin-top:3px}
.recipe-nutrition-lookup{background:#f7f2e9}.recipe-nutrition-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:20px 0 8px}.recipe-nutrition-search input{min-height:54px;border:1px solid #d8d0c4;border-radius:14px;padding:0 16px;font-size:1rem;background:#fff}.recipe-nutrition-search button{border:0;border-radius:14px;padding:0 22px;background:#17352b;color:#fff;font-weight:850}.recipe-nutrition-search-note{max-width:900px;color:#67716b}.recipe-nutrition-result-count{font-weight:850;margin:18px 0 10px}.recipe-nutrition-food-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.recipe-nutrition-food{background:#fffdf8;border:1px solid #ddd3c6;border-radius:18px;padding:18px}.recipe-nutrition-food__head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.recipe-nutrition-food__head h3{margin:0 0 4px;font-size:1.15rem}.recipe-nutrition-food__head strong{font-size:1.35rem;white-space:nowrap}.recipe-nutrition-food__main{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}.recipe-nutrition-food__main span{background:#f4eee5;border-radius:10px;padding:9px;font-size:.78rem}.recipe-nutrition-food__main b{display:block;font-size:1rem}.recipe-nutrition-food details{margin-top:12px}.recipe-nutrition-food summary{font-weight:800;cursor:pointer}.recipe-nutrition-food dl{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.recipe-nutrition-food dl div{background:#f8f5ef;padding:8px;border-radius:9px}.recipe-nutrition-food dt{font-size:.72rem;color:#707872}.recipe-nutrition-food dd{margin:2px 0 0;font-weight:800}
@media(max-width:850px){.recipe-nutrition-food-grid{grid-template-columns:1fr}.recipe-nutrition-progress{grid-template-columns:1fr}.recipe-nutrition-food__main{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.recipe-nutrition-search{grid-template-columns:1fr}.recipe-nutrition-search button{min-height:48px}.recipe-nutrition-food dl{grid-template-columns:repeat(2,1fr)}}

/* Phase 15p: reduzierter vertikaler Abstand nur zwischen Rezept- und BLS-Nährwertblöcken. */
.section.recipe-nutrition-section{padding:24px 0 8px}
.recipe-nutrition-grid:has(> :only-child){grid-template-columns:minmax(0,1fr)}
.recipe-nutrition-grid:has(> :only-child) .recipe-nutrition-card--progress{max-width:none}
.recipe-nutrition-card--progress{padding:19px 22px}
.recipe-nutrition-card--progress p:last-child{margin-bottom:0}
@media(max-width:650px){.section.recipe-nutrition-section{padding:16px 0 4px}.recipe-nutrition-card--progress{padding:15px}}
