@import url("tokens.css");

/* ===== Basis (aus tokens/base.css uebernommen) ===== */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--surface-page);color:var(--text-body);font-family:var(--font-body);font-size:var(--type-body);line-height:var(--leading-body);font-weight:var(--weight-regular);-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--font-display);color:var(--text-heading);font-weight:var(--weight-medium);line-height:var(--leading-heading);letter-spacing:var(--tracking-heading);margin:0 0 var(--space-4)}
h1{font-size:var(--type-h1)}h2{font-size:var(--type-h2)}h3{font-size:var(--type-h3)}h4{font-size:var(--type-h4);font-family:var(--font-body);font-weight:var(--weight-semibold)}
p{margin:0 0 var(--space-4);max-width:var(--measure-text)}
a{color:var(--text-link);text-decoration-line:underline;text-decoration-thickness:1px;text-underline-offset:.18em;transition:color var(--dur-fast) var(--ease-soft)}
a:hover{color:var(--text-link-hover);text-decoration-thickness:2px}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px;border-radius:var(--radius-sm)}
img{max-width:100%;display:block}
::selection{background:var(--sage-100);color:var(--forest-900)}
.sprung{position:absolute;left:-9999px;top:8px;background:var(--forest-800);color:var(--cream-50);padding:8px 14px;border-radius:var(--radius-sm);font-size:var(--type-small);z-index:100;text-decoration:none}
.sprung:focus{left:12px}
.nur-vorleser{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

.lk-eyebrow{font-size:var(--type-eyebrow);letter-spacing:var(--tracking-eyebrow);text-transform:uppercase;font-weight:var(--weight-semibold);color:var(--text-accent);display:inline-block}
.lk-lead{font-size:var(--type-lead);line-height:var(--leading-lead);color:var(--text-muted);max-width:var(--measure-lead);margin:0}
.lk-container{width:100%;max-width:var(--content-max);margin-inline:auto;padding-inline:var(--gutter)}
.lk-container--narrow{max-width:var(--content-narrow)}
.lk-section{padding-block:var(--section-y)}
.lk-section--air{padding-block:var(--section-y-lg)}
.lk-section--alt{background:var(--surface-page-alt)}
.lk-section--deep{background:var(--surface-deep)}
.lk-veil{position:absolute;inset:0;pointer-events:none;background:var(--veil-deep)}
.lk-vignette{position:absolute;inset:0;pointer-events:none;background:var(--vignette)}
.lk-hairline{height:1px;border:0;background:var(--hairline-gold);opacity:.85;width:92px;margin:0}
.lk-hairline--lg{width:120px}
.lk-frame{position:relative;overflow:hidden;border-radius:var(--radius-lg);box-shadow:var(--shadow-deep)}
@keyframes lk-drift{from{transform:scale(1)}to{transform:scale(var(--zoom-drift))}}
.lk-drift{animation:lk-drift var(--dur-drift) var(--ease-soft) forwards}
.lk-rise{opacity:0;transform:translateY(var(--rise-distance));transition:opacity var(--dur-slow) var(--ease-out),transform var(--dur-slow) var(--ease-out)}
.lk-rise.is-in{opacity:1;transform:none}
.lk-rise--far{transform:translateY(var(--rise-distance-far));transition-duration:var(--dur-calm)}
@media (prefers-reduced-motion:reduce){.lk-drift{animation:none}}

/* ===== Grid-Hilfen ===== */
.lk-grid{display:grid;gap:var(--grid-gap)}
.lk-grid--2{grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr))}
.lk-grid--2-wide{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}
.lk-grid--3{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}
.lk-grid--features{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}
.lk-grid--center{align-items:center}
.lk-grid--start{align-items:start}

/* ===== Icons (lokale Lucide-SVGs als Maske) ===== */
.icon{display:inline-block;flex:0 0 auto;background:currentColor;mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-size:contain;-webkit-mask-size:contain;mask-position:center;-webkit-mask-position:center;vertical-align:-3px}
.icon-13{width:13px;height:13px}.icon-14{width:14px;height:14px}.icon-15{width:15px;height:15px}
.icon-16{width:16px;height:16px}.icon-18{width:18px;height:18px}.icon-20{width:20px;height:20px}
.icon-26{width:26px;height:26px}.icon-34{width:34px;height:34px}.icon-38{width:38px;height:38px}.icon-40{width:40px;height:40px}

/* ===== Kopfleiste ===== */
.site-header{position:sticky;top:0;z-index:40;background:rgba(247,239,220,.88);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--border-soft)}
.site-header__inner{display:flex;align-items:center;gap:var(--space-5);min-height:78px}
.site-header__logo{display:flex;align-items:center;text-decoration:none}
.site-header__logo img{height:52px;width:auto}
.site-nav{margin-left:auto;display:none;gap:var(--space-5)}
.site-nav a{font-size:var(--type-small);font-weight:var(--weight-semibold);text-decoration:none;color:var(--text-muted);border-bottom:2px solid transparent;padding-bottom:2px;white-space:nowrap}
.site-nav a:hover{color:var(--forest-800)}
.site-nav a[aria-current="page"]{color:var(--forest-800);border-bottom-color:var(--gold-600)}
.site-header__actions{margin-left:auto;display:flex;gap:var(--space-3);align-items:center}
.site-header__cta{display:none}
.burger{width:var(--tap-min);height:var(--tap-min);display:grid;place-items:center;background:transparent;border:1px solid var(--border-strong);border-radius:var(--radius-pill);cursor:pointer}
.mobile-nav{display:none;border-top:1px solid var(--border-soft);background:var(--cream-50)}
.mobile-nav.is-open{display:block}
.mobile-nav__list{display:grid;padding-block:var(--space-3)}
.mobile-nav__list a{display:flex;align-items:center;justify-content:space-between;min-height:var(--tap-min);padding:var(--space-3) 0;text-decoration:none;border-bottom:1px solid var(--border-soft);color:var(--text-body)}
.mobile-nav__list a[aria-current="page"]{font-weight:var(--weight-semibold)}
@media (min-width:900px){
  .site-nav{display:flex}
  .site-header__cta{display:inline-flex}
  .burger{display:none}
  .sticky-contact-bar{display:none}
}

