/* =========================================================
   Achter de Kark – styles.css (clean, consolidated)
   ========================================================= */

/* ================== Design-Variablen ================== */
:root{
  --brand:#2c6e66;
  --brand-2:#2c6e66;
  --heading-font:"Merienda", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Weiches, natürliches Farbschema */
  --bg:#f6f3ed;
  --bg-alt:#f3f6f4;

  --paper:#ffffff;
  --paper-soft:#fdfcf9;

  --ink:#222826;
  --muted:#65727a;

  --radius:16px;
  --shadow:0 6px 24px rgba(0,0,0,.08);
  --divider:#e6e2da;
  --max:1200px;

  /* Carousel-Verhältnis (Desktop) */
  --carousel-ratio: 16 / 10;

  /* Motion */
  --ease: cubic-bezier(.22,1,.36,1);
  --dur: 520ms;
  --stagger: 80ms;
}

/* ================== Global / Typo ================== */
*{ box-sizing:border-box }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:system-ui, sans-serif;
  line-height:1.6;
  background:var(--bg);
  color:var(--ink);
}
img{ max-width:100%; display:block; height:auto }
a{ color:var(--brand-2); text-decoration:none; }
a:hover{ text-decoration:underline; }
section{ scroll-margin-top: 90px; }

h1, h2, h3{
  font-family: var(--heading-font);
  font-weight:700;
  line-height:1.15;
  letter-spacing:.1px;
  margin: .25rem 0 .75rem;
}
h1{ font-size: clamp(1.9rem, 1.1rem + 2.4vw, 2.6rem); }
h2{ font-size: clamp(1.5rem, 1.0rem + 1.4vw, 2.0rem); color:var(--brand-2); }
h3{ font-size: clamp(1.15rem, .9rem + .8vw, 1.4rem); }

/* Fokus-Ringe */
a:focus-visible, button:focus-visible, .carousel__arrow:focus-visible,
input:focus-visible, textarea:focus-visible{
  outline:3px solid var(--brand);
  outline-offset:2px;
  border-radius:8px;
}

/* Container & Sektionen */
.container{ width:min(100% - 2rem, var(--max)); margin:auto; }
.section{ padding:2rem 0; }
.section.alt{ background:var(--bg-alt); }
.section--divider{ border-top:1px solid var(--divider); }
.section-subtitle{
  font-size:1.1rem; color:var(--muted);
  text-align:center; max-width:700px; margin:.3rem auto 0;
}

/* ================== Header ================== */
header{
  position:sticky; top:0; z-index:50;
  background:var(--paper-soft);
  border-bottom:1px solid var(--divider);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.6rem 0;
}
.logo img{ height:50px; width:auto; }
nav{ display:flex; align-items:center; gap:1rem; }
nav a{
  color:var(--ink);
  font-weight:600;
  padding:.35rem .5rem;
  border-radius:999px;
}
nav a:hover{ background:rgba(0,0,0,.05); text-decoration:none; }
.cta.outline{
  border:2px solid var(--brand);
  color:var(--brand);
  border-radius:999px;
  padding:.45rem 1rem;
}
.cta.outline:hover{ background:var(--brand); color:#fff; }
header.scrolled{
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(120%) blur(6px);
  box-shadow:0 4px 18px rgba(0,0,0,.08);
}

/* ================== Hero ================== */
.hero{
  position:relative; min-height:70vh; max-height:85vh;
  display:flex; align-items:center; justify-content:center;
  text-align:center; color:#fff;
}
.hero::before{
  content:""; position:absolute; inset:0; z-index:-2;
  background:url("../hero/hero.jpg") center 35% / cover no-repeat;
  transform: translateY(var(--hero-shift, 0));
  will-change: transform;
}
.hero::after{
  content:""; position:absolute; inset:0; z-index:-1;
  background:rgba(0,0,0,.20);
}

.hero__content{
  background:rgba(0,0,0,.25);
  padding:2rem;
  border-radius:1rem;
  margin:0 1rem;
  max-width:1100px;
  animation: fade-up 700ms var(--ease) both 100ms;
}
.hero h1{ margin-bottom:1rem; word-break:keep-all; }

/* CTA im Hero */
.hero .cta, .hero a.cta, .hero .cta.outline, .hero a.cta.outline{
  background: var(--brand);
  color:#fff;
  border:none;
  padding:.7rem 1.2rem;
  border-radius:999px;
  font-weight:700;
  display:inline-block;
  box-shadow:var(--shadow);
}
.hero .cta:hover, .hero a.cta:hover,
.hero .cta.outline:hover, .hero a.cta.outline:hover{
  background:#245b55;
  color:#fff;
}

/* ================== Badges ================== */
.badges{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  justify-content:center;
  margin:1rem 0;
}

/* Basis-Stil (wie bei dir) */
.badge{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.35);
  color:#fff;
  border-radius:999px;
  padding:.35rem .7rem;
  font-size:.9rem;
  line-height:1;
  transition: background .25s ease, transform .25s ease;
  -webkit-backdrop-filter:saturate(110%) blur(2px);
  backdrop-filter:saturate(110%) blur(2px);
}

