/* =========================================================================
   Andrea Wiedmer Kosmetik – zentrales Stylesheet
   Heller, freundlicher Look · warmes Taupe/Gold als Akzent
   ========================================================================= */

/* --- Design-Tokens (Farben & Typografie) --------------------------------- */
:root {
  --bg: #FBFAF8;
  --surface: #F4F1EC;
  --surface-2: #EFEAE2;
  --text: #332E29;
  --muted: #5E574E;
  --accent: #A98C68;
  --accent-dark: #8A6F4F;
  --cta: #9A8475;             /* warmes Rosé-Taupe – Hintergrund für Buttons (einheitlich mit Footer) */
  --cta-dark: #836F63;        /* dunkleres Rosé-Taupe für Hover */
  --footer-bg: #9A8475;       /* warmes Rosé-Taupe – Footer-Hintergrund */
  --line: #E4DCD0;
  --white: #FFFFFF;
  --feature-color: #fde3c6;   /* warmer Apricot-/Cremeton für Header + obere Hero-Hälfte */
  --section-warm: #f2c9bb;    /* kräftigeres Apricot für Gutschein-/CTA-Bänder & FAQ-Sektionen */

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Montserrat', system-ui, -apple-system, Arial, sans-serif;

  --maxw: 1180px;
  --radius: 4px;
  --shadow: 0 12px 40px rgba(51, 46, 41, 0.10);
  --transition: 0.25s ease;
}

/* --- Reset / Grundlagen -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; margin: 0 0 0.4em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* --- Zugänglichkeit ------------------------------------------------------ */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent-dark); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 0; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--cta);
  background: var(--cta);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn:hover { background: var(--cta-dark); border-color: var(--cta-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--accent-dark); }
.btn--outline:hover { background: var(--cta-dark); border-color: var(--cta-dark); color: #fff; }
.btn--light { background: #fff; color: var(--accent-dark); border-color: #fff; }
.btn--light:hover { background: var(--surface); color: var(--accent-dark); border-color: var(--surface); }

/* Buttons in den warmen Sektionen (#f2c9bb): immer transparent mit dunklem Rand & dunkler Schrift */
.cta-band .btn,
.section--cream .btn {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}
.cta-band .btn:hover,
.section--cream .btn:hover {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
}

/* =========================================================================
   Header / Navigation
   ========================================================================= */
/* Wrapper bildet keine eigene Box – sonst hat das sticky-Header keinen Klebebereich */
[data-include="header"] { display: contents; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--feature-color);
  border-bottom: none;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.logo { color: var(--text); flex: 0 0 auto; }
.logo img { width: 150px; height: auto; margin: 10px 0; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  font-size: 0.86rem; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text); padding: 6px 0; position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px;
  background: var(--accent); transition: width var(--transition);
}
.site-nav a:hover::after,
.site-nav a.is-active::after { width: 100%; }
.site-nav a.is-active { color: var(--accent-dark); }

/* Dropdown-Menü für die Leistungen */
.has-dropdown { position: relative; }
/* Pfeil absolut rechts neben dem Text – beeinflusst die Breite des Links (und damit den Unterstrich) nicht */
.has-dropdown > a::before {
  content: ""; position: absolute; left: 100%; top: 50%; margin-left: 6px;
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg); opacity: 0.7;
}
/* Vertikales Dropdown – .site-nav .dropdown überschreibt das flex von .site-nav ul */
.site-nav .dropdown {
  display: block; gap: 0;
  position: absolute; top: 100%; left: 0; min-width: 248px;
  list-style: none; margin: 0; padding: 0;       /* kein Innenabstand – Hover reicht bis an die Kanten */
  overflow: hidden;                               /* Hover-Hintergrund sauber an den runden Ecken beschnitten */
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); z-index: 130;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { display: block; width: 100%; }
.dropdown a {
  display: block; padding: 11px 20px; font-size: 0.8rem; letter-spacing: 0.6px;
  text-transform: none; color: var(--text); white-space: nowrap;
}
.dropdown a::after { display: none; }
/* Übersichtslink oben im Dropdown hervorgehoben (höhere Spezifität als .dropdown a) */
.dropdown a.dropdown__all { font-weight: 600; color: var(--accent-dark); }
.dropdown li:first-child { border-bottom: 1px solid var(--line); }
/* Hover-Effekt in der primären Hintergrundfarbe */
.dropdown a:hover { background: var(--feature-color); color: var(--accent-dark); }
/* Aktiver Eintrag im Submenü hervorgehoben */
.dropdown a.is-active { background: var(--feature-color); color: var(--accent-dark); font-weight: 600; }
.dropdown a.is-active::after { display: none; }