/* ===== Buttons ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-3);font-family:var(--font-body);font-weight:var(--weight-semibold);letter-spacing:.01em;border-radius:var(--radius-pill);text-decoration:none;cursor:pointer;border:1px solid transparent;padding:0 var(--space-5);min-height:var(--tap-min);font-size:var(--type-small);box-shadow:var(--shadow-control);transition:background var(--dur-fast) var(--ease-soft),color var(--dur-fast) var(--ease-soft),border-color var(--dur-fast) var(--ease-soft),transform var(--dur-fast) var(--ease-soft),box-shadow var(--dur-fast) var(--ease-soft)}
.btn:hover{transform:translateY(-2px);box-shadow:var(--shadow-control-hover)}
.btn:active{transform:translateY(1px) scale(.985);box-shadow:var(--shadow-control-press)}
.btn--lg{padding:0 var(--space-6);min-height:54px;font-size:var(--type-body)}
.btn--primary{background:var(--action-primary);color:var(--action-primary-text)}
.btn--primary:hover{background:var(--action-primary-hover)}
.btn--secondary{background:transparent;color:var(--action-secondary-text);border-color:var(--border-strong)}
.btn--secondary:hover{background:var(--action-quiet-hover)}
.btn--quiet{background:transparent;color:var(--action-secondary-text)}
.btn--quiet:hover{background:var(--action-quiet-hover)}
.btn--full{width:100%}
.btn[disabled],.btn[aria-disabled="true"]{opacity:.45;cursor:not-allowed;box-shadow:none;transform:none}
.btn-row{display:flex;gap:var(--space-3);flex-wrap:wrap}

/* ===== Karten ===== */
.card{display:block;border-radius:var(--radius-lg);padding:var(--space-6);box-shadow:var(--shadow-card);background:var(--surface-card);border:1px solid var(--border-soft);transition:box-shadow var(--dur-base) var(--ease-soft),transform var(--dur-base) var(--ease-soft)}
.card--raised{background:var(--surface-card-raised);box-shadow:var(--shadow-deep)}
.card--quiet{background:transparent}
.card--deep{background:var(--surface-deep-alt);border-color:var(--border-deep)}
.card--interactive:hover{box-shadow:var(--shadow-lift);transform:translateY(-5px)}
.card-stack{display:grid;gap:var(--space-4)}
.card-stack--tight{gap:var(--space-3)}

/* ===== Badges ===== */
.badge{display:inline-flex;align-items:center;gap:var(--space-2);padding:5px var(--space-3);border-radius:var(--radius-pill);font-family:var(--font-body);font-size:var(--type-tiny);font-weight:var(--weight-semibold);letter-spacing:.04em}
.badge--sage{background:var(--surface-accent);color:var(--forest-800);border:1px solid transparent}
.badge--gold{background:transparent;color:var(--text-accent);border:1px solid var(--gold-600)}
.badge--deep{background:var(--forest-800);color:var(--cream-50);border:1px solid transparent}
.badge--outline{background:transparent;color:var(--text-muted);border:1px solid var(--border-strong)}
.badge-row{display:flex;gap:var(--space-2);flex-wrap:wrap}

/* ===== Hinweis (Notice) ===== */
.notice{display:flex;gap:var(--space-3);align-items:flex-start;padding:var(--space-4) var(--space-5);border-radius:var(--radius-md);font-size:var(--type-small);line-height:var(--leading-body)}
.notice .icon{margin-top:2px}
.notice--info{background:var(--surface-accent);color:var(--forest-800);border-left:3px solid var(--forest-600)}
.notice--accent{background:transparent;color:var(--text-body);border-left:3px solid var(--gold-600)}
.notice--error{background:rgba(122,34,51,.07);color:var(--state-error);border-left:3px solid var(--state-error)}
.notice p{margin:0;max-width:none}

/* ===== Zitat ===== */
.quote{margin:0;display:grid;gap:var(--space-4);max-width:34ch}
.quote blockquote{margin:0;font-family:var(--font-display);font-style:italic;font-weight:var(--weight-regular);font-size:var(--type-h3);line-height:var(--leading-heading);color:var(--text-heading)}
.quote--lg blockquote{font-size:var(--type-h2)}
.quote figcaption{font-size:var(--type-small);color:var(--text-muted)}
.quote figcaption strong{font-weight:var(--weight-semibold);color:var(--text-body)}

/* ===== Section Header ===== */
.section-header{display:grid;gap:var(--space-3);margin-bottom:var(--space-7)}
.section-header--center{justify-items:center;text-align:center}
.section-header h2,.section-header h3{margin:0;max-width:22ch}

/* ===== Akkordeon ===== */
.accordion{display:grid}
.accordion__item{border-bottom:1px solid var(--border-soft)}
.accordion__item:first-child{border-top:1px solid var(--border-soft)}
.accordion__item h3{margin:0}
.accordion__btn{all:unset;box-sizing:border-box;width:100%;display:flex;gap:var(--space-4);align-items:center;justify-content:space-between;cursor:pointer;text-align:left;padding:var(--space-5) 0;min-height:var(--tap-min);font-family:var(--font-display);font-size:var(--type-h4);font-weight:var(--weight-medium);color:var(--text-body)}
.accordion__btn::-webkit-details-marker{display:none}
.accordion__btn::marker{content:"";display:none}
.accordion__item[open] .accordion__btn{color:var(--forest-800)}
.accordion__btn .icon{transition:transform var(--dur-base) var(--ease-soft)}
.accordion__item[open] .accordion__btn .icon{transform:rotate(45deg)}
.accordion__panel{padding-bottom:0;overflow:hidden}
.accordion__panel p{margin:0 0 var(--space-5);color:var(--text-muted);max-width:var(--measure-text)}
/* ⚠ Richtiggestellt 07.10.2026: Diese Regel hing an `data-open`, einem
   STATISCHEN Attribut — kein Skript hat es je umgeschaltet. Dadurch war
   jede Frage ausser der ersten dauerhaft zu, und ihre Antwort nicht
   erreichbar. Jetzt haengt sie am nativen `open`, das <details> selbst
   setzt: ohne JavaScript, und auch wenn ein Skript nicht laedt. */
.accordion__item:not([open]) .accordion__panel{display:none}

/* ===== Seal / Zertifikat ===== */
.seal{display:flex;gap:var(--space-4);align-items:center}
.seal img{width:96px;height:auto;mix-blend-mode:multiply}
.seal span{font-size:var(--type-small);line-height:1.5;color:var(--text-muted);max-width:28ch}

/* ===== Bogenbild / ArchImage ===== */
.arch-figure{margin:0;display:grid;gap:var(--space-3)}
.arch-figure__frame{overflow:hidden;background:var(--surface-accent);box-shadow:var(--shadow-card)}
.arch-figure__frame img{width:100%;height:100%;object-fit:cover}
.arch-figure--arch .arch-figure__frame{border-radius:var(--radius-arch);aspect-ratio:3/4}
.arch-figure--soft .arch-figure__frame{border-radius:var(--radius-image)}
.arch-figure--round .arch-figure__frame{border-radius:var(--radius-pill);aspect-ratio:1/1}
.arch-figure figcaption{font-size:var(--type-small);color:var(--text-muted)}

/* ===== Programm-Karte ===== */
.program-card{display:grid;grid-template-rows:auto 1fr;text-decoration:none;color:inherit;background:var(--surface-card);border:1px solid var(--border-soft);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-card);transition:box-shadow var(--dur-base) var(--ease-soft),transform var(--dur-base) var(--ease-soft)}
.program-card:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-3px)}
.program-card__img{aspect-ratio:16/10;overflow:hidden;background:var(--surface-accent)}
.program-card__img img{width:100%;height:100%;object-fit:cover;transition:transform var(--dur-slow) var(--ease-soft)}
.program-card:hover .program-card__img img{transform:scale(var(--zoom-rest))}
.program-card__body{padding:var(--space-5);display:grid;gap:var(--space-3);align-content:start}
.program-card__body h3{margin:0;font-size:var(--type-h3)}
.program-card__body p{margin:0;color:var(--text-muted);font-size:var(--type-small)}
.program-card__cta{display:inline-flex;gap:var(--space-2);align-items:center;margin-top:var(--space-2);font-size:var(--type-small);font-weight:var(--weight-semibold);color:var(--text-link)}
.program-card:hover .program-card__cta .icon{transform:translateX(3px)}
.program-card__cta .icon{transition:transform var(--dur-base) var(--ease-soft)}