/* Icon (SVG) */
.badge svg{
  width:14px;
  height:14px;
  flex:0 0 auto;
  transition: transform .25s ease, color .25s ease;
}

.badge:hover{
  background:rgba(255,255,255,.3);
  transform: translateY(-2px);
}
.badge:hover svg{
  transform:scale(1.2);
  color:#fff;
}

/* DTV Badge: wie ein normales Badge, nur mit Bild statt SVG */
.badge--dtv img{
  height:14px;         /* exakt wie SVG-Icons */
  width:auto;
  display:block;
  object-fit:contain;  /* NICHT croppen */
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  filter:none;         /* kein künstlicher Rand/Shadow */
}

/* Falls du das DTV-Badge etwas “wichtiger” machen willst, nimm 16px:
.badge--dtv img{ height:16px; }
*/

/* Safety: Badges NIE unsichtbar (falls Reveal-JS mal nicht läuft) */
.badges.reveal{
  opacity: 1 !important;
  transform: none !important;
}

/* ================== Willkommenstext ================== */
.welcome-text{
  max-width:110ch;
  margin:0 auto 2rem;
  font-size:1.1rem;
  line-height:1.7;
  text-align:center;
  color:#333;
}
.welcome-text p:first-child strong{
  font-size:1.3rem;
  color:#1d4f3f;
  display:block;
  margin-bottom:.5rem;
}

/* ================== Haus (Überschrift) ================== */
#haus{ text-align:center; margin-top:1.5rem; }
#haus h2{ margin:0 0 .35rem; position:relative; }
#haus h2::after{
  content:"";
  display:block;
  width:72px;
  height:3px;
  margin:.6rem auto 0;
  background: color-mix(in srgb, var(--brand-2) 60%, transparent);
  border-radius:2px;
}
#haus > p{ max-width:680px; margin:0 auto 1.5rem; color:var(--muted); }

/* ================== Card-Base ================== */
.card{ background:var(--paper); border-radius:var(--radius); box-shadow:var(--shadow); }

/* ================== Carousel ================== */
.carousel{ position:relative; margin:1rem auto 0; max-width:var(--max); }
.carousel__viewport{ overflow:hidden; border-radius:var(--radius); outline:none; background:var(--paper); }
.carousel__track{ display:flex; transition:transform .4s ease; will-change:transform; }

.slide{
  flex:0 0 100%;
  display:grid;
  grid-template-columns:1fr 1.15fr;
  gap:2rem;
  align-items:center;
  padding:1.5rem;
}
.slide__text h3{ margin:.2rem 0 .25rem; color:var(--brand-2); }
.slide__text p{ max-width:40ch; }
.slide img{
  aspect-ratio: var(--carousel-ratio);
  width:100%;
  object-fit:cover;
  object-position:center;
  border-radius:var(--radius);
}