.lang-switch {
  font-size: 0.72rem; letter-spacing: 1px; color: var(--muted);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 5px 10px;
  cursor: not-allowed; opacity: 0.7;
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; justify-content: center;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--text); transition: transform var(--transition), opacity var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   Sektionen / Layout-Bausteine
   ========================================================================= */
.section { padding: 96px 0; }
.section--surface { background: var(--surface); }
.section--cream { background: var(--section-warm); }
.section--faq { background: var(--surface); }   /* "Gut zu wissen"-FAQ – ruhiges helles Greige (#f4f1ec) */
.section--tight { padding: 64px 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block; font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 14px;
}
.section-head h2 { margin-bottom: 0.3em; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.divider { width: 56px; height: 2px; background: var(--accent); margin: 18px auto 28px; border: 0; }

/* --- Feature-Hero: Bild mit Titel-Overlay, obere Fläche farbig --------------- */
.feature { background: var(--bg); }

/* Bühne: oberer Teil farbig (schliesst an den Header an), Bild ragt in den hellen Bereich */
.feature__stage { position: relative; padding-top: 44px; }
.feature__stage::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 85%;                 /* Bild ragt aus der farbigen oberen Fläche heraus */
  background: var(--feature-color); z-index: 0;
}
.feature__figure {
  position: relative; z-index: 1;
  max-width: 960px;            /* Abstand links und rechts */
  margin: 0 auto; padding: 0 24px;
}
/* Titel-Overlay mit halbtransparentem Hintergrund auf dem Bild */
.feature__title {
  position: absolute; left: 24px; right: 24px; bottom: 0;
  margin: 0; padding: 22px 100px;
  background: rgba(51, 46, 41, 0.55);
  color: #fff; text-align: center;
  font-family: var(--font-sans); font-weight: 500;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.22;
  border-radius: 0 0 var(--radius) var(--radius);
}
.feature__title sup { font-size: 0.6em; vertical-align: super; }
.feature__figure img {
  display: block; width: 100%; height: auto;   /* Bild vollständig, nie beschnitten */
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* --- Hero (Vollbild-Variante, andere Seiten) ----------------------------- */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: center;
  color: #fff; text-align: center;
  background-color: var(--surface);
  background-size: cover; background-position: center;
}
/* Dunkles Overlay, damit der Text gut lesbar bleibt */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(rgba(40,34,28,0.42), rgba(40,34,28,0.42));
}
.hero .container { position: relative; z-index: 2; }
.hero .eyebrow { color: rgba(255,255,255,0.9); letter-spacing: 4px; text-transform: uppercase; font-size: 0.8rem; }
.hero h1 { color: #fff; margin: 16px 0 24px; text-shadow: 0 2px 24px rgba(0,0,0,0.25); }
.hero p { color: rgba(255,255,255,0.95); max-width: 640px; margin: 0 auto 32px; font-size: 1.12rem; }

/* --- Split (Text + Bild) ------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split__body .eyebrow { display: inline-block; font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 14px; }
.split__body p { color: var(--muted); }

/* --- Karten-Grid (Featured-Leistungen) ----------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 26px 24px 30px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 0.3em; }
.card__body p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.card__link { margin-top: 14px; font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; }

/* =========================================================================
   Leistungen / Preisliste
   ========================================================================= */
.price-block { max-width: 820px; margin: 0 auto 56px; }
.price-block:last-child { margin-bottom: 0; }
.price-block > h3 {
  font-size: 1.7rem; padding-bottom: 12px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line); color: var(--accent-dark);
}
.price-block .block-intro { color: var(--muted); font-size: 0.98rem; margin: 14px 0 20px; }
.price-sub { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin: 22px 0 6px; }