/* ===== Hero ===== */
.hero{position:relative;overflow:hidden}
.hero--full{min-height:var(--hero-min);display:grid;align-items:end;background:var(--surface-deep)}
.hero--compact{min-height:var(--hero-min-compact)}
.hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero__bg--right{transform-origin:30% 50%}
.hero__bg--left{transform-origin:70% 50%}
.hero__scrim{position:absolute;inset:0;pointer-events:none;background:var(--scrim-side)}
.hero__scrim--right{background:var(--scrim-side-right)}
.hero__inner{position:relative;padding-block:var(--section-y-lg);display:grid;gap:var(--grid-gap);grid-template-columns:1fr;align-items:center}
.hero--compact .hero__inner{padding-block:var(--space-8)}
.hero__text{display:grid;gap:var(--space-5);min-width:0;max-width:min(100%,46ch)}
.hero--compact .hero__text{max-width:min(100%,34ch)}
.hero__text--right{justify-items:end;justify-self:end;text-align:right;margin-left:auto}
.hero__text h1{margin:0;font-size:var(--type-hero);line-height:var(--leading-tight);letter-spacing:var(--tracking-hero);color:var(--cream-50)}
.hero--compact .hero__text h1{font-size:var(--type-h1)}
.hero__text .lk-eyebrow{color:var(--gold-400)}
.hero__lead{color:var(--cream-100)}
.hero--split{background:var(--surface-page);min-height:0}
.hero--split .hero__inner{grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));padding-block:var(--section-y)}
.hero--split .hero__text{max-width:100%}
.hero--split .hero__text h1{color:var(--text-heading);font-size:var(--type-hero)}
.hero--split .hero__text .lk-eyebrow{color:var(--text-accent)}
.hero--split .hero__lead{color:var(--text-muted)}
.hero--split .hero__image{position:relative;border-radius:var(--radius-arch);overflow:hidden;box-shadow:var(--shadow-deep);aspect-ratio:4/5}
.hero--split .hero__image img{width:100%;height:100%;object-fit:cover}

/* ===== Weite-Band (dunkles Vollbild-Zitat) ===== */
.weite{position:relative;overflow:hidden;min-height:min(74vh,720px);display:grid;align-items:end;background:var(--surface-deep)}
.weite__inner{position:relative;padding-block:var(--section-y-lg);display:grid;gap:var(--space-5);justify-items:start}
.weite__text{margin:0;max-width:24ch;font-family:var(--font-display);font-size:var(--type-h1);line-height:var(--leading-tight);color:var(--cream-50)}

/* ===== Formulare ===== */
.field{display:grid;gap:var(--space-2);font-family:var(--font-body);font-size:var(--type-small);font-weight:var(--weight-semibold);color:var(--text-body)}
.field .req{color:var(--gold-700)}
.field input,.field textarea,.field select{font:var(--weight-regular) var(--type-body)/1.5 var(--font-body);color:var(--text-body);background:var(--surface-card-raised);border:1px solid var(--border-strong);border-radius:var(--radius-md);padding:var(--space-3) var(--space-4);min-height:var(--tap-min);width:100%;box-shadow:var(--shadow-control);transition:border-color var(--dur-fast) var(--ease-soft),box-shadow var(--dur-fast) var(--ease-soft)}
.field textarea{resize:vertical;line-height:var(--leading-body)}
.field select{appearance:none;cursor:pointer}
.field[data-invalid="true"] input,.field[data-invalid="true"] textarea,.field[data-invalid="true"] select{border-color:var(--state-error)}
.field .hint{font-weight:var(--weight-regular);color:var(--text-muted);font-size:var(--type-tiny)}
.field .err{font-weight:var(--weight-regular);color:var(--state-error);font-size:var(--type-tiny)}
.check{display:grid;gap:var(--space-1)}
.check label{display:flex;gap:var(--space-3);align-items:flex-start;cursor:pointer;font-family:var(--font-body);font-size:var(--type-small);line-height:var(--leading-body);color:var(--text-body);min-height:var(--tap-min)}
.check__box{position:relative;width:22px;height:22px;flex:0 0 auto;margin-top:2px}
.check__box input{position:absolute;inset:0;width:22px;height:22px;margin:0;opacity:0;cursor:pointer}
.check__deco{display:grid;place-items:center;width:22px;height:22px;border-radius:var(--radius-sm);border:1px solid var(--border-strong);background:var(--surface-card-raised);box-shadow:var(--shadow-control);transition:background var(--dur-fast) var(--ease-soft),border-color var(--dur-fast) var(--ease-soft)}
.check__box input:checked + .check__deco{border-color:var(--forest-800);background:var(--forest-800)}
.check__box input:checked + .check__deco .icon{background:var(--cream-50)}
.check .hint{padding-left:34px;color:var(--text-muted);font-size:var(--type-tiny)}
.form-note{font-size:var(--type-tiny);color:var(--text-muted)}

/* ===== Fusszeile ===== */
.site-footer{background:var(--surface-deep);color:var(--text-body);padding-block:var(--space-9)}
.site-footer .lk-container{display:grid;gap:var(--space-8)}
.footer-cols{display:grid;gap:var(--space-8);grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr))}
.footer-brand{display:grid;gap:var(--space-3);align-content:start}
.footer-brand strong{font-family:var(--font-display);font-size:var(--type-h3);color:var(--cream-50);font-weight:var(--weight-medium)}
.footer-brand address{white-space:pre-line;font-size:var(--type-small);color:var(--text-muted);font-style:normal}
.footer-col{display:grid;gap:var(--space-3);align-content:start}
.footer-col .lk-eyebrow{color:var(--gold-400)}
.footer-col a{font-size:var(--type-small);color:var(--text-body);text-decoration:none}
.footer-col a:hover{color:var(--cream-50);text-decoration:underline}
.footer-col a.has-icon{display:flex;gap:var(--space-2);align-items:center;overflow-wrap:anywhere}
.footer-note{font-size:var(--type-tiny);color:var(--text-muted);max-width:70ch;margin:0}
.footer-bottom{border-top:1px solid var(--border-deep);padding-top:var(--space-4);display:flex;flex-wrap:wrap;gap:var(--space-4);justify-content:space-between}
.footer-bottom span{font-size:var(--type-tiny);color:var(--text-muted)}
.footer-legal{display:flex;gap:var(--space-4);flex-wrap:wrap}
.footer-legal a{font-size:var(--type-tiny);color:var(--text-muted)}

/* ===== Anruf-/WhatsApp-Leiste (nur Handy) ===== */
.sticky-contact-bar{position:sticky;bottom:0;z-index:30;display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--border-deep);box-shadow:var(--shadow-float)}
.sticky-contact-bar a{display:flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:56px;text-decoration:none;font-family:var(--font-body);font-size:var(--type-small);font-weight:var(--weight-semibold)}
.sticky-contact-bar a.call{background:var(--forest-800);color:var(--cream-50)}
.sticky-contact-bar a.wa{background:var(--petrol-700);color:var(--cream-50)}