/* Pfeile */
.carousel__arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  width:42px;
  height:42px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  background:rgba(255,255,255,.92);
  box-shadow:var(--shadow);
  font-size:22px;
  display:grid;
  place-items:center;
}
.carousel__arrow:hover{ background:#fff; filter:drop-shadow(0 2px 8px rgba(0,0,0,.12)); }
.carousel__arrow.prev{ left:-1.5rem; }
.carousel__arrow.next{ right:-1.5rem; }
@media (max-width: 600px){
  .carousel__arrow.prev{ left:.25rem; }
  .carousel__arrow.next{ right:.25rem; }
}

/* Dots */
.carousel__dots{ display:flex; justify-content:center; gap:.5rem; padding:.5rem 0 0; }
.carousel__dots .dot{ width:10px; height:10px; border-radius:50%; background:#cfd6da; border:none; cursor:pointer; }
.carousel__dots .dot.is-active{ background:var(--brand); }

/* CTA nur auf markierten Slides */
.slide .cta{ display:none; }
.slide.has-cta .cta{ display:inline-block; }

/* ================== Carousel Text Alignment ================== */
.slide__text{
  text-align: center;
  margin: 0 auto;
  max-width: 600px;
}
.slide__text h3{
  margin: .2rem 0 .5rem;
  color: var(--brand-2);
}
.slide__text p{
  margin: 0 auto;
  line-height: 1.6;
}
.slide__text .cta{
  margin-top: 1.5rem;
  display: inline-block;
}

/* ================== Umgebung (Karten) ================== */
.area-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:1rem;
  margin-top:1rem;
}
@media (min-width:800px){
  .area-grid{ grid-template-columns: repeat(3, 1fr); }
}

.area-grid .card{
  display:flex;
  flex-direction:column;
  height:100%;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.area-grid .card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 26px rgba(0,0,0,.10);
}

.area-grid .card > img{
  aspect-ratio:16/10;
  width:100%;
  object-fit:cover;
  border-top-left-radius:var(--radius);
  border-top-right-radius:var(--radius);
}
.area-card__body{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  gap:.55rem;
  padding:1rem 1.1rem 1.2rem;
}
.area-card__body h3{ margin:.15rem 0 .35rem; color:var(--brand-2); }

/* Lead-Text: gleiche visuelle Höhe (3 Zeilen, mobil 2) */
.area-card__body > p:first-of-type,
.area-card__lead{
  line-height:1.5;
  min-height: calc(1.5em * 3);
  margin:.15rem 0 .5rem;
}
@media (max-width:640px){
  .area-card__body > p:first-of-type,
  .area-card__lead{ min-height: calc(1.5em * 2); }
}

.area-card__body .area-list{
  margin-top:.25rem;
  color:var(--muted);
  margin-left:1.2rem;
}
.area-grid .area-note{
  display:block;
  margin-top:.5rem;
  color:var(--muted);
  font-size:.9rem;
}

.area-span-all{ grid-column: 1 / -1; }
.area-tips{ padding:1rem 1.5rem; }
.area-tips h4{ margin:0 0 .4rem; color:var(--brand-2); }
.area-tips ul{ margin:0; padding-left:1.1rem; }

/* ================== Galerie (Grid + Lightbox) ================== */
.gallery{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
  gap:.9rem;
  margin-top: 1rem;
}
.gallery__item{
  position:relative;
  display:block;
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--paper);
  box-shadow:var(--shadow);
  aspect-ratio:4/3;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.gallery__item:hover{ transform:translateY(-3px); box-shadow:0 12px 28px rgba(0,0,0,.12); }
.gallery__item img{ width:100%; height:100%; object-fit:cover; }

/* Lightbox */
.lightbox[hidden]{ display:none !important; }
.lightbox{
  position:fixed;
  inset:0;
  z-index:1000;
  background:rgba(0,0,0,.72);
  display:grid;
  grid-template-columns: 1fr minmax(0, var(--max)) 1fr;
  grid-template-rows:auto 1fr auto;
  place-items:center;
}
.lightbox__figure{
  grid-column:1 / -1;
  grid-row:2;
  margin:0;
  max-width:min(92vw, var(--max));
  max-height:86vh;
  display:grid;
  gap:.6rem;
  justify-items:center;
  z-index: 1;
}
.lightbox__img{
  max-width:100%;
  max-height:80vh;
  border-radius:calc(var(--radius) - 4px);
  box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.lightbox__caption{
  color:#fff;
  font-size:.95rem;
  text-align:center;
  opacity:.9;
}
.lightbox__close, .lightbox__nav{
  border:none;
  border-radius:999px;
  cursor:pointer;
  background:rgba(255,255,255,.9);
  color:#111;
  box-shadow:var(--shadow);
}
.lightbox__close{
  position:absolute;
  top:14px;
  right:14px;
  padding:.4rem;
}
.lightbox__nav{
  padding:.5rem;
  grid-row: 2;
  z-index: 2;
  align-self: center;
}
.lightbox__prev{
  grid-column: 1;
  justify-self: start;
  margin-left: clamp(.5rem, 2vw, 1.2rem);
}
.lightbox__next{
  grid-column: 3;
  justify-self: end;
  margin-right: clamp(.5rem, 2vw, 1.2rem);
}
.lightbox__close:focus-visible, .lightbox__nav:focus-visible{
  outline:3px solid var(--brand);
  outline-offset:2px;
}

/* ================== Gästebuch ================== */
#gaestestimmen .guestbook-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap:1rem;
  margin-top:1rem;
}
#gaestestimmen .guestnote{
  position:relative;
  background:var(--paper);
  border:1px solid var(--divider);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:.6rem;
  display:flex;
  flex-direction:column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
#gaestestimmen .guestnote a{ display:block; border-radius:10px; overflow:hidden; }
#gaestestimmen .guestnote img{
  width:100%;
  height:auto;
  display:block;
  border-radius:10px;
  transition: transform .25s var(--ease);
}
#gaestestimmen .guestnote:hover{ transform:translateY(-3px); box-shadow:0 10px 26px rgba(0,0,0,.10); }
#gaestestimmen .guestnote:hover img{ transform:scale(1.015); }
#gaestestimmen .guestnote figcaption{
  margin-top:.5rem;
  color:var(--muted);
  font-style:italic;
  font-size:.95rem;
}
@media (min-width:800px){
  #gaestestimmen .guestnote.is-wide{ grid-column:span 2; }
}
#gaestestimmen .guestnote::before{
  content:"";
  position:absolute;
  inset:.5rem auto auto .5rem;
  width:64px;
  height:16px;
  border-radius:3px;
  background:linear-gradient(90deg, #e8e2d8, #f5efe7);
  box-shadow:0 2px 6px rgba(0,0,0,.08);
  transform:rotate(-3deg);
  opacity:.8;
}