.price-row { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.price-row__main { flex: 1; }
.price-row__name { font-weight: 600; }
.price-row__desc { display: block; color: var(--muted); font-size: 0.9rem; font-weight: 400; margin-top: 2px; }
.price-row__price { font-family: var(--font-serif); font-size: 1.25rem; color: var(--accent-dark); white-space: nowrap; }
.price-row__price .unit { font-family: var(--font-sans); font-size: 0.72rem; color: var(--muted); letter-spacing: 1px; }
.price-note { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
/* Kompakter Button je Behandlung innerhalb der Preisliste */
.price-cta { margin: 12px 0 30px; }
.btn--sm { padding: 9px 22px; font-size: 0.72rem; letter-spacing: 1.2px; }

/* =========================================================================
   Galerie / Lightbox
   ========================================================================= */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery a:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 32px;
  background: rgba(28, 24, 20, 0.9);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: var(--radius); box-shadow: var(--shadow); }
.lightbox__close { position: absolute; top: 24px; right: 32px; background: none; border: none; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; }

/* =========================================================================
   Gutschein / CTA-Band
   ========================================================================= */
.cta-band { background: var(--section-warm); color: var(--text); text-align: center; padding: 80px 0; }
.cta-band h2 { color: var(--text); }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }

/* =========================================================================
   Kontakt
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h3 { margin-top: 28px; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { color: var(--muted); }
/* Formular als ruhige Karte im Look der Seite */
.contact-form-card { background: var(--surface); border-radius: var(--radius); padding: 34px 34px 38px; }
.contact-form-card h3 { margin-top: 0; margin-bottom: 22px; }
/* Vollbreite Standort-Karte */
.map-section { line-height: 0; }
.map-full { display: block; width: 100%; height: 460px; border: 0; }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 14px; font-family: var(--font-sans); font-size: 1rem;
  color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color var(--transition);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-status { font-size: 0.92rem; margin-top: 12px; min-height: 1.4em; }
