@font-face{font-family:Archivo;src:url("/fonts/archivo-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Archivo;src:url("/fonts/archivo-latin-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Archivo;src:url("/fonts/archivo-latin-700-normal.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Source Sans 3";src:url("/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Source Sans 3";src:url("/fonts/source-sans-3-latin-400-italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Source Sans 3";src:url("/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Source Sans 3";src:url("/fonts/source-sans-3-latin-700-normal.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}

:root{
  --green:#1A5339;
  --green-deep:#0F2A1E;
  --green-mid:#2F7A56;
  --cream:#F6F3EC;
  --stone:#E4DFD3;
  --ink:#141A17;
  --muted:#5A655F;
  --white:#fff;
  --line:rgba(20,26,23,.12);
  --shadow:0 18px 40px rgba(20,26,23,.12);
  --radius:8px;
  --header-h:76px;
  --font-head:Archivo,system-ui,sans-serif;
  --font-body:"Source Sans 3",system-ui,sans-serif;
  --max:1180px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
html,body{background:var(--cream);color:var(--ink);font-family:var(--font-body);font-size:18px;line-height:1.55}
img,picture,svg{max-width:100%;display:block;height:auto}
a{color:var(--green);text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:var(--green-deep)}
:focus-visible{outline:3px solid var(--green-mid);outline-offset:3px}
.skip{position:absolute;left:-999px;top:0;background:var(--green);color:#fff;padding:8px 14px;z-index:200}
.skip:focus{left:8px;top:8px}
.wrap{width:min(var(--max),calc(100% - 40px));margin-inline:auto}
@media (min-width:800px){.wrap{width:min(var(--max),calc(100% - 80px))}}

.eyebrow{font-family:var(--font-head);font-weight:600;font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;color:var(--green-mid)}
h1,h2,h3,h4{font-family:var(--font-head);font-weight:700;line-height:1.15;letter-spacing:-.02em;color:var(--ink)}
h1{font-size:clamp(2rem,5vw,3.9rem)}
h2{font-size:clamp(1.7rem,3.4vw,2.5rem)}
h3{font-size:1.25rem}
.lead{font-size:1.15rem;color:var(--muted);max-width:40rem}
.copy{color:var(--muted)}
.copy + .copy{margin-top:1rem}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;padding:.8rem 1.25rem;border-radius:4px;font-family:var(--font-head);font-weight:600;font-size:.95rem;letter-spacing:.02em;text-decoration:none;border:1px solid transparent;cursor:pointer;line-height:1.2}
.btn-solid{background:var(--green);color:#fff}
.btn-solid:hover{background:var(--green-deep);color:#fff}
.btn-dark{background:var(--green-deep);color:#fff}
.btn-dark:hover{background:#08150f;color:#fff}
.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.btn-ghost:hover{background:rgba(255,255,255,.12);color:#fff}
.btn-line{background:transparent;color:var(--green);border-color:var(--green)}
.btn-line:hover{background:var(--green);color:#fff}
.cta-row{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem}

/* Header */
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:100}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:var(--header-h)}
.logo img{height:44px;width:auto}
.nav-toggle{display:none;width:44px;height:44px;border:0;background:transparent;cursor:pointer;position:relative}
.nav-toggle span,.nav-toggle span:before,.nav-toggle span:after{display:block;width:22px;height:2px;background:var(--ink);position:absolute;left:11px;transition:.2s}
.nav-toggle span{top:21px}
.nav-toggle span:before{content:"";top:-7px}
.nav-toggle span:after{content:"";top:7px}
.nav-toggle[aria-expanded="true"] span{background:transparent}
.nav-toggle[aria-expanded="true"] span:before{top:0;transform:rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:after{top:0;transform:rotate(-45deg)}
.topbar{background:var(--green-deep);color:#cfe0d6;font-size:.82rem}
.topbar-inner{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:36px}
.topbar-links{display:flex;gap:1.5rem}
.topbar a{color:#fff;text-decoration:none}
.topbar a:hover{text-decoration:underline}
.main-nav{display:flex;align-items:center;gap:.25rem;margin-left:auto}
.main-nav a{font-family:var(--font-head);font-weight:500;font-size:.95rem;color:var(--ink);text-decoration:none;padding:.5rem .8rem;border-radius:6px;transition:background .15s,color .15s}
.main-nav a:hover{color:var(--green);background:var(--cream)}
.main-nav a[aria-current="page"]{color:var(--green);font-weight:600}
.main-nav a.nav-kantine{color:var(--green)}
.main-nav a[href="/kontakt"]{display:none}
.header-cta{background:var(--green);color:#fff;padding:.7rem 1.2rem;border-radius:6px;font-family:var(--font-head);font-weight:600;font-size:.92rem;text-decoration:none;white-space:nowrap;margin-left:.75rem}
.header-cta:hover{background:var(--green-deep);color:#fff}

@media (max-width:980px){
  .nav-toggle{display:block}
  .header-cta,.topbar{display:none}
  .main-nav a[href="/kontakt"]{display:block}
  .main-nav a:hover{background:transparent}
  .main-nav{display:none;flex-direction:column;align-items:flex-start;gap:0;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);padding:.5rem 0 1rem;box-shadow:var(--shadow)}
  .main-nav.is-open{display:flex}
  .main-nav a{display:block;width:100%;padding:.85rem 1.5rem;font-size:.9rem}
}

/* Hero */
.hero{position:relative;min-height:min(78vh,680px);display:flex;align-items:flex-end;color:#fff;overflow:hidden;background:var(--green-deep)}
.hero .bg,.hero picture,.hero picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 58%}
.hero .shade{position:absolute;inset:0;background:linear-gradient(100deg,rgba(15,42,30,.9) 0%,rgba(15,42,30,.62) 46%,rgba(15,42,30,.2) 100%)}
.hero .content{position:relative;padding:4.5rem 0 3.5rem;max-width:40rem}
.hero h1{color:#fff}
.hero .lead{color:#e8efe9;margin-top:1.1rem}
.hero .eyebrow{color:#8fbfa5}
.page-hero{padding:3.2rem 0 2.6rem;background:linear-gradient(180deg,#fff,var(--cream))}
.page-hero h1{margin-top:.4rem}
.page-hero .lead{margin-top:1rem}

/* Trust */
.trust{background:#fff;border-block:1px solid var(--line)}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);text-align:center}
.trust-item{padding:1.15rem .8rem;font-family:var(--font-head);font-weight:600;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--green);text-decoration:none}
.trust-item span{display:block;margin-top:.25rem;font-family:var(--font-body);font-weight:400;letter-spacing:0;text-transform:none;color:var(--muted);font-size:.88rem}
.trust-item + .trust-item{border-left:1px solid var(--line)}
.trust-item:hover{background:var(--cream);color:var(--green-deep)}

/* Sections */
section.block{padding:4.5rem 0}
.block-head{margin-bottom:2rem;max-width:42rem}
.block-head .eyebrow{margin-bottom:.6rem}
.split{display:grid;grid-template-columns:1fr 1fr;gap:3.5rem;align-items:center}
.photo{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.photo img{width:100%;height:100%;object-fit:cover}
.photo-frame img{width:100%;aspect-ratio:4/3;object-fit:cover}

.services{background:var(--green-deep);color:#e8efe9}
.services h2,.services .eyebrow{color:#fff}
.teaser h3,.card.light h3{color:var(--ink)}
.services .eyebrow{color:#8fbfa5}
.services .copy,.services .lead{color:#c5d5cc}
.svc-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:1.5rem}
.card{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);border-radius:var(--radius);padding:1.6rem 1.6rem 1.2rem}
.card.light{background:#fff;border:1px solid var(--line);color:var(--ink);box-shadow:none}
.card.light h3,.card.light li{color:var(--ink)}
.card.light li{border-color:var(--line)}
.card.light li:before{background:var(--green-mid)}
.card ul{list-style:none;margin-top:1rem}
.card li{padding:.55rem 0 .55rem 1.3rem;position:relative;border-bottom:1px solid rgba(255,255,255,.08);font-size:1rem}
.card.light li{border-bottom-color:var(--line)}
.card li:last-child{border-bottom:0}
.card li:before{content:"";position:absolute;left:0;top:.95rem;width:.5rem;height:.5rem;border-radius:1px;background:var(--green-mid)}
.note{margin-top:1rem;font-size:.9rem;color:#9db3a7}
.teaser-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.teaser{background:#fff;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);text-decoration:none;color:inherit;display:flex;flex-direction:column}
.teaser img{width:100%;aspect-ratio:4/3;object-fit:cover}
.teaser .body{padding:1.1rem 1.15rem 1.3rem}
.teaser h3{margin-bottom:.35rem}
.teaser p{color:var(--muted);font-size:1rem}

/* Locations / hours */
.loc-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.loc{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
.loc img,.loc picture img{width:100%;height:200px;object-fit:cover}
.loc .body{padding:1.4rem 1.5rem 1.6rem;flex:1;display:flex;flex-direction:column}
.loc h3{margin-bottom:.35rem}
.hours-table{width:100%;border-collapse:collapse;margin-top:1rem;font-size:.95rem}
.hours-table td{padding:.3rem 0;border-bottom:1px solid var(--line)}
.hours-table td:last-child{text-align:right;font-weight:600}
.dl{display:grid;grid-template-columns:5.2rem 1fr;gap:.25rem .8rem;margin-top:1rem;font-size:1rem;color:var(--muted)}
.dl dt{color:var(--green);font-family:var(--font-head);font-weight:600;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;padding-top:.35rem}
.map-links{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.1rem}
.aside{margin-top:1.5rem;padding:1rem 1.15rem;background:var(--stone);border-radius:6px;font-size:1rem}
.kantine-band{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:2rem 2.2rem;display:grid;grid-template-columns:1.4fr auto;gap:1.5rem;align-items:center;box-shadow:var(--shadow)}
.kantine-band.featured{background:var(--green);color:#fff;border:0}
.kantine-band.featured h2,.kantine-band.featured .eyebrow{color:#fff}
.kantine-band.featured .copy{color:#d7e6de}
.kantine-band.featured .btn-line{color:#fff;border-color:#fff}
.kantine-band.featured .btn-line:hover{background:#fff;color:var(--green)}

/* FAQ */
.faq{display:grid;gap:.6rem}
.faq details{background:#fff;border:1px solid var(--line);border-radius:6px;padding:.2rem 1rem}
.faq summary{cursor:pointer;font-family:var(--font-head);font-weight:600;padding:.9rem 0;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:"+";float:right;color:var(--green);font-weight:700}
.faq details[open] summary:after{content:"–"}
.faq details p{padding:0 0 1rem;color:var(--muted)}

/* Forms */
.form{display:grid;gap:.8rem}
.form label{font-family:var(--font-head);font-weight:600;font-size:.8rem;letter-spacing:.04em}
.form input,.form select,.form textarea{width:100%;border:1px solid var(--line);background:var(--cream);padding:.75rem .9rem;font:inherit;border-radius:4px;color:var(--ink)}
.form textarea{min-height:8rem;resize:vertical}
.hp{position:absolute;left:-9999px;opacity:0;height:0;width:0;overflow:hidden}
.form-msg{padding:.8rem 1rem;border-radius:4px;display:none}
.form-msg.is-ok{display:block;background:#e4f3ea;color:var(--green-deep)}
.form-msg.is-err{display:block;background:#f8e8e4;color:#6b1f14}
.fine{font-size:.85rem;color:var(--muted)}

/* Kantine menus / certs */
.media-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.media-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
.media-card .preview{background:var(--stone);min-height:220px;display:flex;align-items:center;justify-content:center}
.media-card .preview img{width:100%;height:auto;max-height:520px;object-fit:contain;background:#fff}
.media-card .body{padding:1.1rem 1.2rem 1.3rem;display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;justify-content:space-between}
.cert-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.cert-card .preview img{max-height:360px;margin:0 auto}
.portrait-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.portrait figcaption{padding:.6rem 0 0;font-family:var(--font-head);font-weight:600;font-size:.9rem}
.portrait figcaption span{display:block;font-family:var(--font-body);font-weight:400;color:var(--muted);font-size:.85rem}
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem}
.gallery img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:6px}

/* Legal */
.legal-page{background:#fff;padding:3rem 0 5rem}
.legal-page .wrap{max-width:48rem}
.legal-page h1{margin-bottom:1.5rem}
.legal-page h2{font-size:1.3rem;margin:2rem 0 .7rem}
.legal-page h3{font-size:1.05rem;margin:1.3rem 0 .4rem}
.legal-page p,.legal-page li{color:var(--ink);margin-bottom:.8rem}
.legal-page ul,.legal-page ol{margin:0 0 1rem 1.2rem}
.legal-page li{margin-bottom:.35rem}
.agb-list{margin:.4rem 0 1rem 1.2rem}

/* Footer */
.site-footer{background:var(--green-deep);color:#c5d5cc;padding:3rem 0 1.6rem;font-size:.95rem}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:2rem}
.site-footer .logo img{height:40px;width:auto}
.site-footer a{color:#fff;text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.footer-legal{margin-top:2.2rem;padding-top:1.1rem;border-top:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;color:#8ea399;font-size:.85rem}
.footer-legal nav{display:flex;flex-wrap:wrap;gap:1.1rem}

/* Sticky call (mobile) */
.call-fab{display:none}
@media (max-width:980px){
  .call-fab{display:flex;position:fixed;right:1rem;bottom:1rem;z-index:90;background:var(--green);color:#fff;padding:.85rem 1.05rem;border-radius:999px;text-decoration:none;font-family:var(--font-head);font-weight:600;font-size:.9rem;box-shadow:0 8px 24px rgba(15,42,30,.35);align-items:center;gap:.4rem}
  .call-fab:hover{color:#fff;background:var(--green-deep)}
  body{padding-bottom:5rem}
}

/* 404 */
.notfound{min-height:60vh;display:grid;place-items:center;text-align:center;padding:4rem 0}
.notfound h1{font-size:clamp(3rem,8vw,6rem);color:var(--green)}

@media (max-width:860px){
  .split,.svc-grid,.loc-grid,.teaser-grid,.media-grid,.trust-grid,.footer-grid,.kantine-band,.cert-grid{grid-template-columns:1fr}
  .trust-item + .trust-item{border-left:0;border-top:1px solid var(--line)}
  .portrait-grid,.gallery{grid-template-columns:repeat(2,1fr)}
  .hero{min-height:520px}
  .kantine-band{padding:1.5rem}
  section.block{padding:3.2rem 0}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
}

a[href^="tel:"]{white-space:nowrap}
@media (max-width:700px){.hero picture img{object-position:64% 50%}}

/* Klickbare Vorschau + Lightbox */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.btn-route svg{flex:none}
button.preview{position:relative;width:100%;padding:0;border:0;font:inherit;cursor:zoom-in;overflow:hidden}
button.preview img{transition:transform .45s cubic-bezier(.2,.7,.2,1)}
button.preview:hover img{transform:scale(1.025)}
.zoom-hint{position:absolute;right:14px;bottom:14px;width:42px;height:42px;border-radius:999px;display:grid;place-items:center;background:rgba(15,42,30,.82);color:#fff;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);box-shadow:0 6px 18px rgba(0,0,0,.18);transition:transform .25s ease,background .25s ease}
button.preview:hover .zoom-hint,button.preview:focus-visible .zoom-hint{transform:scale(1.08);background:var(--green)}
.media-card .body .btn-solid{margin-left:auto}
html.lb-lock{overflow:hidden}
.lightbox{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;display:none}
.lightbox[open]{display:block}
.lightbox::backdrop{background:rgba(8,18,13,0);backdrop-filter:blur(0);-webkit-backdrop-filter:blur(0);transition:all .2s ease}
.lightbox.is-open::backdrop{background:rgba(8,18,13,.86);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.lightbox-figure{margin:0;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.9rem;padding:64px 20px 28px;overflow:auto;cursor:zoom-out}
.lightbox-figure img{max-width:min(1400px,100%);max-height:calc(100dvh - 140px);width:auto;height:auto;object-fit:contain;border-radius:6px;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.45);opacity:0;transform:scale(.96);transition:opacity .22s ease,transform .3s cubic-bezier(.2,.7,.2,1);cursor:default}
.lightbox.is-open .lightbox-figure img{opacity:1;transform:none}
.lightbox-figure figcaption{color:rgba(255,255,255,.85);font-family:var(--font-head);font-weight:600;font-size:.95rem;letter-spacing:.02em}
.lightbox-close{position:fixed;top:16px;right:16px;width:46px;height:46px;border-radius:999px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.1);color:#fff;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);transition:background .2s ease,transform .2s ease;z-index:2}
.lightbox-close:hover{background:rgba(255,255,255,.22);transform:rotate(90deg)}
@media (prefers-reduced-motion:reduce){button.preview img,.lightbox-figure img,.lightbox::backdrop,.lightbox-close{transition:none}}
.media-card .preview[hidden]{display:none}

/* Fix: Lupe sitzt immer im Bild (auch iOS Safari) */
button.preview{-webkit-appearance:none;appearance:none;display:flex;align-items:center;justify-content:center;background:var(--stone);color:inherit;border-radius:0;-webkit-tap-highlight-color:transparent}
.zoom-frame{position:relative;display:inline-block;max-width:100%;line-height:0}
.zoom-frame img{display:block;width:auto;max-width:100%;height:auto}
.media-card .preview .zoom-frame img{max-height:520px}
.cert-card .preview .zoom-frame img{max-height:360px}
.zoom-hint{right:10px;bottom:10px;width:38px;height:38px}
.cert-card .preview .zoom-frame img{max-height:320px;box-shadow:0 4px 14px rgba(20,26,23,.10)}
.media-card:not(.cert-card) button.preview{padding:1rem}
.cert-card .body{flex-direction:column;align-items:flex-start;justify-content:flex-start}
@media (min-width:981px){.media-grid .media-card:not(.cert-card) button.preview{height:460px;flex:none}.media-grid .media-card:not(.cert-card) .zoom-frame img{max-height:428px}.media-grid .media-card .body{margin-top:auto}}