/* ================== Preise (Tabelle) ================== */
.price-table{
  width:100%;
  border-collapse:collapse;
  background:var(--paper);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  margin:.75rem 0 1rem;
}
.price-table thead th{
  text-align:left;
  background:var(--paper-soft);
  color:var(--ink);
  padding:.85rem 1rem;
  border-bottom:1px solid var(--divider);
}
.price-table tbody th, .price-table tbody td{
  padding:.8rem 1rem;
  border-bottom:1px solid var(--divider);
  vertical-align:top;
}
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td{ border-bottom:none; }
.price-table tbody th{ color:var(--brand-2); }

@media (max-width:640px){
  .price-table thead{ display:none; }
  .price-table tbody tr{ display:block; border-bottom:1px solid var(--divider); }
  .price-table tbody tr:last-child{ border-bottom:none; }
  .price-table tbody th, .price-table tbody td{ display:block; border-bottom:none; padding:.5rem 1rem; }
  .price-table tbody th{ padding-top:.8rem; }
  .price-table tbody td:last-child{ padding-bottom:.8rem; }
}

/* Screenreader-only */
.visually-hidden{
  position:absolute!important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}

/* ================== Kalender (Ferienhausmiete) ================== */
.calbox{
  background:var(--paper);
  border:1px solid var(--divider);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:.9rem;
  position:relative;
  overflow:hidden;
}
.calbox iframe,
#ferienhausmiete-de-widget4-40811{
  filter: saturate(.72) contrast(.95) brightness(1.02) hue-rotate(-6deg);
  transition: filter .2s ease;
}
.calbox:hover iframe,
.calbox:hover #ferienhausmiete-de-widget4-40811{
  filter: saturate(.82) contrast(.98) brightness(1.02) hue-rotate(-6deg);
}
.calbox::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: hsl(0 0% 50% / .35);
  mix-blend-mode: saturation;
}