/* ===== Cookie-Hinweis ===== */
.cookie-banner{position:fixed;left:var(--space-4);right:var(--space-4);bottom:var(--space-4);z-index:60;max-width:560px;margin:0 auto;background:var(--surface-card-raised);border:1px solid var(--border-soft);border-radius:var(--radius-lg);box-shadow:var(--shadow-float);padding:var(--space-5);display:grid;gap:var(--space-4)}
.cookie-banner[hidden]{display:none}
.cookie-banner p{margin:0;font-size:var(--type-small);color:var(--text-body);max-width:none}

/* ===== Karte/Anfahrt Platzhalter ===== */
.map-placeholder{display:grid;place-items:center;gap:var(--space-2);aspect-ratio:16/10;border-radius:var(--radius-md);background:var(--sage-100);border:1px dashed var(--border-strong);text-align:center;padding:var(--space-4)}
.map-placeholder span:first-of-type{font-size:var(--type-small);color:var(--forest-800)}
.map-placeholder span:last-of-type{font-size:var(--type-tiny);color:var(--text-muted)}

/* ===== Fakten-Tabelle (Leistungsseiten) ===== */
.fact-row{display:grid;grid-template-columns:120px 1fr;gap:var(--space-4);padding-bottom:var(--space-3);border-bottom:1px solid var(--border-soft)}
.fact-row span:first-child{font-size:var(--type-small);color:var(--text-muted)}
.fact-row span:last-child{font-size:var(--type-small);font-weight:var(--weight-semibold)}
.step-block{display:grid;gap:var(--space-2);padding-top:var(--space-4);border-top:2px solid var(--gold-600)}

/* ===== Legal-Bloecke ===== */
.legal-block{display:grid;gap:var(--space-3);padding-top:var(--space-6);border-top:1px solid var(--border-soft)}
.legal-block:first-child{border-top:0;padding-top:0}
.legal-block h2{font-size:var(--type-h3)}
.legal-block p{color:var(--text-muted)}

/* ===== Utility ===== */
.u-center{text-align:center}
.u-muted{color:var(--text-muted)}
.stack{display:grid;gap:var(--space-5)}
.stack--tight{gap:var(--space-3)}
.stack--start{align-content:start}

/* 14.09.2026 — Leistungsuebersicht: genau drei Spalten, damit sechs Kacheln
   als 3 + 3 stehen. .lk-grid--3 bleibt unveraendert (auto-fit), weil die
   Detailseiten dort vier Kacheln fuehren. */
.lk-grid--3fest{grid-template-columns:1fr}
@media (min-width:640px){.lk-grid--3fest{grid-template-columns:repeat(2,1fr)}}
@media (min-width:960px){.lk-grid--3fest{grid-template-columns:repeat(3,1fr)}}

/* ⚠ Hier standen bis 07.10.2026 die Regeln vom 14.09.2026, die bei zwei
   gleichfarbigen Abschnitten hintereinander dem zweiten den Kopf- und dem
   ersten den Fussabstand kuerzten. Anlass war der damalige Grundwert von
   bis zu 176 px: zwei Abschnitte ergaben 383 px Leere.

   Der Grundwert steht seit 07.10.2026 auf 80 px — zwei Abschnitte ergeben
   160 px, das braucht keine Kuerzung mehr. Uebrig blieb nur die Folge, die
   Konstantin gesehen hat: „Abstände oben und unten ungleich." Deshalb raus.
   Wer den Grundwert wieder anhebt, holt diese Regeln aus der Sicherung
   `stil.css.bak.vor_oben_unten_07102026` zurueck. */

/* ═══ Terminbuchung — 14.09.2026, nach dem freigegebenen Entwurf ═══
   Drei Schritte. Schritt 1 ist unsere Oberflaeche, Schritt 2 und 3 laufen im
   Kalender: dort waehlt der Besucher erst die Zeit, dann gibt er seine Daten
   ein. Bauweise und Herkunft: Baustein /var/www/webseiten/bausteine/
   terminbuchung/ und Hauswissen produktion 2065. */
.lk-buchung-schritte{display:flex;flex-wrap:wrap;gap:var(--space-3);margin-bottom:var(--space-7)}
.lk-schritt{display:inline-flex;align-items:center;gap:var(--space-2);
  padding:var(--space-2) var(--space-5);border-radius:var(--radius-pill);
  background:var(--surface-card);border:1px solid var(--border-soft);
  font-family:var(--font-body);font-size:var(--type-small);color:var(--text-muted)}
.lk-schritt b{display:inline-flex;align-items:center;justify-content:center;
  width:26px;height:26px;border-radius:var(--radius-pill);
  background:var(--surface-accent);color:var(--forest-800);
  font-size:var(--type-tiny);font-weight:var(--weight-semibold)}
.lk-schritt.is-aktiv{background:var(--surface-accent);border-color:var(--forest-600);
  color:var(--text-heading);font-weight:var(--weight-semibold)}
.lk-schritt.is-aktiv b{background:var(--forest-800);color:var(--cream-50)}

/* Die Wahlmarke ersetzt den Radioknopf des Entwurfs. Sie sitzt am Fuss der
   Kachel, damit alle drei Kacheln unten buendig lesen. */
.lk-termin-wahl{text-align:left;display:flex;flex-direction:column;gap:var(--space-3);
  align-items:flex-start;cursor:pointer;width:100%}
.lk-wahlmarke{margin-top:auto;display:inline-flex;align-items:center;gap:var(--space-2);
  font-family:var(--font-body);font-size:var(--type-small);font-weight:var(--weight-semibold);
  color:var(--text-muted)}
.lk-wahlmarke::before{content:"";width:16px;height:16px;border-radius:50%;
  border:1.5px solid var(--border-strong);flex:0 0 auto}
.lk-termin-wahl[aria-pressed="true"]{border-color:var(--forest-600);
  box-shadow:0 0 0 1px var(--forest-600)}
.lk-termin-wahl[aria-pressed="true"] .lk-wahlmarke{color:var(--text-heading)}
.lk-termin-wahl[aria-pressed="true"] .lk-wahlmarke::before{
  border-color:var(--forest-800);background:var(--forest-800);
  box-shadow:inset 0 0 0 3px var(--surface-card-raised)}

.lk-weiter-zeile{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-5);
  margin-top:var(--space-7)}

/* Kalender und Seitenspalte. Unter 900 px untereinander — der Kalender
   braucht die volle Breite, sonst wird die Monatsansicht unlesbar. */
.lk-buchung-raster{display:grid;gap:var(--space-6);grid-template-columns:1fr}
@media (min-width:900px){.lk-buchung-raster{grid-template-columns:minmax(0,1fr) 20rem}}

/* 14.09.2026 — Beim Darueberfahren verschwand die Schrift auf Knoepfen, die
   Links sind. Ursache: a:hover setzt color auf --text-link-hover, und das ist
   dieselbe Farbe wie --action-primary, also der Knopfhintergrund. Im dunklen
   Abschnitt dasselbe in Creme auf Creme. .btn--primary:hover setzte bisher nur
   den Hintergrund — a:hover gewann deshalb beim color.
   Jeder Knopf haelt seine Schriftfarbe jetzt selbst fest. */