.form-status.ok { color: var(--accent-dark); }
.form-status.err { color: #B4533B; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--footer-bg); color: #fff; padding-top: 64px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding-bottom: 48px; }
.footer-col h3 { font-family: var(--font-sans); font-size: 0.82rem; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-col p, .footer-col a { color: rgba(255,255,255,0.92); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.25); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-bottom p { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.9); }
.to-top { font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.92); }
.to-top:hover { color: #fff; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 0.85rem; color: rgba(255,255,255,0.92); }
.footer-legal a:hover { color: #fff; }
.footer-social { margin-top: 14px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; }
.social-link svg { flex: none; }

/* =========================================================================
   Hilfsklassen
   ========================================================================= */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.intro-lead { font-size: 1.15rem; color: var(--muted); max-width: 760px; }

/* Rechtstexte (Impressum / Datenschutz) */
.legal { max-width: 820px; margin: 0 auto; }
.legal h3 { font-size: 1.35rem; color: var(--accent-dark); margin: 38px 0 10px; }
.legal h3:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.legal address { font-style: normal; color: var(--text); line-height: 1.8; }
.legal a { word-break: break-word; }
.legal .legal-note {
  background: var(--feature-color); border-radius: var(--radius);
  padding: 16px 20px; color: var(--text); font-size: 0.92rem; margin-bottom: 32px;
}

/* Vorteilsliste auf den Leistungs-Landingpages */
.benefit-list { list-style: none; margin: 22px 0 0; padding: 0; }
.benefit-list li { position: relative; padding-left: 28px; margin-bottom: 11px; color: var(--muted); }
.benefit-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 600;
}

/* Detail-Link auf der Leistungsübersicht */
.block-link {
  display: inline-block; margin: 4px 0 18px;
  font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase;
}

/* Behandlungsablauf (nummerierte Schritte) */
.steps { max-width: 820px; margin: 0 auto; counter-reset: step; list-style: none; padding: 0; }
.steps li { position: relative; padding: 0 0 24px 60px; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; border-radius: 50%;
  font-family: var(--font-serif); font-size: 1.15rem;
}
.steps li strong { display: block; margin-bottom: 3px; }
.steps li span { color: var(--muted); }

/* FAQ-Akkordeon (native <details>) */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; color: var(--accent); font-size: 1.5rem; line-height: 1; flex: 0 0 auto;
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { color: var(--muted); margin: -4px 0 20px; }

/* Kachel-Navigation zu den Leistungs-Detailseiten */
.service-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; }
.service-tile {
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.service-tile h3 { font-size: 1.15rem; margin: 0; color: var(--accent-dark); }
.service-tile span { color: var(--muted); font-size: 0.85rem; }
@media (max-width: 900px) { .service-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .service-tiles { grid-template-columns: 1fr; } }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height var(--transition);
  }
  .site-nav.is-open { max-height: 88vh; overflow-y: auto; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 24px; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: none; }
  .site-nav a { display: block; padding: 16px 0; }
  .lang-switch { margin: 12px 24px 20px; align-self: flex-start; }
  .section { padding: 64px 0; }

  /* Hero-Titel: kleinere Schrift & weniger inneres Padding, damit der Text im Bild bleibt.
     left/right bleiben bei 24px – bündig mit dem (durch Figure-Padding eingerückten) Bild. */
  .feature__title {
    padding: 14px 20px;
    font-size: clamp(1.05rem, 4vw, 1.5rem);
    line-height: 1.25;
  }

  /* Dropdown im Mobile-Menü: eingeklappt, öffnet bei Klick auf den Hauptpunkt */
  .site-nav .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: none; border-radius: 0; box-shadow: none;
    min-width: 0;
    max-height: 0; overflow: hidden; padding: 0;
    transition: max-height var(--transition);
  }
  .has-dropdown.is-open .dropdown { max-height: 640px; padding: 0 0 8px; }
  .dropdown li { border: none; }
  .dropdown a { padding: 10px 0 10px 18px; font-size: 0.8rem; color: var(--muted); }
  .has-dropdown > a::before { left: auto; right: 4px; margin-left: 0; }
  /* Pfeil dreht beim Öffnen nach oben */
  .has-dropdown.is-open > a::before { transform: translateY(-20%) rotate(225deg); }
}

@media (max-width: 560px) {
  .card-grid, .gallery, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  /* Sehr kleine Geräte: Hero-Titel noch kompakter (left/right bleiben bündig mit dem Bild) */
  .feature__title {
    padding: 12px 16px;
    font-size: clamp(0.95rem, 4.4vw, 1.25rem);
  }
}

/* =========================================================================
   Sanfte Animationen – Scroll-Reveal & Bild-Zoom (respektiert reduced-motion)
   ========================================================================= */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.3s cubic-bezier(.22,.61,.36,1), transform 1.3s cubic-bezier(.22,.61,.36,1); }
  .reveal.is-visible { opacity: 1; transform: none; }
  /* Hero-Bild: sehr langsamer Ken-Burns-Zoom */
  .feature__media img { animation: kenburns 40s ease-in-out infinite alternate; }
  @keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07); } }
}
/* Hero-Bild im clippenden Rahmen (sauberer Zoom, Schatten bleibt) */
.feature__media { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature__media img { border-radius: 0; box-shadow: none; }
/* Split-/Produktbilder: sanfter Zoom beim Hover */
.split__media { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__media img { border-radius: 0; box-shadow: none; transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.split__media:hover img { transform: scale(1.05); }

/* H1 in Seitenkopf/Split optisch wie H2 (SEO: ein H1 je Seite) */
.section-head h1 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 0.3em; }
.split__body h1 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