/* Eigene Legende */
.cal-legend{
  display:flex;
  gap:1rem;
  align-items:center;
  justify-content:center;
  margin-top:.6rem;
  color:var(--muted);
  font-size:.95rem;
}
.cal-legend .chip{
  display:inline-block;
  width:14px;
  height:14px;
  border-radius:4px;
  margin-right:.35rem;
  vertical-align:-2px;
}
.chip--free{ background:#2c6e66; }
.chip--opt{ background:#cdaa62; }
.chip--booked{ background:#d96a6a; }

#ferienhausmiete-de-widget4-40811 iframe{ width:100% !important; max-width:100%; }

/* (Optional) Attribute-Override – nur nutzen, wenn nötig */
#ferienhausmiete-de-widget4-40811 td[style*="background-color:#00A651"],
#ferienhausmiete-de-widget4-40811 td[style*="background:#00A651"],
#ferienhausmiete-de-widget4-40811 td[style*="background-color:#5cb85c"],
#ferienhausmiete-de-widget4-40811 td[style*="background:#5cb85c"],
#ferienhausmiete-de-widget4-40811 td[style*="background-color:#28a745"],
#ferienhausmiete-de-widget4-40811 td[style*="background:#28a745"],
#ferienhausmiete-de-widget4-40811 td[style*="rgb(92, 184, 92)"],
#ferienhausmiete-de-widget4-40811 td[style*="rgb(0, 166, 81)"]{
  background:#2c6e66 !important; color:#fff !important;
}
#ferienhausmiete-de-widget4-40811 td[style*="background-color:#D9534F"],
#ferienhausmiete-de-widget4-40811 td[style*="background:#D9534F"],
#ferienhausmiete-de-widget4-40811 td[style*="background-color:#dc3545"],
#ferienhausmiete-de-widget4-40811 td[style*="background:#dc3545"],
#ferienhausmiete-de-widget4-40811 td[style*="rgb(217, 83, 79)"]{
  background:#d96a6a !important; color:#fff !important;
}
#ferienhausmiete-de-widget4-40811 td[style*="background-color:#F0AD4E"],
#ferienhausmiete-de-widget4-40811 td[style*="background:#F0AD4E"],
#ferienhausmiete-de-widget4-40811 td[style*="background-color:#ffc107"],
#ferienhausmiete-de-widget4-40811 td[style*="background:#ffc107"],
#ferienhausmiete-de-widget4-40811 td[style*="rgb(240, 173, 78)"]{
  background:#cdaa62 !important; color:#1f2a2e !important;
}
#ferienhausmiete-de-widget4-40811 td{ border-color:rgba(0,0,0,.06) !important; }
#ferienhausmiete-de-widget4-40811 th{
  background:var(--paper-soft) !important; color:var(--ink) !important;
}

/* ================== Footer ================== */
footer{
  background:var(--paper-soft);
  border-top:1px solid var(--divider);
  padding:2rem;
  text-align:center;
  color:var(--muted);
  margin-top:2rem;
}

/* ================== Motion / Reveal ================== */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible{ opacity:1; transform:translateY(0); }
.delay-1{ transition-delay: calc(var(--stagger) * 1); }
.delay-2{ transition-delay: calc(var(--stagger) * 2); }
.delay-3{ transition-delay: calc(var(--stagger) * 3); }

@keyframes fade-up{
  from{opacity:0; transform:translateY(8px)}
  to{opacity:1; transform:translateY(0)}
}

/* Motion-Respect */
@media (prefers-reduced-motion: reduce){
  .badge, .badge svg, .carousel__track, .reveal, a.cta, .gallery img{
    transition:none !important;
  }
  .reveal{ transform:none !important; opacity:1 !important; }
  .hero .hero__content{ animation:none !important; }
  .hero::before{ transform:none !important; }
}

