/* assets/site.css — Clean light theme with mint accents
   ========================================================================== */

/* 1) Design Tokens */
:root{
  /* Flächen */
  --bg:#FFFFFF;
  --card:#FFFFFF;
  --surface:#FFFFFF;
  --surface-2:#F7FAF9;
  --footer:#EFECE6;

  /* Typo */
  --text:#111111;
  --muted:#666E65;
  --heading:#0F1412;

  /* Brand (Brass) */
  --primary:#8C6239;
  --primary-600:#7D5833;
  --primary-700:#6C4B2B;
  --accent:#B59158;

  /* Mint */
  --mint:#63b4a0;
  --mint-hi:#7fd2bf;
  --mint-lo:#3a8c7a;

  /* Layout */
  --maxw:1200px;
  --page-max: var(--maxw);
  --radius:16px;
  --shadow:0 8px 24px rgba(0,0,0,.08);
  --border:rgba(0,0,0,.08);
  --border-strong:rgba(0,0,0,.14);

  /* Hero */
  --hero-h: 55vh;        /* Desktop-Default */
  --hero-h-mobile:32svh; /* Mobile-Default */
}
@supports (color-mix(in oklab, black, white)){
  :root{
    --primary-hi: color-mix(in oklab, var(--primary) 72%, white 28%);
    --primary-lo: color-mix(in oklab, var(--primary) 65%, black 35%);
    --accent-hi:  color-mix(in oklab, var(--accent)  76%, white 24%);
    --accent-lo:  color-mix(in oklab, var(--accent)  70%, black 30%);
    --mint-hi:    color-mix(in oklab, var(--mint) 78%, white 22%);
    --mint-lo:    color-mix(in oklab, var(--mint) 65%, black 35%);
  }
}

/* 2) Base / A11y */
*{ box-sizing:border-box }
html,body{
  margin:0; padding:0;
  background:var(--bg); color:var(--text);
  font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  overflow-x:hidden; overscroll-behavior-x:none;
}
img{ display:block; max-width:100%; height:auto }
a{ color:inherit; text-decoration:none }
a:hover{ color:var(--heading) }
::selection{ background:color-mix(in oklab, var(--mint), white 70%) }
:where(a,button,[role="button"],.acc-toggle,.menu a):focus-visible{
  outline:2px solid var(--mint); outline-offset:2px; border-radius:10px;
}

