/* /public/assets/site.css – Global Styles (Public)
   - einheitliche Basis + Menü + Layout-Components
   - keine <style>-Blöcke in den Seiten
   Stand: 2025-12-19
*/

:root{
  --brand-yellow:#ffd200;
  --brand-red:#c8102e;
  --brand-red-600:#a20a0a;
  --brand-blue:#00205b;

  --ink:#0f1222;
  --ink-2:#2a3146;
  --muted:#6c7898;

  --bg:#ffffff;
  --bg-soft:#f6f8fc;
  --card:#ffffff;
  --border:#e5e9f2;

  --shadow:0 14px 30px rgba(10,18,40,.16);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
  color:var(--ink);
  background:var(--bg);
}
img{max-width:100%;height:auto}

/* optional: verhindert riesige inline-SVGs (Standard 300x150) */
svg{display:inline-block;vertical-align:middle}
svg:not([width]):not([height]){width:1em;height:1em}

a{color:var(--brand-red);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1200px;margin:0 auto;padding:0 24px}
@media (max-width:640px){ .container{padding:0 16px} }

/* =========================================
   HEADER / NAV
========================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:99999;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid var(--border);
  isolation:isolate;
}
.site-header *{pointer-events:auto}

.site-header .nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 0;
}
.site-header .logo{display:flex;align-items:center;text-decoration:none}
.site-header .logo img{height:64px;width:auto;display:block}
@media (min-width:921px){ .site-header .logo img{height:72px} }
@media (max-width:640px){ .site-header .logo img{height:56px} }

.menu{
  display:flex;
  align-items:center;
  gap:12px;
}
.navbtn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.08);
  background:var(--brand-blue);
  color:#fff;
  font-weight:800;
  cursor:pointer;
  user-select:none;
  line-height:1;
  box-shadow:0 8px 20px rgba(0,0,0,.12);
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
  white-space:nowrap;
}
.navbtn svg{fill:currentColor;width:16px;height:16px}
.navbtn:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 26px rgba(0,0,0,.16);
  filter:brightness(1.05);
  text-decoration:none;
}
.navbtn.is-active{background:var(--brand-red)}
.navbtn:focus-visible{outline:3px solid rgba(255,210,0,.95);outline-offset:3px}

.dropdown{position:relative}
.dropdown-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:320px;
  background:var(--brand-red);
  color:#fff;
  border-radius:16px;
  padding:10px;
  box-shadow:var(--shadow);
  z-index:999999;
}
.dropdown-menu[hidden]{display:none!important}
.dropitem{
  display:block;
  padding:12px 14px;
  border-radius:12px;
  color:#fff;
  font-weight:700;
}
.dropitem:hover{background:rgba(255,255,255,.14);text-decoration:none}
.dropitem.is-active{background:rgba(255,255,255,.22)}

.burger{
  display:none;
  align-items:center;
  justify-content:center;
  height:44px;
  width:48px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
}
.burger svg{width:20px;height:20px;fill:currentColor}

.nav-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.18);
  z-index:99990;
}
.nav-overlay[hidden]{display:none!important}

.mobile-panel{
  display:none;
  position:absolute;
  left:0;
  right:0;
  top:100%;
  background:rgba(255,255,255,.98);
  border-top:1px solid var(--border);
  padding:12px 0 16px;
  z-index:99995;
}
.mobile-panel[hidden]{display:none!important}

.mobile-row{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.m-item, .m-drop{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--ink);
  font-weight:800;
}
.m-item.is-active{border-color:rgba(200,16,46,.35)}
.m-subitem{
  display:block;
  padding:12px;
  border-radius:14px;
  border:1px dashed var(--border);
  background:#fff;
  color:var(--ink);
  font-weight:700;
}
.mobile-sub{display:none;flex-direction:column;gap:8px;padding-left:8px}
.mobile-sub[hidden]{display:none!important}
.mobile-sub.is-open{display:flex}

@media (max-width:920px){
  .menu{display:none}
  .burger{display:flex}
  .mobile-panel{display:block}
}

/* =========================================
   COMMON SECTIONS / COMPONENTS
========================================= */
.hero img{
  width:100%;
  height:clamp(180px,32vh,360px);
  object-fit:cover;
  object-position:center;
  display:block;
}
section{padding:48px 0}
@media (max-width:640px){ section{padding:28px 0} }

h1,h2,h3{color:var(--brand-red);margin-top:0}
h2{font-size:clamp(22px,2.2vw,30px);margin:0 0 10px}
.lead{color:var(--ink-2);max-width:900px;margin:0 auto}
.sep{border:0;border-top:1px solid var(--border);margin:28px auto;max-width:900px}

.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
@media (max-width:900px){ .grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width:560px){ .grid{grid-template-columns:1fr;gap:16px} }

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:22px;
  box-shadow:0 10px 24px rgba(10,18,40,.06);
}
@media (max-width:640px){ .card{padding:16px;border-radius:14px} }

.icon{height:68px;display:grid;place-items:center;margin-bottom:12px}
.icon svg{width:56px;height:56px;fill:var(--brand-red)}

.twocol{display:grid;grid-template-columns:1fr 1fr;gap:24px}
@media (max-width:900px){ .twocol{grid-template-columns:1fr} }