/* ================== Responsive Tweaks ================== */
@media (max-width: 900px){
  .slide{ grid-template-columns:1fr; }
  .slide__text{ text-align:left; }
  :root{ --carousel-ratio: 4 / 3; }
}

/* ================== Rechtstexte ================== */
.legal{ max-width:900px; margin:0 auto; }
.legal h1{ font-size:2rem; color:var(--brand-2); margin:.25rem 0 1rem; }
.legal h2{ color:var(--brand-2); margin-top:1.2rem; }
.legal .toc{
  background:var(--paper);
  border:1px solid var(--divider);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:.75rem 1rem;
  margin:.5rem 0 1rem;
}
.legal .toc a{ text-decoration:none; }

/* ================== Lokale Webfonts (Merienda) ================== */
@font-face{
  font-family:"Merienda";
  src:url("../fonts/merienda-v21-latin-regular.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Merienda";
  src:url("../fonts/merienda-v21-latin-700.woff2") format("woff2");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}

/* ================== Ausstattung (Accordion) – restore ================== */
#ausstattung .acc-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:.9rem;
  margin-top:1rem;
}
@media (min-width:900px){
  #ausstattung .acc-grid{ grid-template-columns: repeat(2, minmax(340px, 1fr)); }
}
#ausstattung details{
  background:var(--paper);
  border:1px solid var(--divider);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
#ausstattung summary{
  display:flex;
  align-items:center;
  gap:.75rem;
  padding:.9rem 1rem;
  list-style:none;
  cursor:pointer;
  font-weight:700;
  color:var(--brand-2);
  user-select:none;
}
#ausstattung summary::-webkit-details-marker{ display:none; }
#ausstattung summary::after{
  content:"▾";
  margin-left:auto;
  font-size:1rem;
  line-height:1;
  color:var(--muted);
  transition: transform .25s ease, color .25s ease;
}
#ausstattung details[open] summary::after{
  transform: rotate(180deg);
  color: var(--brand-2);
}
#ausstattung .summary-icon{
  width:22px;
  height:22px;
  flex:0 0 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--brand-2);
  opacity:.9;
}
#ausstattung .summary-icon svg{
  width:22px !important;
  height:22px !important;
  fill:none !important;
  stroke:currentColor !important;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
#ausstattung summary svg{ max-width:none; }

#ausstattung details > ul{
  margin:0;
  padding:.6rem 1rem 1rem 1.4rem;
  border-top:1px solid var(--divider);
}
#ausstattung li{ margin:.25rem 0; }
#ausstattung details:hover{
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  border-color: color-mix(in srgb, var(--brand-2) 35%, var(--divider));
}
#ausstattung summary:focus-visible{
  outline:3px solid var(--brand);
  outline-offset:2px;
  border-radius:6px;
}

/* ================== Third-party Placeholder ================== */
.thirdparty-placeholder{
  padding: 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.03);
  max-width: 640px;
}
.thirdparty-placeholder p{ margin-bottom: 0.8rem; }
.thirdparty-placeholder .small-note{
  margin-top: 0.8rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ================== Kontaktformular ================== */
.contact-form{
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.contact-form label{
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: .1px;
}
.contact-form input,
.contact-form select,
.contact-form textarea{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  font: inherit;
  line-height: 1.2;
  transition: border-color .2s ease, box-shadow .2s ease, transform .05s ease;
}
.contact-form textarea{
  min-height: 160px;
  resize: vertical;
  margin-bottom: 4px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  outline: none;
  border-color: rgba(44,110,102,.55);
  box-shadow: 0 0 0 4px rgba(44,110,102,.12);
}

/* 2 Spalten-Reihen */
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
}
@media (max-width: 720px){
  .form-row{ grid-template-columns: 1fr; }
}

/* Checkbox-Zeile */
.consent{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.35;
  margin-top: 4px;
}
.consent input[type="checkbox"]{
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #2c6e66;
}
.consent a{
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Card um das Formular */
.contact-card{
  background: #ffffff;
  border-radius: 22px;
  padding: 28px 28px 32px;
  box-shadow:
    0 10px 30px rgba(0,0,0,.06),
    0 2px 8px rgba(0,0,0,.04);
}
@media (max-width: 720px){
  .contact-card{
    padding: 22px 18px 26px;
    border-radius: 18px;
  }
}
#kontakt.section{
  background: rgba(44,110,102,.04);
  padding-top: 56px;
  padding-bottom: 64px;
}

.contact-intro{
  max-width: 860px;
  margin: 0 auto 14px;
  font-size: 1.02rem;
  opacity: .92;
}
.required-note{
  margin: 0 0 10px;
  font-size: .92rem;
  opacity: .75;
  text-align: right;
}

/* Button */
button.cta{
  background:var(--brand);
  color:#fff;
  border:none;
  padding:.7rem 1.1rem;
  border-radius:999px;
  cursor:pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), filter .2s ease;
}
button.cta:hover{
  filter:brightness(0.95);
  transform: translateY(-2px) scale(1.02);
  box-shadow:0 10px 24px rgba(0,0,0,.12);
}
button.cta:active{ transform: translateY(0) scale(.99); }