a.btn:hover,a.btn:focus-visible{text-decoration:none}
.btn--primary:hover,.btn--primary:focus-visible{
  background:var(--action-primary-hover);color:var(--action-primary-text)}
.btn--secondary:hover,.btn--secondary:focus-visible,
.btn--quiet:hover,.btn--quiet:focus-visible{
  background:var(--action-quiet-hover);color:var(--action-secondary-text)}
/* Die Leiste am unteren Rand setzt ihre Farben selbst — dort darf a:hover
   ebenfalls nicht dazwischenfunken. */
.sticky-contact-bar a:hover{color:var(--cream-50)}

/* 14.09.2026 — kontakt.html lief bei 375 px um 119 px ueber. Raster- und
   Flexkinder haben von Haus aus min-width:auto und schrumpfen deshalb nicht
   unter ihren laengsten unteilbaren Inhalt (hier: die Mailadresse). Auf dem
   Schreibtisch faellt das nie auf. */
.lk-grid > *, .stack > *, .card-stack > *, .card-stack--tight > *{min-width:0}
.card a, .has-icon, .notice p{overflow-wrap:anywhere}

/* 14.09.2026 — Kalenderkarte: der weisse Rahmen war zu gross, der Kalender
   zu klein. Cal.com richtet seine Hoehe selbst nach dem Inhalt; eine feste
   Mindesthoehe erzeugt darunter leere Flaeche. Mindesthoehe gilt jetzt nur,
   solange noch nichts geladen ist, und die Karte tritt naeher heran. */
/* 14.09.2026 — wie bei Hausamann: die Karte traegt dieselbe Cremefarbe wie
   der Kalender selbst. Der Rand um den Kalenderblock bleibt, wird aber
   unsichtbar. Weiss neben Creme war der ganze Unterschied. */
.lk-kalender-karte{padding:var(--space-3);background:var(--surface-page);
  border-color:var(--border-soft)}
#lk-kalender{min-height:420px}
/* 23.09.2026: Hier stand `#lk-kalender:has(iframe){min-height:0}`. Sobald der
   Kalender geladen war, fiel der Kasten auf null zusammen — Cal.coms Rahmen
   traegt height:inherit, erbte die Null und nahm den Kalender mit. Der Boden
   bleibt jetzt stehen, auch wenn der Kalender da ist; der Rahmen bekommt ihn
   ausdruecklich mit, statt ihn zu erben. */
#lk-kalender .cal-element-embed-light,
#lk-kalender cal-inline{min-height:420px;width:100%}
#lk-kalender iframe{width:100%;display:block;min-height:420px}

/* 14.09.2026 — [hidden] hat nichts versteckt. Das Browser-eigene
   [hidden]{display:none} wiegt so wenig, dass jede eigene display-Regel es
   sticht — .notice{display:flex}, .stack{display:grid}, .card-stack{display:grid}.
   Folge: die Fehlermeldung unter dem Kalender stand sichtbar da, obwohl sie
   versteckt war, und auf der Kontaktseite waren Erfolgs- UND Fehlermeldung
   des Formulars dauerhaft zu sehen.
   Eine Zeile fuer alles — statt wie bisher nur fuer den Cookie-Hinweis. */
[hidden]{display:none!important}

/* ═══════════════════════════════════════════════════════════════════════
   TIEFENWIRKUNG UND PLASTISCHE KNÖPFE — 14.09.2026
   Konstantin: "eine besondere Tiefenwirkung der Webseite und plastische
   Button die ein wenig glänzen".

   Grundsatz: KEINE neuen Farben. Alles entsteht aus ihrer Palette — Licht
   von oben als heller Verlauf, Tiefe als zweite Schattenlage. Das vorhandene
   Schattensystem (--shadow-card, --shadow-control …) bleibt und wird
   ergänzt, nicht ersetzt.
   ═══════════════════════════════════════════════════════════════════════ */

:root{
  /* Licht kommt von oben. Diese zwei Werte tragen den ganzen Effekt. */
  --glanz-oben:rgba(255,255,255,.55);
  --glanz-kante:rgba(255,255,255,.28);
  --tiefe-innen:rgba(16,40,28,.10);
}

/* ── 1 · Karten: Licht auf der Oberkante, Tiefe darunter ──────────────── */
.card{
  background-image:linear-gradient(176deg,var(--glanz-oben) 0%,rgba(255,255,255,0) 42%);
  box-shadow:
    inset 0 1px 0 var(--glanz-oben),          /* die beleuchtete Oberkante */
    inset 0 -1px 0 var(--tiefe-innen),        /* die Unterkante im Schatten */
    var(--shadow-card);
}
.card--raised{
  box-shadow:
    inset 0 1px 0 var(--glanz-oben),
    inset 0 -1px 0 var(--tiefe-innen),
    var(--shadow-deep);
}
.card--interactive:hover{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    inset 0 -1px 0 var(--tiefe-innen),
    var(--shadow-lift);
}
/* Auf dunklem Grund kommt das Licht gedämpfter — sonst wirkt es wie Nebel. */
.card--deep,.lk-section--deep .card{
  background-image:linear-gradient(176deg,rgba(255,255,255,.07) 0%,rgba(255,255,255,0) 45%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),var(--shadow-deep);
}

/* ── 2 · Knöpfe: plastisch, mit einem Schimmer ────────────────────────── */
/* ⚠ background-image getrennt von background-color setzen. Die vorhandenen
   Regeln nutzen die Kurzform `background`, die jedes Bild zurücksetzt —
   deshalb steht der Verlauf hier und in jedem Zustand noch einmal. */
.btn{position:relative;isolation:isolate;overflow:hidden}

.btn--primary{
  background-image:linear-gradient(180deg,var(--glanz-kante) 0%,rgba(255,255,255,.06) 34%,rgba(0,0,0,.10) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.30),      /* Lichtkante oben */
    inset 0 -2px 4px rgba(0,0,0,.18),         /* Wölbung nach unten */
    var(--shadow-control);
}
.btn--primary:hover,.btn--primary:focus-visible{
  background-color:var(--action-primary-hover);
  background-image:linear-gradient(180deg,rgba(255,255,255,.34) 0%,rgba(255,255,255,.08) 34%,rgba(0,0,0,.10) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.38),
    inset 0 -2px 4px rgba(0,0,0,.20),
    var(--shadow-control-hover);
}
.btn--primary:active{
  background-image:linear-gradient(180deg,rgba(0,0,0,.12) 0%,rgba(255,255,255,.05) 100%);
  box-shadow:inset 0 2px 5px rgba(0,0,0,.28),var(--shadow-control-press);
}

/* Die hellen Knöpfe: dieselbe Wölbung, nur leiser — sie stehen auf Creme. */
.btn--secondary,.btn--quiet{
  background-image:linear-gradient(180deg,rgba(255,255,255,.75) 0%,rgba(255,255,255,0) 58%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85),
             inset 0 -1px 0 rgba(23,37,30,.07),
             var(--shadow-control);
}
.btn--secondary:hover,.btn--quiet:hover,
.btn--secondary:focus-visible,.btn--quiet:focus-visible{
  background-color:var(--action-quiet-hover);
  background-image:linear-gradient(180deg,rgba(255,255,255,.9) 0%,rgba(255,255,255,0) 58%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),
             inset 0 -1px 0 rgba(23,37,30,.08),
             var(--shadow-control-hover);
}