.split{display:grid;grid-template-columns:1fr 1fr;gap:24px}
@media (max-width:900px){ .split{grid-template-columns:1fr;gap:16px} }
.photo{border-radius:16px;overflow:hidden;border:1px solid var(--border)}
.photo img{width:100%;display:block;aspect-ratio:16/9;object-fit:cover}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:2px solid var(--brand-red);
  background:var(--brand-red);
  color:#fff;
  border-radius:12px;
  padding:12px 16px;
  font-weight:800;
  cursor:pointer;
}
.btn:hover{background:#fff;color:var(--brand-red);text-decoration:none}
.btn.secondary{background:#fff;color:var(--brand-red)}
.btn.secondary:hover{background:var(--bg-soft)}

.strip{
  background:var(--bg-soft);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  padding:26px 0;
}

/* =========================================
   FOOTER (Public)
========================================= */
footer{
  padding:26px 0;
  font-size:14px;
  color:var(--muted);
  border-top:1px solid var(--border);
}
.footgrid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px}
@media (max-width:900px){ .footgrid{grid-template-columns:1fr} }
.footgrid h4{margin:.2rem 0 .2rem;font-size:16px;color:var(--ink)}
.links{display:flex;gap:14px;flex-wrap:wrap}
.links a{color:var(--ink-2)}

.pin-mini{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}
.pin-mini input{
  width:110px;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid var(--border);
  background:var(--card);
  color:inherit;
}
.pin-mini button{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 10px;
  border-radius:10px;
  cursor:pointer;
  border:1px solid var(--brand-red);
  background:var(--brand-red);
  color:#fff;
  font-weight:800;
  line-height:1;
}
.pin-mini button:hover{ background:var(--brand-red-600); border-color:var(--brand-red-600); }
.pin-mini button svg{ width:16px; height:16px; fill:#fff; }

/* =========================================
   COOKIE BANNER (beide Varianten unterstützt)
========================================= */
.cookie-banner,
#cookie-bar{
  position:fixed;
  left:16px; right:16px; bottom:16px;
  z-index:999999;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  box-shadow:var(--shadow);
  padding:14px;
  display:none;
}
.cookie-banner.show,
#cookie-bar.show{display:block}

.cookie-content,
.cookie-flex{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
}
.cookie-text,
.cookie-bar-text{
  margin:0;
  color:var(--ink-2);
  font-size:14px;
  line-height:1.45;
}
.cookie-accept-btn{
  border:1px solid var(--brand-red);
  background:var(--brand-red);
  color:#fff;
  font-weight:900;
  padding:10px 14px;
  border-radius:12px;
  cursor:pointer;
  white-space:nowrap;
}
.cookie-accept-btn:hover{
  background:var(--brand-red-600);
  border-color:var(--brand-red-600);
}
@media (max-width:640px){
  .cookie-banner,
  #cookie-bar{left:10px;right:10px;bottom:10px;border-radius:14px}
  .cookie-content,
  .cookie-flex{flex-direction:column;align-items:stretch}
  .cookie-accept-btn{width:100%}
}
.contact-person-wrap{
  display:flex;
  justify-content:center;
}

.contact-person-card{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap:24px;
  align-items:center;
  background:#fff;
  border-radius:18px;
  padding:22px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  max-width:900px;
  width:100%;
}

.contact-person-photo{
  width:100%;
}

.contact-person-photo img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  border-radius:18px;
  display:block;
}

.contact-person-body h3{
  margin:0 0 8px;
}

.contact-person-role{
  margin:0 0 14px;
  font-weight:600;
  opacity:.75;
}

.contact-person-text{
  margin:0 0 18px;
  line-height:1.6;
}

.contact-person-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.btn-outline{
  background:transparent;
  border:1px solid currentColor;
}

@media (max-width: 760px){
  .contact-person-card{
    grid-template-columns:1fr;
    text-align:center;
  }

  .contact-person-photo{
    max-width:220px;
    margin:0 auto;
  }

  .contact-person-actions{
    justify-content:center;
  }
}
.hours-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
}

.hours-table th,
.hours-table td{
  padding:8px 0;
  text-align:left;
  vertical-align:top;
}

.hours-table th{
  width:140px;
  padding-right:18px;
  font-weight:700;
  white-space:nowrap;
}

.hours-table td{
  white-space:nowrap;
}

@media (max-width: 980px){
  .hours-table th{
    width:120px;
    padding-right:14px;
  }
}
.contact-mini{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-align:left;
  height:100%;
}

.contact-mini img{
  width:100%;
  max-width:220px;
  aspect-ratio:1 / 1;
  object-fit:cover;
  border-radius:16px;
  display:block;
  margin:0 0 14px 0;
  background:#f2f2f2;
  border:1px solid rgba(0,0,0,.06);
}

.contact-mini-body{
  display:flex;
  flex-direction:column;
  flex:1;
  width:100%;
  align-items:flex-start;
}

.contact-mini-body h3{
  margin:0 0 6px;
  text-align:left;
}

.contact-mini-role{
  margin:0 0 10px;
  font-weight:600;
  opacity:.75;
  text-align:left;
}

.contact-mini-text{
  margin:0 0 16px;
  line-height:1.5;
  text-align:left;
}

.contact-mini-actions{
  display:flex;
  gap:10px;
  justify-content:flex-start;
  flex-wrap:wrap;
  margin-top:auto;
}