/* Button volle Breite im Formular */
.contact-form .cta{
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

/* Hinweistext */
.form-note,
.contact-alt{
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0;
}

/* Erfolgsmeldung */
.form-status{
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(44,110,102,.10);
  color: #1f4f48;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  min-height: 1.2em;
}
.form-status::before{
  content: "✓ ";
  font-weight: 700;
}
.form-status + .contact-alt{ margin-top: 14px; }

/* Nach Erfolg Button deaktivieren */
.contact-form.is-success .cta{
  opacity: 0.55;
  transform: scale(0.97);
  pointer-events: none;
}
.contact-form.is-success .cta::after{ content: " ✓"; }

/* ================== Mobile Navigation (Hamburger) ================== */
.site-nav{
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-toggle{
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span{
  display: block;
  width: 26px;
  height: 2px;
  background: #2c6e66;
  margin: 6px 0;
  transition: transform .3s ease, opacity .3s ease;
}

@media (max-width: 900px){
  .site-nav{
    position: relative;
    gap: 0;
    flex-wrap: wrap;
  }

  /* Links erstmal verstecken */
  .site-nav > a{ display: none; }

  /* Toggle zeigen */
  .nav-toggle{
    display: block;
    margin-left: auto;
  }

  /* Offenes Menü: untereinander */
  .site-nav.is-open{
    background: #fff;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    padding: 14px 18px 12px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
    z-index: 999;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  /* Toggle oben rechts im offenen Menü */
  .site-nav.is-open .nav-toggle{
    align-self: flex-end;
    margin: 0 0 6px 0;
  }

  /* Links im offenen Menü */
  .site-nav.is-open > a{
    display: block;
    width: 100%;
    padding: 12px 8px;
    border-radius: 12px;
  }

  /* Trennlinien */
  .site-nav.is-open > a:not(:last-of-type){
    border-bottom: 1px solid rgba(0,0,0,.10);
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-radius: 0;
  }

  .site-nav.is-open > a:hover{
    background: rgba(0,0,0,.04);
    text-decoration: none;
  }

  /* CTA */
  .site-nav.is-open > a.cta{
    margin-top: 10px;
    text-align: center;
    border-bottom: none !important;
    padding-bottom: 12px;
  }

  /* Hamburger -> X */
  .site-nav.is-open .nav-toggle span:nth-child(1){
    transform: translateY(8px) rotate(45deg);
  }
  .site-nav.is-open .nav-toggle span:nth-child(2){
    opacity: 0;
  }
  .site-nav.is-open .nav-toggle span:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ===== DTV Badge: größer & trotzdem wie die anderen Badges ===== */
.badge--dtv{
  padding: .35rem .6rem;   /* etwas weniger Text-Padding, damit es kompakt bleibt */
}

.badge--dtv img{
  height: 40px;            /* <-- hier stellst du die Lesbarkeit ein (30–40px ist meist gut) */
  width: auto;
  display: block;
  object-fit: contain;
  filter: none;
}