/* Der Schimmer: ein einzelner Lichtstreifen, der beim Darüberfahren
   durchläuft. Einmal, langsam, nicht wiederholt — ein Glanz, kein Blinken. */
.btn::after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.22) 50%,transparent 62%);
  transform:translateX(-120%);
  transition:transform 620ms var(--ease-out);
}
.btn:hover::after,.btn:focus-visible::after{transform:translateX(120%)}
.btn[disabled]::after{display:none}

/* ── 3 · Tiefe im Raum: ein weiches Licht hinter den dunklen Flächen ──── */
.lk-section--deep{position:relative;isolation:isolate}
.lk-section--deep::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(120% 70% at 50% 0%,rgba(64,145,108,.18) 0%,transparent 62%);
}
/* Und ein Hauch Licht am oberen Rand jedes hellen Abschnitts, damit die
   Flächen nicht wie aufgeklebtes Papier wirken. */
.lk-section--alt{position:relative}
.lk-section--alt::before{
  content:"";position:absolute;left:0;right:0;top:0;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,var(--glanz-oben) 22%,var(--glanz-oben) 78%,transparent);
}

/* ── 4 · Bilder bekommen Boden unter die Füße ─────────────────────────── */
.program-card__img,.arch-figure,.lk-frame{
  box-shadow:inset 0 1px 0 var(--glanz-kante),0 18px 36px -24px rgba(16,40,28,.38)}

/* ── 5 · Wer Bewegung nicht mag, bekommt keine ────────────────────────── */
@media (prefers-reduced-motion:reduce){
  .btn::after{display:none}
  .card--interactive:hover{transform:none}
}

/* ═══ BARRIEREFREIHEIT — 14.09.2026, gemessen, nicht vermutet ═══
   Funktion 18 "Barrierefrei gebaut (WCAG 2.2 AA)" ist gebucht. Zwei echte
   Kontrastfehler gefunden; beide waren am Schreibtisch unsichtbar. */

/* 1 · DER HAUPTKNOPF IM HANDY-MENUE WAR UNLESBAR.
   .mobile-nav__list a {color:var(--text-body)} trifft JEDEN Link in der
   Liste — auch den, der ein Knopf ist. Ergebnis: fast schwarze Schrift
   (#17251e) auf dunkelgruenem Grund (#1b4332), Kontrast 1,4:1.
   Noetig waeren 4,5:1. Am Schreibtisch sieht man es nie, das Menue gibt es
   nur am Handy.
   ⚠ Derselbe Fehlertyp wie a:hover heute frueh: eine allgemeine Linkregel
   sticht die Farbe eines Knopfs. Deshalb hier grundsaetzlich: ein Knopf
   behaelt seine Schriftfarbe, egal in welcher Liste er steht. */
a.btn--primary,.mobile-nav__list a.btn--primary{color:var(--action-primary-text)}
a.btn--secondary,a.btn--quiet,
.mobile-nav__list a.btn--secondary,.mobile-nav__list a.btn--quiet{
  color:var(--action-secondary-text)}

/* 2 · GOLDENES ABZEICHEN AUF DUNKLEM GRUND.
   .badge--gold traegt --text-accent (#7a5b14, dunkles Gold). Auf Creme ist
   das richtig, auf der dunklen Flaeche (#10281c) ergibt es 2,48:1 — dunkel
   auf dunkel. Auf dunklem Grund kommt das helle Gold. */
.lk-section--deep .badge--gold,.card--deep .badge--gold,
.lk-on-deep .badge--gold{color:var(--gold-400);border-color:var(--gold-400)}

/* 14.09.2026 — Im Kopf der AGB-Seite lief "Geschäftsbedingungen" rechts hinaus.
   Der Kasten ist auf 34 Zeichen begrenzt (.hero--compact .hero__text), das Wort
   wird bei --type-h1 breiter als das — und ohne Trennerlaubnis kann es nicht
   umbrechen. Betrifft alle langen Einzelwörter: Geschäftsbedingungen,
   Datenschutzerklärung, Stressprävention.
   hyphens:auto trennt deutsch korrekt (die Seite trägt lang="de"),
   overflow-wrap fängt Browser ohne deutsche Trennung ab. */
.hero__text h1, .hero__text h2{overflow-wrap:break-word;hyphens:auto}

/* ---- Video, Zwei-Klick (06.10.2026) -------------------------------- */
.lk-video{margin:0;max-width:62rem;margin-inline:auto}
.lk-video__start{display:block;width:100%;padding:0;border:0;cursor:pointer;
  background:var(--surface-deep);border-radius:var(--radius-lg,18px);
  overflow:hidden;position:relative;line-height:0}
.lk-video__start img{width:100%;height:auto;display:block;
  transition:transform .4s ease,filter .4s ease;filter:brightness(.88)}
.lk-video__start:hover img,.lk-video__start:focus-visible img{
  transform:scale(1.02);filter:brightness(1)}
.lk-video__start:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}
.lk-video__play{position:absolute;inset:0;display:flex;align-items:center;
  justify-content:center;pointer-events:none}
.lk-video__play::before{content:"";width:5.5rem;height:5.5rem;border-radius:50%;
  background:var(--surface-card);box-shadow:0 .5rem 2rem rgba(16,40,28,.45)}
.lk-video__play::after{content:"";position:absolute;width:0;height:0;
  border-style:solid;border-width:1.1rem 0 1.1rem 1.8rem;
  border-color:transparent transparent transparent var(--action-primary);
  margin-left:.45rem}