/* 3) Header / Navigation */
.site-header{
  position:sticky; top:0; z-index:50; background:#fff;
  border-bottom:1px solid var(--border);
  transition: box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.site-header.is-stuck{ box-shadow:0 6px 18px rgba(0,0,0,.06) }
.nav{
  position:relative; max-width:var(--maxw);
  margin:0 auto; padding:10px 16px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  transition: padding .18s ease;
}
.site-header.is-stuck .nav{ padding:6px 16px; }
.brand{ display:flex; align-items:center; gap:12px; font-weight:700; color:#111; }
.brand .logo-dot{
  width:12px; height:12px; border-radius:50%;
  background: conic-gradient(from 210deg, var(--mint-lo), var(--mint), var(--mint-hi), var(--mint));
  box-shadow: 0 0 0 2px rgba(0,0,0,.05), inset 0 1px 1px rgba(255,255,255,.65), inset 0 -1px 1px rgba(0,0,0,.12);
}
.menu{ display:flex; gap:18px; flex-wrap:wrap }
.menu a{ color:#111; font-weight:700; padding:8px 10px; border-radius:10px; }
.menu a:hover,.menu a:focus{ background: color-mix(in oklab, var(--mint), white 92%) }
.menu a.is-active{ box-shadow: inset 0 -2px 0 0 var(--mint); }

.menu-toggle{ display:none; background:transparent; border:0; color:#111; font-size:28px; line-height:1; cursor:pointer }
@media (max-width:860px){
  .menu{
    position:absolute; top:100%; right:clamp(10px,2vw,16px); z-index:55;
    display:flex; flex-direction:column; gap:8px; align-items:stretch;
    width:max-content; max-width:92vw; padding:10px;
    background: linear-gradient(180deg, rgb(0 0 0 / 18%) 0%, rgb(0 0 0 / 10%) 100%);
    border:1px solid color-mix(in oklab, var(--primary-700), black 35%);
    border-top:none; border-bottom-left-radius:12px; border-bottom-right-radius:12px;
    box-shadow:0 12px 26px rgb(0 0 0 / 28%); backdrop-filter:saturate(140%) blur(2px);
    visibility:hidden; opacity:0; transform:translateY(-8px);
    max-height:0; overflow:hidden;
    transition: opacity .2s ease, transform .2s ease, max-height .25s ease, visibility 0s linear .2s;
  }
  .menu.show{
    visibility:visible; opacity:1; transform:translateY(0);
    max-height:60svh; overflow:auto; transition: opacity .2s ease, transform .2s ease, max-height .25s ease, visibility 0s;
  }
  .menu a{
    text-align:right; padding:12px 14px; border-radius:12px; color:#fff;
    background:rgb(0 0 0 / 20%); border:1px solid rgb(255 255 255 / 12%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 6px rgb(0 0 0 / 18%);
    white-space:nowrap; max-width:100%; overflow:hidden; text-overflow:ellipsis;
  }
  .menu-toggle{ display:block; }
}

/* 4) Hero – eine Definition */
.hero{ position: relative; overflow: hidden; background:#000; }
.hero__img{
  width:100%;
  height: clamp(280px, var(--hero-h), 760px);
  object-fit: cover;
  object-position: top center;
  filter: contrast(.98) brightness(.97) saturate(1.02);
  display:block;
}
.hero__overlay{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.22) 30%, rgba(0,0,0,.40)); z-index:1 }
.hero__title{
  position:absolute; left:50%; bottom:18px; transform:translateX(-50%);
  width:min(96%,var(--maxw)); color:#F2F2F2; text-shadow:0 2px 18px rgba(0,0,0,.45);
  font-weight:750; letter-spacing:.2px; font-size:clamp(22px,4.5vw,40px); z-index:2;
}
.hero__brand{
  position:absolute; top:16px; left:50%; transform:translateX(-50%);
  width:min(96%, var(--maxw)); display:flex; justify-content:flex-start; z-index:2; pointer-events:none;
}
.hero__logo-badge{ pointer-events:auto; background:transparent; border:0; box-shadow:none; border-radius:16px; padding:10px 14px; }
.hero__logo{ display:block; height:72px }
@media (min-width:768px){ .hero__logo{ height:96px } }
@media (min-width:1024px){ .hero__logo{ height:128px } }
@media (min-width:1440px){ .hero__logo{ height:144px } }

/* Desktop: Hero auf Contentbreite einschränken */
@media (min-width:900px){
  .hero{ max-width: var(--page-max); margin-inline:auto; border-radius: 16px; box-shadow: 0 10px 24px rgba(0,0,0,.08); }
}
/* Mobile: geringere Höhe */
@media (max-width:640px){
  :root{ --hero-h: var(--hero-h-mobile); }
}

/* 5) Sections / Text */
.section{ max-width:var(--maxw); margin:28px auto; padding:0 16px }
.section h2{ margin:0 0 14px; color:var(--heading); font-size:clamp(20px,2.6vw,28px); letter-spacing:.3px }
.section p.lead{ color:var(--text); opacity:.95; margin:0 0 20px }

/* 6) Band (z. B. Aktuelles-Hintergrund) */
.section--band{ position:relative; isolation:isolate }
.section--band::before{
  content:""; position:absolute; inset:-18px 0; left:50%; transform:translateX(-50%);
  width:100%; background: linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 45%, #F5F7F6 100%);
  box-shadow: inset 0 1px 0 rgba(0,0,0,.06), inset 0 -1px 0 rgba(0,0,0,.06); z-index:-1;
  mask-image: radial-gradient(120% 100% at 50% 0%, black 68%, transparent 101%);
}
@supports (width: 100svw){ .section--band::before{ width:100svw } }

/* 7) Tiles – mint (Default) */
.tiles{ display:grid; gap:18px; grid-template-columns:1fr }
@media (min-width:640px){ .tiles{ grid-template-columns:repeat(2,1fr) } }
@media (min-width:1024px){ .tiles{ grid-template-columns:repeat(3,1fr) } }
.tile{
  background:var(--mint); color:#fff;
  border:1.5px solid color-mix(in oklab, var(--mint), black 12%);
  border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
  display:flex; flex-direction:column;
  transition: box-shadow .15s ease, background .15s ease;
}
.tile__media{ aspect-ratio:16/9; background: color-mix(in oklab, var(--mint), black 12%); overflow:hidden }
.tile__media img{ width:100%; height:100%; object-fit:cover; object-position:center; filter:brightness(.98) }
.tile__body{ padding:16px 16px 18px; display:flex; flex-direction:column; gap:8px }
.tile__kicker{ font-size:.8rem; font-weight:800; letter-spacing:.8px; text-transform:uppercase; color:#eafff9 }
.tile__title{ font-size:1.15rem; font-weight:800; letter-spacing:.2px; color:#ffffff }
.tile__desc{ color:#f1fffb }
.tile__cta{ margin-top:auto; display:flex; gap:10px; align-items:center; font-weight:700; color:#ffffff }

/* 7b) Tiles – weiße Variante (Seiten-spezifisch) */
.tiles--white .tile{
  background: var(--card);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.tiles--white .tile__media{ background: var(--surface-2); }
.tiles--white .tile__kicker{ color: var(--mint); }
.tiles--white .tile__title{ color: var(--heading); }
.tiles--white .tile__desc{ color: var(--text); }
.tiles--white .tile__cta .btn{
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

/* 8) Klassisches Accordion (.acc) – bleibt für alte Bereiche nutzbar */
.acc{ display:flex; flex-direction:column; gap:12px }
.acc-item{ background:var(--card); border:1px solid var(--border); border-radius:12px; box-shadow:var(--shadow); overflow:hidden }
.acc-head{ margin:0 }
.acc-toggle{
  width:100%; text-align:left; border:0; background:transparent; color:var(--heading);
  padding:14px 16px; font-weight:800; display:flex; justify-content:space-between; align-items:center; cursor:pointer;
}
.acc-icon{ transition:transform .15s ease }
.acc-toggle[aria-expanded="true"] .acc-icon{ transform:rotate(180deg) }
.acc-panel[hidden]{ display:none }
.acc-panel{ border-top:1px solid var(--border); background:transparent }
.acc-inner{ display:grid; gap:16px; padding:14px 16px; grid-template-columns:1fr }
.acc-media img{ width:100%; height:auto; border-radius:10px }
.acc-content{ display:flex; flex-direction:column; gap:12px }
.acc-text{ white-space:pre-wrap; color:var(--text) }
/* eigene Bullets in .acc-text */
.acc-text ul,.acc-text ol{ margin:0; padding-left:0; list-style:none }
.acc-text li{ position:relative; padding-left:1.75rem; margin:.35rem 0 }
.acc-text li::before{
  content:""; position:absolute; left:0; top:.9em; transform:translateY(-50%);
  width:.8rem; height:.8rem; border-radius:50%;
  background: var(--mint); box-shadow: 0 0 0 2px color-mix(in oklab, var(--mint), white 40%);
}

/* 9) Announcements – JS-frei mit <details> (.news-acc) – mintgrün */
.news-acc{ display:grid; gap:10px; }
.news-item{
  background: var(--mint); color:#fff;
  border: 1px solid color-mix(in oklab, var(--mint), black 20%);
  border-radius:14px; box-shadow: var(--shadow, 0 6px 18px rgba(0,0,0,.10));
  overflow:hidden;
}
.news-head{
  list-style:none; display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:12px 14px; margin:0; cursor:pointer; font-weight:800; color:#fff;
}
.news-head::-webkit-details-marker{ display:none; }
.news-chev{
  width:.8em; height:.8em; flex:0 0 .8em;
  border:2px solid #fff; border-left:0; border-top:0; transform: rotate(45deg);
  opacity:.9; transition: transform .18s ease;
}
.news-item[open] .news-chev{ transform: rotate(-135deg); }
.news-panel{ padding: 0 14px 14px 14px; }
.news-inner{ display:flex; gap:14px; }
.news-media img{ display:block; max-width:160px; height:auto; border-radius:10px; }
.news-content .news-text{ margin-top:8px; color:#fff }
.news-acc a:not(.btn){ color:#fff; text-decoration: underline; text-underline-offset:2px; }
.news-acc .btn.btn-primary{
  display:inline-block; background:#fff; color: var(--mint);
  padding:8px 12px; border-radius:10px;
  border:1px solid #fff; text-decoration:none; font-weight:700;
}
@media (max-width:680px){
  .news-inner{ flex-direction:column; }
  .news-media img{ max-width:100%; }
}

/* 10) Buttons (zentral) */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-weight:700; text-decoration:none; padding:10px 14px;
  border-radius:10px; border:1px solid transparent;
  transition: box-shadow .2s ease, filter .15s ease;
}
.btn:active{ transform:translateY(1px) }
.btn-primary{ background:var(--primary); color:#fff }
.btn-primary:hover{ filter:brightness(1.07) }

/* Weißer Button (für weiße Tiles/Privatstunden) */
.btn--white{
  background:#fff;
  color: var(--text);
  border:1px solid var(--border-strong);
}
.btn--white:hover{ filter:brightness(1.03) }

/* Metallic Variante (ruhig, ohne „Shine“-Animation) */
.btn-brass{
  color:#141312;
  border:1px solid color-mix(in oklab, var(--accent), black 35%);
  background: linear-gradient(160deg, var(--accent-hi) 0%, var(--accent) 36%, var(--accent-lo) 54%, var(--accent-hi) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(0,0,0,.25), 0 8px 18px rgba(181,145,88,.35);
}

/* 11) Footer */
.footer{ max-width:var(--maxw); margin:40px auto 24px; padding:0 16px; color:var(--muted); font-size:.95rem }
.footer a{ color:var(--primary); border-bottom:1px solid rgba(140,98,57,.35) }
.footer a:hover{ border-bottom-color:rgba(140,98,57,.7) }
.site-footer{
  --accent: var(--mint); background:#000; color:#f5f5f5;
  padding:48px 0 18px; font-size:15px; line-height:1.6;
}
.site-footer a{ color: var(--accent); }
.site-footer a:hover{ text-decoration: underline; }
.footer-inner{
  max-width:var(--maxw); margin:0 auto; padding:0 20px;
  display:grid; grid-template-columns: 1.2fr 1fr; gap:48px 32px; align-items:start;
}
.footer-brand .brand-link img{ max-width:360px }
.footer-brand .adtv{ margin-top:14px; height:44px; width:auto; opacity:.9 }
.social-list{ display:flex; gap:14px; margin:18px 0 0; padding:0; list-style:none }
.social-btn{
  width:42px; height:42px; display:inline-flex; align-items:center; justify-content:center;
  border:1.5px solid var(--accent); border-radius:50%; color:#fff; background:transparent;
  transition: border-color .18s ease;
}
.social-btn:hover{ border-color: color-mix(in oklab, var(--accent), white 18%) }
.footer-meta{ border-top:1px solid rgba(255,255,255,.08); margin-top:28px }
.footer-meta-inner{
  max-width:var(--maxw); margin:0 auto; padding:14px 20px 0;
  display:flex; gap:12px; align-items:center; justify-content:space-between; color:#cfcfcf;
}
.footer-meta a{ color:#e8e8e8 }
.footer-meta a:hover{ color:#fff; text-decoration:none }

/* 12) Floating Action Buttons – statisch, ohne Hover-Spielereien */
.fab{
  position:fixed;
  right:max(clamp(12px,2vw,18px), env(safe-area-inset-right));
  bottom:max(clamp(12px,2vw,18px), env(safe-area-inset-bottom));
  display:flex; flex-direction:column; gap:12px; z-index:60;
}
@media print{ .fab{ display:none } }
.fab__btn{
  position:relative; display:inline-flex; align-items:center; gap:10px;
  min-height:48px; padding:10px 14px; border-radius:999px;
  color:#fff; background: var(--mint);
  border:1px solid color-mix(in oklab, var(--mint), black 20%);
  box-shadow:0 8px 18px rgba(0,0,0,.18);
  text-decoration:none; font-weight:750; letter-spacing:.2px;
  transition:none;
}
.fab__btn:hover,
.fab__btn:active,
.fab__btn:focus-visible{
  filter:none; transform:none; box-shadow:0 8px 18px rgba(0,0,0,.18);
}
.fab__icon{ width:22px; height:22px; flex:0 0 22px; fill:currentColor; opacity:.95 }
.fab__label{ white-space:nowrap }
@media (max-width:640px){
  .fab__btn{ min-height:48px; padding:12px; justify-content:center }
  .fab__label{ display:none }
  .fab__icon{ width:24px; height:24px }
}

/* 13) Motion Preferences */
@media (prefers-reduced-motion:reduce){
  .nav, .acc-icon, .btn, .social-btn, .news-chev { transition:none !important }
}

/* 14) Misc */
html.menu-open, body.menu-open{ overflow:hidden; height:100% }
body.layout-stack{ min-height:100svh; display:flex; flex-direction:column }
main{ flex:1 0 auto }
.site-footer{ flex-shrink:0 }

/* Footer: Mobile-Fix (Kontakt sichtbar) */
@media (max-width: 860px){
  .footer-inner{
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-contact{ order: -1; }
  .footer-brand .brand-link img{ max-width: 240px; height: auto; }
  .site-footer{ padding-bottom: max(72px, 18px + env(safe-area-inset-bottom)); }
}
/* Extra small: Social-Buttons kleiner */
@media (max-width: 420px){
  .social-btn{ width:36px; height:36px; }
}
/* Startseite: Kicker auffälliger (schwarz + etwas größer) */
.tiles--home .tile__kicker{
  color:#111;            /* schwarz */
  font-size:.95rem;      /* etwas größer */
  letter-spacing:1px;    /* minimal prägnanter */
}
/* Cookie-Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  font-size: 0.9rem;
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1 1 260px;
  color: #111827;
}

.cookie-banner__text a {
  color: #63b4a0; /* dein Mint */
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-btn {
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.cookie-btn--primary {
  background: #63b4a0; /* Mint */
  color: #ffffff;
  border-color: #63b4a0;
}

.cookie-btn--primary:hover {
  filter: brightness(0.95);
}

.cookie-btn--secondary {
  background: #ffffff;
  color: #111827;
  border-color: #d1d5db;
}

.cookie-btn--secondary:hover {
  background: #f3f4f6;
}

@media (max-width: 640px) {
  .cookie-banner__inner {
    align-items: flex-start;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-start;
  }
}