.lk-video__hinweis{margin:.9rem 0 0;font-size:.875rem;line-height:1.5;
  color:var(--text-muted,var(--ink-700,#4a5a52));text-align:center}
.lk-video__hinweis a{color:inherit;text-decoration:underline}
.lk-video__rahmen{position:relative;width:100%;aspect-ratio:16/9;
  border-radius:var(--radius-lg,18px);overflow:hidden;background:#000}
.lk-video__rahmen iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media (max-width:40rem){.lk-video__play::before{width:4rem;height:4rem}
  .lk-video__play::after{border-width:.8rem 0 .8rem 1.3rem;margin-left:.3rem}}

/* ---- Ausbildung & Nachweise (06.10.2026) --------------------------- */
.nachweis-liste{list-style:none;margin:0;padding:0;display:grid;gap:1rem}
@media (min-width:48rem){.nachweis-liste{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}}
/* .nachweis traegt nur noch die Typografie — Flaeche, Rahmen, Radius und
   Schatten kommen aus der Hausklasse .card. */
.nachweis{display:grid;align-content:start}
.nachweis:hover{box-shadow:var(--shadow-card-hover);transform:translateY(-3px)}
.nachweis__zeit{margin:0 0 .35rem;font-size:.8125rem;letter-spacing:.08em;
  text-transform:uppercase;color:var(--text-accent)}
.nachweis__titel{margin:0 0 .35rem;font-size:1.0625rem;line-height:1.35;
  font-family:var(--font-body);font-weight:600;color:var(--text-heading)}
.nachweis__haus{margin:0 0 .35rem;font-size:.9375rem;line-height:1.5}
.nachweis__detail{margin:0;font-size:.875rem;line-height:1.5;opacity:.8}

/* ---- engere Abschnitte, z. B. Nachweisliste (06.10.2026) ---------- */
.lk-section--eng{padding-block:var(--section-y)}
.lk-section--eng .section-header{margin-bottom:var(--space-5)}

/* ---- Partnerlabore (06.10.2026) ----------------------------------- */
.partner-liste{list-style:none;margin:0;padding:0;display:grid;gap:1rem}
@media (min-width:52rem){.partner-liste{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}}
.partner{background:var(--surface-card);border:1px solid var(--border-soft);
  border-radius:var(--radius-lg,18px);padding:1.4rem 1.5rem}
.partner__name{margin:0 0 .25rem;font-family:var(--font-body);font-weight:600;
  font-size:1.0625rem;color:var(--text-heading)}
.partner__ort{margin:0 0 .6rem;font-size:.8125rem;letter-spacing:.06em;
  text-transform:uppercase;color:var(--text-accent)}
.partner__text{margin:0;font-size:.9375rem;line-height:1.55}
.partner__fuss{margin:1.25rem 0 0;font-size:.875rem;opacity:.8;max-width:62ch}

/* ---- Partnerlogos (06.10.2026) ------------------------------------ */
.partner{display:flex;flex-direction:column}
.partner__logo{display:flex;align-items:center;justify-content:flex-start;
  height:3.25rem;margin:0 0 1rem}
.partner__logo img{max-height:100%;max-width:70%;width:auto;height:auto;
  object-fit:contain;filter:saturate(.25) contrast(1.05);opacity:.92}
.partner__link{margin:auto 0 0;padding-top:.9rem;font-size:.9375rem}
.partner__link a{color:var(--text-accent);text-decoration:none;
  border-bottom:1px solid currentColor;padding-bottom:1px}
.partner__link a:hover,.partner__link a:focus-visible{color:var(--action-primary)}
.partner__text{margin:0 0 .25rem}

/* ---- Video neben dem Text, etwa halb so gross (06.10.2026) --------- */
.lk-video--klein{max-width:30rem;margin-inline:0}
.lk-video--klein .lk-video__play::before{width:3.75rem;height:3.75rem}
.lk-video--klein .lk-video__play::after{border-width:.75rem 0 .75rem 1.2rem;margin-left:.28rem}
.lk-video--klein .lk-video__hinweis{text-align:left;font-size:.8125rem}
@media (max-width:52rem){.lk-video--klein{max-width:none;margin-inline:auto}}

/* ---- Video im Landschaftsbild (06.10.2026) ------------------------- */
.weite__inner--video{justify-items:stretch;align-items:end;gap:var(--space-7)}
.weite__spalte{display:grid;gap:var(--space-5);justify-items:start;align-content:end}
@media (min-width:62rem){
  .weite__inner--video{grid-template-columns:minmax(0,1fr) minmax(0,27rem);align-items:center}
  .weite__spalte{align-content:center}
}
.lk-video--auf-bild{justify-self:end;width:100%}
.lk-video--auf-bild .lk-video__start{box-shadow:0 1.4rem 3.5rem rgba(7,10,8,.55)}
.lk-video--auf-bild .lk-video__hinweis{color:var(--cream-200,#E6E1D4);text-align:left}
.lk-video--auf-bild .lk-video__hinweis a{color:var(--gold-400,#E3C45A)}

/* ---- Bild mit Video: Inhalt mittig, oben wie unten gleich ---------- */
.weite--video{align-items:center}
.weite--video .weite__inner{padding-block:var(--section-y)}
@media (max-width:62rem){
  .weite--video{align-items:center;min-height:auto}
  .weite--video .weite__inner{padding-block:var(--section-y)}
}

/* ---- linksbuendige Lesespalte (06.10.2026) ------------------------- */
.lk-lesespalte{max-width:var(--content-narrow);margin-inline:0;justify-self:start}
.lk-lesespalte > p{margin:0 0 var(--space-5)}
.lk-lesespalte > p:last-child{margin-bottom:0}
/* zweispaltig: fuer laengere Erzaehltexte. Ab 62rem, darunter einspaltig,
   weil zwei schmale Spalten am Handy unlesbar werden. */
.lk-lesespalte--zwei{max-width:var(--content-max)}
@media (min-width:62rem){
  .lk-lesespalte--zwei{column-count:2;column-gap:calc(var(--grid-gap) * 1.8);
    column-rule:1px solid var(--border-soft)}
  .lk-lesespalte--zwei > p{break-inside:avoid}
}

.hero__raster{align-items:center}
.hero__raster .arch-figure{justify-self:start;width:100%;max-width:19rem}
.hero__raster .arch-figure__frame{aspect-ratio:4/5}
.hero__raster .arch-figure__frame img{width:100%;height:100%;object-fit:cover}
@media (max-width:48rem){
  .hero__raster .arch-figure{justify-self:start;max-width:15rem}
}

.hero--nachweise{padding-block:clamp(2.25rem,5vw,3.75rem)}
.lk-section--nachweise{padding-block:var(--section-y)}
.lk-section--nachweise .section-header{margin-bottom:1.25rem}
@media (max-width:48rem){.hero--nachweise{padding-block:1.75rem}}

/* ⚠ `.hero__lead` steht im Haus auf `--cream-100` — gebaut fuer die
   DUNKLEN Kopfbereiche der anderen Seiten. Dieser Kopf ist hell, der Satz
   stand also cremefarben auf creme und war unsichtbar. Gefunden erst beim
   Nachmessen am 07.10.2026, obwohl er die ganze Zeit im Text stand.
   Er riss dabei auch die Luecke zwischen Ueberschrift und Bild auf. */
.hero--nachweise .hero__lead{color:var(--text-muted);max-width:40ch}

/* ---- Kooperationspartner, Logostreifen (07.10.2026) ---------------- */
.lk-section--schmal{padding-block:var(--section-y)}
/* ⚠ Streifen und erste Gruppe stehen beide auf hellem Grund. Die
   Trennung macht eine Haarlinie, NICHT eine zweite Flaeche — eine
   Flaeche haette dieselbe Farbe wie die Karten darauf, und genau so
   sind am 07.10. die Felder verschwunden. */
.lk-section--schmal{border-bottom:1px solid var(--border-soft)}
/* Zwei volle Abschnittsabstaende hintereinander reissen eine grosse
   Leere auf — der Block nach dem Streifen rueckt hoch. */

.partnerzeile__titel{margin:0 0 1.1rem;font-size:.8125rem;
  letter-spacing:.14em;text-transform:uppercase;color:var(--text-accent)}
.partnerblock{margin-top:1.75rem}
/* ⚠ UNTEREINANDER, nicht nebeneinander (Konstantin, 07.10.2026) — sie
   stehen in der linken Spalte des Kopfbereichs und fuellen die Flaeche
   neben dem Bild. */
.partnerzeile{list-style:none;margin:0;padding:0;display:flex;
  flex-direction:column;align-items:stretch;gap:.5rem;max-width:23rem}
.partnerzeile__item{min-width:0}
.partnerzeile__link{display:flex;flex-direction:row;align-items:center;
  justify-content:flex-start;gap:.85rem;padding:.6rem .85rem;
  background:var(--surface-card);border:1px solid var(--border-soft);
  border-radius:var(--radius-lg,18px);text-decoration:none;
  box-shadow:0 1px 2px rgba(7,10,8,.04);
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.partnerzeile__link:hover,.partnerzeile__link:focus-visible{
  border-color:var(--text-accent);box-shadow:0 6px 18px rgba(7,10,8,.09);
  transform:translateY(-2px)}
.partnerzeile__logo{display:block;width:auto;max-width:4.4rem;height:1.76rem;
  flex:0 0 4.4rem;
  object-fit:contain}
.partnerzeile__name{font-size:.8125rem;line-height:1.3;
  color:var(--text-heading)}
.partnerzeile__fuss{margin:.85rem 0 0;max-width:23rem;
  font-size:.8125rem;line-height:1.55;opacity:.8}
@media (max-width:48rem){
  .partnerzeile,.partnerzeile__fuss{max-width:none}
  .partnerblock{margin-top:1.25rem}
}
/* ⚠ Am Handy stapelt das Raster, und die Mindesthoehe des Kopfbereichs
   reisst dann eine leere Flaeche zwischen Ueberschrift und Bild. Gemessen
   07.10.2026 am 375-px-Geraet: rund 350 px Nichts. Nur fuer diesen Kopf,
   deshalb die eigene Klasse. */
/* Konstantin, 07.10.2026: „Überschrift muss oben ein Abstand > Bild in die
   Mitte der linken Spalte." Die Zeile „AUSBILDUNG & NACHWEISE" klebte am
   Seitenkopf, und das Bild lief weit unter die Ueberschrift hinaus. */
.hero--nachweise{padding-block:clamp(2.25rem,5vw,3.75rem)}
/* ⚠ `.hero__lead` steht im Haus auf `--cream-100` — gebaut fuer die
   DUNKLEN Kopfbereiche der anderen Seiten. Dieser Kopf ist hell, der Satz
   stand also cremefarben auf creme und war unsichtbar. Gefunden erst beim
   Nachmessen am 07.10.2026, obwohl er die ganze Zeit im Text stand.
   Er riss dabei auch die Luecke zwischen Ueberschrift und Bild auf. */
.hero--nachweise .hero__lead{color:var(--text-muted);max-width:40ch}
.hero__raster{align-items:center}
.hero__raster .arch-figure{justify-self:start;width:100%;max-width:19rem}
.hero__raster .arch-figure__frame{aspect-ratio:4/5}
.hero__raster .arch-figure__frame img{width:100%;height:100%;object-fit:cover}

/* ⚠ Die Abstaende NUR fuer diese Seite. `lk-section` global zu aendern
   wuerde 15 andere Seiten verstellen — eine Zahl, die an einem Ort steht
   und an fuenfzehn wirkt. Konstantin: „Abstand zwischen den Blöcken zu
   groß." */
.lk-section--nachweise{padding-block:var(--section-y)}
.lk-section--nachweise .section-header{margin-bottom:1.25rem}

@media (max-width:48rem){
  .hero--nachweise{min-height:0;padding-block:1.75rem}
  .hero--nachweise .lk-container{row-gap:1.25rem}
  .hero__raster .arch-figure{justify-self:start;max-width:15rem}
}

/* Konstantin, 07.10.2026: „Video oben neben den Textblock." Das Raster war
   senkrecht zentriert; die linke Spalte traegt die „Auf einen Blick"-Karte
   und ist dadurch sehr hoch, also sass das Video auf deren Mitte.
   Eigene Klasse, damit `lk-grid--center` auf den anderen Seiten bleibt. */
.lk-grid--videooben{align-items:start}
.lk-grid--videooben .lk-video{position:sticky;top:calc(var(--kopf-hoehe,5rem) + 1.5rem)}
@media (max-width:48rem){
  .lk-grid--videooben .lk-video{position:static}
}

/* ---- Blocksatz im Erzaehltext (Konstantin, 07.10.2026) -------------
   „Bitte die Texte und Absätze ähnlich anordnen > Schreibstil Blocksatz."

   ⚠ Blocksatz OHNE Silbentrennung ist im Deutschen schlechter als
   Flattersatz: lange Woerter („Burnout-Prävention") zwingen den Browser,
   die Wortabstaende aufzuziehen, und es entstehen weisse Fluesse durch
   den Absatz. In einer schmalen Spalte faellt das sofort auf.
   `hyphens:auto` traegt nur, weil <html lang="de"> gesetzt ist. */
.lk-lesespalte > p{text-align:justify;hyphens:auto;-webkit-hyphens:auto;
  hyphenate-limit-chars:7 3 3;text-wrap:pretty}
/* Beide Spalten gleich hoch fuellen. */
.lk-lesespalte--zwei{column-fill:balance;orphans:2;widows:2}
/* Am Handy steht nur EINE Spalte — dort ist Flattersatz ruhiger, weil die
   Zeile breiter ist und Blocksatz dann kaum noch Loecher braucht. */
@media (max-width:48rem){
  .lk-lesespalte > p{text-align:left}
}

/* ---- Bildhoehe folgt der Texthoehe (Konstantin, 07.10.2026) --------
   „Bild höhe bitte auf die Schrift höhe anpassen." Der Rahmen trug ein
   festes aspect-ratio:4/3 und bestimmte seine Hoehe damit selbst — er
   ragte oben und unten ueber die Textspalte hinaus. */
.lk-grid--bildhoehe{align-items:stretch}
.lk-frame--texthoch{height:100%;min-height:16rem}
.lk-frame--texthoch > img{width:100%;height:100%;object-fit:cover}
/* ⚠ Am Handy stehen die beiden UNTEREINANDER. Eine Hoehe von 100 % haette
   dort keinen Bezug mehr — das Seitenverhaeltnis muss zurueck. */
@media (max-width:48rem){
  .lk-frame--texthoch{height:auto;aspect-ratio:4/3}
}

/* ---- Buchbild (Konstantin, 07.10.2026: „um 40% kleiner") -----------
   Es fuellte die ganze linke Spalte und ueberragte den Text daneben.
   60 % der bisherigen Breite, oben buendig zum Text.
   Eigene Klasse: `.arch-figure` traegt auch die Ausbildungs- und
   Leistungsseiten. */
.arch-figure--buch{width:60%;max-width:22rem;
  justify-self:center;align-self:start}
/* Die Unterschrift brach um, die „1" stand allein in Zeile zwei.
   ⚠ Nur ab 48rem: am Handy ist die Spalte schmaler als die Zeile lang
   ist — dort liefe sie aus dem Bild und erzeugte waagrechtes Scrollen. */
@media (min-width:48rem){
  .arch-figure--buch figcaption{white-space:nowrap;width:max-content;
    max-width:none;font-size:.8125rem}
}
@media (max-width:48rem){
  .arch-figure--buch{width:70%;max-width:18rem}
}
