/*
Theme Name: Villa Carmen
Theme URI: https://usedombuchen.de
Description: Child Theme für GeneratePress. Design, Header, Footer und Bausteine für usedombuchen.de (Villa Carmen, Ferienwohnungen in Seebad Ahlbeck auf Usedom).
Author: Mathias Blum
Template: generatepress
Version: 1.8.4
Text Domain: villa-carmen
*/

/*
CHANGELOG
1.8.4  Fotos ohne Bogen, einheitliches Format; Überschriften brechen nur an Wortgrenzen (Silben nur bei &shy;), Absätze ohne einzelne Restwörter.
1.8.3  Foto-Reihe statt Mosaik, Buchungsband mit weißer Schrift.
1.8.2  Startseite "Die Villa": Foto-Mosaik (.vc-mosaic), kleinere Überschrift, Checkliste zweispaltig.
1.8.1  Cookie-Banner direkt in functions.php (Markup + Skript inline), inc/cookie.php und cc.js entfallen.
1.8.0  Eigenes Cookie-Banner (.vc-cc) und Buchungssystem-Sperre (.vc-gate); Complianz-CSS entfernt.
1.7.0  Cookie-Banner (Complianz) im Design, Footer-Link Cookie-Einstellungen.
1.6.0  Rechtstext-Layout (.vc-legal).
1.5.1  Logo aus assets/logo.webp in Header und Footer.
1.5.0  Buttons: dunkleres Bernstein (--vc-accent-btn) mit weißer Schrift; Startseite nutzt den Foto-Kopf.
1.4.0  Wohnungsseiten: Foto-Kopf (.vc-ahero) mit kleinerer Überschrift.
1.3.1  Fix: Button-Textfarbe (.vc-page a überschrieb --b-fg), Häkchenlisten einspaltig im Split, Abstand Titelbild.
1.3.0  Fotogalerie (.vc-gallery).
1.2.0  Bildfläche (.vc-figure), Kontaktkarten (.vc-contact), nummerierte Liste (.vc-steps).
1.1.0  Unterseiten: Seitenkopf (.vc-phead), Vergleichstabelle (.vc-table), Sprungmarken (.vc-toc).
1.0.0  Erste Fassung: Design-Token, Schriften, Buttons, Header, Footer, Startseiten-Bausteine.

INHALT
 1  Design-Token
 2  Schriften (lokal)
 3  Grundlagen
 4  Buttons und Icons
 5  Bewegung (Einblenden)
 6  Header und Menü
 7  Footer
 8  Seitenbausteine (.vc-page)
 9  FAQ
10  GeneratePress-Anpassungen
11  Korrekturen
12  Unterseiten-Bausteine
*/

/* ==========================================================================
   1  Design-Token
   Namen beschreiben Rollen. Ändert sich das Aussehen, ändert sich nur hier etwas.
   ========================================================================== */
:root {
  /* Farben */
  --vc-ink: #15293A;            /* Text dunkel */
  --vc-ink-2: #2F4452;          /* Text mittel */
  --vc-muted: #4A5B68;          /* Text gedämpft, Labels */
  --vc-accent: #C98A2B;         /* Marken-Akzent (Bernstein), Flächen und Buttons */
  --vc-accent-hover: #B87A1F;
  --vc-accent-btn: #A5660F;     /* Buttonfläche, weiße Schrift (Kontrast 4.7:1) */
  --vc-accent-text: #8A5410;    /* Akzent als Text auf hellem Grund (Kontrast 4.5:1) */
  --vc-accent-light: #E3B363;   /* Akzent als Text auf dunklem Grund */
  --vc-dark: #15293A;           /* dunkle Fläche */
  --vc-sea: #24566B;            /* Begleitton Ostsee */
  --vc-mist: #F5EFE4;           /* helle Fläche (Sand) */
  --vc-sand: #EFE6D3;           /* Chips, zweite helle Fläche */
  --vc-paper: #FBF8F2;          /* Papier, Seitenhintergrund */
  --vc-white: #FFFFFF;
  --vc-line: #DDD3C0;           /* Linie hell */
  --vc-line-strong: #C9BDA5;
  --vc-line-dark: #3A5568;      /* Linie auf dunkel */
  --vc-on-dark: #C9D6DC;        /* Text gedämpft auf dunkel */
  --vc-ph: #DCE5E6;             /* Bildplatzhalter */

  /* Schrift */
  --vc-font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --vc-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --vc-fs-sm: 0.875rem;
  --vc-fs-body: 1.0625rem;
  --vc-fs-lead: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem);
  --vc-fs-h3: clamp(1.5rem, 1vw + 1.2rem, 1.875rem);
  --vc-fs-h2: clamp(2.25rem, 2vw + 1.6rem, 3.5rem);
  --vc-fs-hero: clamp(2.75rem, 4vw + 1.5rem, 5.25rem);

  /* Layout */
  --vc-gutter: clamp(20px, 4vw, 48px);
  --vc-max: 1240px;
  --vc-section: clamp(56px, 8vw, 112px);
  --vc-radius: 0;
  --vc-radius-arch: 999px 999px 0 0;

  /* Bewegung */
  --vc-ease: cubic-bezier(.7, 0, .2, 1);

  /* Symbole als Daten-SVG (per CSS-Maske, nehmen die Textfarbe an) */
  --vc-ico-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --vc-ico-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E");
}

/* ==========================================================================
   2  Schriften (lokal, keine Verbindung zu Google)
   Dateien liegen in /fonts/ (siehe Anleitung). Fehlen sie, greift die Ersatzschrift.
   ========================================================================== */
@font-face { font-family: "Manrope"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/manrope-400.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/manrope-500.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/manrope-600.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/manrope-700.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/cormorant-garamond-600.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/cormorant-garamond-700.woff2") format("woff2"); }

/* ==========================================================================
   3  Grundlagen
   ========================================================================== */
body.vc-site {
  font-family: var(--vc-font);
  color: var(--vc-ink);
  background: var(--vc-paper);
  font-size: var(--vc-fs-body);
  line-height: 1.6;
}
.vc-site h1, .vc-site h2, .vc-site h3, .vc-site h4 {
  font-family: var(--vc-font-display);
  color: var(--vc-ink);
  font-weight: 600;
  line-height: 1.1;
}
.vc-site :focus-visible { outline: 3px solid var(--vc-accent-text); outline-offset: 2px; }
.vc-sec-dark :focus-visible,
.vc-footer :focus-visible,
.vc-topbar :focus-visible { outline-color: var(--vc-accent-light); }
.vc-site img { max-width: 100%; height: auto; }

/* ==========================================================================
   4  Buttons und Icons
   Markup:
   <a class="vc-btn vc-btn-accent" href="…"><span class="vc-btn-t">Text</span><span class="vc-btn-i" aria-hidden="true"></span></a>
   Varianten setzen nur die lokalen Variablen.
   Auf hellem Grund: -accent, -dark, -outline-dark. Auf dunklem Grund: -accent, -outline.
   ========================================================================== */
.vc-btn {
  --b-bg: var(--vc-accent-btn);   --b-fg: #FFFFFF;   --b-bd: var(--vc-accent-btn);
  --b-hv: var(--vc-ink);      --b-hf: var(--vc-paper);
  --b-ib: var(--vc-ink);      --b-if: var(--vc-paper);
  --b-ihb: var(--vc-accent);  --b-ihf: var(--vc-ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 9px 0 26px;
  background: var(--b-bg);
  color: var(--b-fg);
  border: 2px solid var(--b-bd);
  border-radius: var(--vc-radius);
  font: 700 15px/1 var(--vc-font);
  letter-spacing: .01em;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition: color .5s var(--vc-ease), border-color .5s var(--vc-ease), transform .2s ease;
}
.vc-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--b-hv);
  transform: translateX(-102%);
  transition: transform .5s var(--vc-ease);
}
.vc-btn:hover::before, .vc-btn:focus-visible::before { transform: none; }
.vc-btn:hover, .vc-btn:focus-visible { color: var(--b-hf); border-color: var(--b-hv); }
.vc-btn:active { transform: scale(.98); }
.vc-btn-t { position: relative; }
.vc-btn-i {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--b-ib);
  overflow: hidden;
  transition: background .5s var(--vc-ease);
}
.vc-btn-i::before, .vc-btn-i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--b-if);
  -webkit-mask: var(--vc-ico-arrow) center / 16px 16px no-repeat;
          mask: var(--vc-ico-arrow) center / 16px 16px no-repeat;
  transition: transform .5s var(--vc-ease), background .5s var(--vc-ease);
}
.vc-btn-i::after { transform: translateX(-130%); }
.vc-btn:hover .vc-btn-i, .vc-btn:focus-visible .vc-btn-i { background: var(--b-ihb); }
.vc-btn:hover .vc-btn-i::before, .vc-btn:focus-visible .vc-btn-i::before { transform: translateX(130%); background: var(--b-ihf); }
.vc-btn:hover .vc-btn-i::after, .vc-btn:focus-visible .vc-btn-i::after { transform: none; background: var(--b-ihf); }

.vc-btn-accent { /* Standard-Variablen */ }
.vc-btn-dark {
  --b-bg: var(--vc-ink); --b-fg: var(--vc-paper); --b-bd: var(--vc-ink);
  --b-hv: var(--vc-sea); --b-hf: var(--vc-paper);
  --b-ib: var(--vc-accent); --b-if: var(--vc-ink); --b-ihb: var(--vc-paper); --b-ihf: var(--vc-ink);
}
.vc-btn-outline-dark {
  --b-bg: transparent; --b-fg: var(--vc-ink); --b-bd: var(--vc-ink);
  --b-hv: var(--vc-ink); --b-hf: var(--vc-paper);
  --b-ib: var(--vc-ink); --b-if: var(--vc-paper); --b-ihb: var(--vc-accent); --b-ihf: var(--vc-ink);
}
.vc-btn-outline {
  --b-bg: transparent; --b-fg: var(--vc-paper); --b-bd: var(--vc-paper);
  --b-hv: var(--vc-paper); --b-hf: var(--vc-ink);
  --b-ib: var(--vc-paper); --b-if: var(--vc-ink); --b-ihb: var(--vc-ink); --b-ihf: var(--vc-paper);
}
/* Button ohne Icon-Kreis (z. B. Menü): .vc-btn-plain */
.vc-btn-plain { padding: 0 26px; }

/* ==========================================================================
   5  Bewegung (Einblenden beim Scrollen)
   Elemente mit data-r="up" blenden ein, sobald vc.js sie sieht.
   Ohne Skript (html ohne .vc-js) ist alles sichtbar. Fallback nach 4 s: .vc-reveal-all
   ========================================================================== */
.vc-js [data-r] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s var(--vc-ease);
  transition-delay: var(--d, 0s);
}
.vc-js [data-r].vc-in,
.vc-js.vc-reveal-all [data-r] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .vc-js [data-r] { opacity: 1; transform: none; transition: none; }
  .vc-btn, .vc-btn::before, .vc-btn-i, .vc-btn-i::before, .vc-btn-i::after, .vc-card, .vc-nav { transition: none !important; }
  .vc-card:hover { transform: none; }
}

/* ==========================================================================
   6  Header und Menü
   ========================================================================== */
.vc-header { position: relative; z-index: 50; background: var(--vc-paper); }
.vc-topbar { background: var(--vc-dark); color: var(--vc-mist); font-size: 14px; }
.vc-topbar-in {
  max-width: var(--vc-max); margin: 0 auto; padding: 10px var(--vc-gutter);
  display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center;
}
.vc-topbar a { color: inherit; font-weight: 600; text-decoration: none; }
.vc-topbar a:hover { color: var(--vc-accent-light); }
.vc-bar { border-bottom: 1px solid var(--vc-line); }
.vc-bar-in {
  max-width: var(--vc-max); margin: 0 auto; padding: 18px var(--vc-gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px 40px;
}
.vc-logo { display: flex; align-items: center; gap: 14px; color: var(--vc-ink); text-decoration: none; }
.vc-logo svg { flex: none; }
.vc-logo img { display: block; height: 52px; width: auto; }
.vc-logo-t { display: flex; flex-direction: column; line-height: 1.1; }
.vc-logo-n { font-family: var(--vc-font-display); font-size: 30px; font-weight: 700; letter-spacing: .01em; }
.vc-logo-s { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--vc-muted); }

.vc-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 34px; align-items: center; }
.vc-menu li { position: relative; margin: 0; }
.vc-menu a { display: block; color: var(--vc-ink); font-weight: 600; font-size: 15px; text-decoration: none; padding: 6px 0; }
.vc-menu a:hover, .vc-menu .current-menu-item > a { color: var(--vc-accent-text); }
.vc-menu .sub-menu {
  list-style: none; margin: 0; padding: 12px 0;
  position: absolute; left: -16px; top: 100%; min-width: 250px;
  background: var(--vc-paper); border: 1px solid var(--vc-line);
  box-shadow: 0 12px 32px rgba(21, 41, 58, .12);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s .25s;
  z-index: 60;
}
.vc-menu li:hover > .sub-menu, .vc-menu li:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.vc-menu .sub-menu a { padding: 8px 20px; font-weight: 500; }
.vc-menu .vc-cta > a {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px;
  background: var(--vc-accent-btn); color: #FFFFFF; border: 2px solid var(--vc-accent-btn);
  font-weight: 700; transition: background .25s, color .25s, border-color .25s;
}
.vc-menu .vc-cta > a:hover, .vc-menu .vc-cta > a:focus-visible { background: var(--vc-ink); color: var(--vc-paper); border-color: var(--vc-ink); }

.vc-burger, .vc-nav-close {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; background: transparent;
  border: 2px solid var(--vc-ink); color: var(--vc-ink); cursor: pointer; border-radius: var(--vc-radius);
}
.vc-burger-bars, .vc-burger-bars::before, .vc-burger-bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; content: ""; position: relative;
}
.vc-burger-bars::before { position: absolute; top: -7px; left: 0; }
.vc-burger-bars::after { position: absolute; top: 7px; left: 0; }
.vc-nav-close { position: absolute; top: 20px; right: 20px; font-size: 26px; line-height: 1; }
.vc-scrim { position: fixed; inset: 0; background: rgba(21, 41, 58, .5); opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s .45s; z-index: 90; }

@media (max-width: 960px) {
  .vc-burger { display: inline-flex; }
  .vc-nav-close { display: inline-flex; }
  .vc-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 90vw);
    background: var(--vc-paper); padding: 92px 28px 32px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .45s var(--vc-ease), visibility 0s .45s;
    z-index: 100; box-shadow: -20px 0 60px rgba(21, 41, 58, .18);
  }
  .vc-nav-open .vc-nav { transform: none; visibility: visible; transition-delay: 0s; }
  .vc-nav-open .vc-scrim { opacity: 1; visibility: visible; transition-delay: 0s; }
  .vc-nav-open { overflow: hidden; }
  .vc-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .vc-menu > li > a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--vc-line); }
  .vc-menu .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 8px 16px; background: none; min-width: 0;
  }
  .vc-menu .sub-menu a { padding: 10px 0; font-size: 16px; }
  .vc-menu .vc-cta > a { justify-content: center; margin-top: 20px; }
}

/* ==========================================================================
   7  Footer
   ========================================================================== */
.vc-footer { background: var(--vc-dark); color: var(--vc-mist); }
.vc-footer-in { max-width: var(--vc-max); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--vc-gutter) 32px; }
.vc-footer-grid { display: flex; flex-wrap: wrap; gap: 40px 56px; padding-bottom: 48px; border-bottom: 1px solid var(--vc-line-dark); }
.vc-footer-col { flex: 1 1 200px; min-width: 0; font-size: 15px; color: var(--vc-on-dark); }
.vc-footer-col-brand { flex: 1.4 1 260px; }
.vc-footer-brand { font-family: var(--vc-font-display); font-size: 34px; font-weight: 700; line-height: 1.1; color: var(--vc-mist); margin: 0 0 12px; }
.vc-footer-h { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vc-accent-light); margin: 0 0 14px; }
.vc-footer p { margin: 0; }
.vc-footer ul { list-style: none; margin: 0; padding: 0; line-height: 1.9; }
.vc-footer a { color: inherit; text-decoration: none; }
.vc-footer a:hover { color: var(--vc-accent-light); }
.vc-footer-contact a { color: var(--vc-mist); }
.vc-footer-contact { line-height: 1.9; }
.vc-footer-bottom { padding-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 14px; color: var(--vc-on-dark); }
.vc-footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ==========================================================================
   8  Seitenbausteine (.vc-page)
   ========================================================================== */
.vc-page { font-family: var(--vc-font); color: var(--vc-ink); font-size: var(--vc-fs-body); line-height: 1.6; background: var(--vc-paper); }
.vc-page *, .vc-page *::before, .vc-page *::after { box-sizing: border-box; }
.vc-page a { color: inherit; }
.vc-page h1, .vc-page h2, .vc-page h3 { font-family: var(--vc-font-display); color: inherit; font-weight: 600; margin-top: 0; }
.vc-page p { margin-top: 0; }
.vc-wrap { max-width: var(--vc-max); margin: 0 auto; padding: 0 var(--vc-gutter); }
.vc-sec { padding: var(--vc-section) 0; }
.vc-sec-mist { background: var(--vc-mist); }
.vc-sec-dark { background: var(--vc-dark); color: var(--vc-mist); }
.vc-sec-dark h2, .vc-sec-dark h3 { color: var(--vc-mist); }
.vc-eyebrow { margin: 0 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--vc-accent-text); }
.vc-sec-dark .vc-eyebrow { color: var(--vc-accent-light); }
.vc-page h2.vc-h2 { margin-bottom: 24px; font-size: var(--vc-fs-h2); line-height: 1.08; }
.vc-page h3.vc-h3 { margin-bottom: 10px; font-size: var(--vc-fs-h3); font-weight: 700; line-height: 1.1; }
.vc-lead { font-size: var(--vc-fs-lead); color: var(--vc-ink-2); }
.vc-sec-dark .vc-lead { color: var(--vc-on-dark); }
.vc-link { font-weight: 700; border-bottom: 2px solid var(--vc-accent); text-decoration: none; }
.vc-link:hover { color: var(--vc-accent-text); }
.vc-sec-dark .vc-link:hover { color: var(--vc-accent-light); }

/* Hero */
.vc-hero { background: var(--vc-mist); padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); }
.vc-hero-grid { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.vc-hero-txt { flex: 1 1 460px; min-width: 0; }
.vc-page h1.vc-h1 { margin-bottom: 24px; font-size: var(--vc-fs-hero); line-height: 1.02; letter-spacing: -.01em; }
.vc-hero-lead { max-width: 520px; margin-bottom: 32px; font-size: 1.1875rem; color: var(--vc-ink-2); }
.vc-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.vc-hero-pic { flex: 0 1 460px; width: 100%; max-width: 460px; margin: 0 auto; }
.vc-arch { aspect-ratio: 5 / 6; border-radius: var(--vc-radius-arch); overflow: hidden; background: var(--vc-sea); }
.vc-arch img, .vc-collage img, .vc-card-img img, .vc-tile-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Suchwidget (FeWo-Channelmanager). Kein overflow:hidden an Elternelementen! */
.vc-search { margin-top: 56px; min-height: 160px; background: var(--vc-paper); border: 1px solid var(--vc-line); border-top: 4px solid var(--vc-accent); padding: 24px clamp(18px, 3vw, 32px) 28px; }
.vc-search-t { margin: 0 0 16px; font-family: var(--vc-font-display); font-size: 26px; font-weight: 700; line-height: 1.1; }

/* Fakten */
.vc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding: 40px 0; }
.vc-fact-n { font-family: var(--vc-font-display); font-size: 48px; font-weight: 600; line-height: 1; color: var(--vc-accent-light); }
.vc-fact-l { margin-top: 8px; font-size: 15px; color: var(--vc-on-dark); }
.vc-strip { background: var(--vc-dark); color: var(--vc-mist); }

/* Zweispalter und Collage */
.vc-split { display: flex; flex-wrap: wrap; gap: 56px 80px; align-items: center; }
.vc-split > * { flex: 1 1 440px; min-width: 0; }
.vc-collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: end; }
.vc-collage-a { aspect-ratio: 3 / 4; border-radius: var(--vc-radius-arch); overflow: hidden; background: var(--vc-ph); }
.vc-collage-b { aspect-ratio: 1 / 1; overflow: hidden; background: var(--vc-sand); }
.vc-checks { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 24px; font-weight: 500; }
.vc-checks li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.vc-checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; background: var(--vc-accent-text); -webkit-mask: var(--vc-ico-check) center / 22px no-repeat; mask: var(--vc-ico-check) center / 22px no-repeat; }

/* Kopfzeile eines Abschnitts mit Button rechts */
.vc-sec-head { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.vc-sec-head > div { max-width: 640px; }
.vc-sec-head .vc-h2 { margin-bottom: 0; }

/* Wohnungskarten */
.vc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.vc-card { display: block; background: var(--vc-paper); border: 1px solid var(--vc-line); color: inherit; text-decoration: none; transition: border-color .25s ease, transform .25s ease; }
.vc-card:hover, .vc-card:focus-visible { border-color: var(--vc-ink); transform: translateY(-3px); }
.vc-card-img { aspect-ratio: 4 / 3; background: var(--vc-ph); overflow: hidden; }
.vc-card-b { padding: 22px 22px 26px; }
.vc-card-n { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--vc-accent-text); }
.vc-card-t { margin: 4px 0 10px; font-family: var(--vc-font-display); font-size: 30px; font-weight: 700; line-height: 1.1; transition: color .25s ease; }
.vc-card:hover .vc-card-t, .vc-card:focus-visible .vc-card-t { color: var(--vc-accent-text); }
.vc-card-m { margin-bottom: 14px; font-size: 15px; color: var(--vc-muted); }
.vc-chip { display: inline-block; margin: 0 4px 4px 0; padding: 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: .04em; background: var(--vc-sand); color: var(--vc-ink); }
.vc-chip-dark { background: var(--vc-ink); color: var(--vc-mist); }

/* Ahlbeck */
.vc-split-head { display: flex; flex-wrap: wrap; gap: 24px 80px; align-items: flex-end; margin-bottom: 56px; }
.vc-split-head > * { flex: 1 1 420px; min-width: 0; margin: 0; }
.vc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.vc-tile { border: 1px solid var(--vc-line-dark); }
.vc-tile-img { aspect-ratio: 3 / 2; background: var(--vc-sea); overflow: hidden; }
.vc-tile-b { padding: 22px; }
.vc-tile-b p { margin: 0; font-size: 15px; color: var(--vc-on-dark); }
.vc-tile-b h3 { margin-bottom: 8px; font-size: 28px; font-weight: 700; }

/* Gut zu wissen */
.vc-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.vc-info > div { border-top: 3px solid var(--vc-ink); padding-top: 20px; }
.vc-info p { margin: 0; font-size: 16px; color: var(--vc-ink-2); }
.vc-info h3 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.vc-linkrow { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; }

/* Buchungsband */
.vc-cta-band { background: var(--vc-accent); color: var(--vc-ink); padding: clamp(48px, 7vw, 88px) 0; }
.vc-cta-band .vc-wrap { display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: center; justify-content: space-between; }
.vc-cta-band .vc-cta-txt { flex: 1 1 480px; min-width: 0; }
.vc-cta-band h2 { margin-bottom: 14px; font-size: clamp(2.125rem, 2vw + 1.5rem, 3.375rem); font-weight: 700; line-height: 1.08; }
.vc-cta-band p { margin: 0; max-width: 560px; font-size: 1.125rem; }

/* ==========================================================================
   9  FAQ (natives <details>, kein Skript nötig)
   ========================================================================== */
.vc-faq-wrap { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.vc-faq-intro { flex: 1 1 320px; min-width: 0; }
.vc-faq { flex: 2 1 520px; min-width: 0; border-top: 1px solid var(--vc-line-strong); }
.vc-faq details { border-bottom: 1px solid var(--vc-line-strong); }
.vc-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; }
.vc-faq summary::-webkit-details-marker { display: none; }
.vc-faq .vc-plus { font-size: 28px; line-height: 1; color: var(--vc-accent-text); transition: transform .25s ease; flex: none; }
.vc-faq details[open] .vc-plus { transform: rotate(45deg); }
.vc-faq details p { margin: 0 0 24px; max-width: 640px; color: var(--vc-ink-2); }

/* ==========================================================================
   10  GeneratePress-Anpassungen
   Eigener Kopf und Footer ersetzen die GeneratePress-Ausgabe (Hook in functions.php, hier zusätzlich per CSS).
   ========================================================================== */
.site-header, .site-footer { background: none; border: 0; padding: 0; margin: 0; }
.site-header .inside-header, .site-header .main-navigation, .site-header .site-branding,
.site-header .mobile-menu-control-wrapper, .site-footer .footer-widgets, .site-footer .site-info { display: none !important; }
.vc-header, .vc-footer { display: block !important; }

/* Seiten Kante zu Kante (Body-Klasse .vc-fullpage setzt functions.php) */
.vc-fullpage .site-content { display: block; }
.vc-fullpage .content-area { width: 100%; float: none; }
.vc-fullpage .grid-container { max-width: none; }
.vc-fullpage .site-main > * { margin-bottom: 0; }
.vc-fullpage .inside-article, .vc-fullpage .separate-containers .inside-article { padding: 0; background: transparent; }
.vc-fullpage .entry-content { margin: 0; }
.vc-fullpage .entry-header, .vc-fullpage .featured-image, .vc-fullpage .page-header { display: none; }
.vc-fullpage .site-content, .vc-fullpage .container.grid-container { background: transparent; }
.vc-fullpage #page, .vc-fullpage .site.grid-container { max-width: none; margin: 0; }

/* ==========================================================================
   11  Korrekturen
   ========================================================================== */

/* ==========================================================================
   12  Unterseiten-Bausteine
   ========================================================================== */
.vc-phead { background: var(--vc-mist); padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--vc-line); }
.vc-phead .vc-lead { max-width: 760px; margin-top: 20px; }
.vc-crumbs { margin: 0 0 20px; font-size: 14px; color: var(--vc-muted); }
.vc-crumbs a { color: var(--vc-accent-text); text-decoration: none; }
.vc-crumbs a:hover { text-decoration: underline; }

.vc-toc { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 28px 0 0; padding: 0; list-style: none; }
.vc-toc li { margin: 0; }
.vc-toc a { color: var(--vc-ink); font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 2px solid var(--vc-accent); padding-bottom: 2px; }
.vc-toc a:hover { color: var(--vc-accent-text); }

.vc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 32px; border: 1px solid var(--vc-line); background: var(--vc-white); }
.vc-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.vc-table caption { text-align: left; padding: 16px 20px; font-weight: 700; color: var(--vc-ink); }
.vc-table th, .vc-table td { padding: 14px 20px; text-align: left; border-top: 1px solid var(--vc-line); }
.vc-table thead th { background: var(--vc-sand); color: var(--vc-ink); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.vc-table tbody th { font-weight: 700; }
.vc-table a { color: var(--vc-accent-text); font-weight: 600; text-decoration: none; }
.vc-table a:hover { text-decoration: underline; }

.vc-note { margin-top: 24px; padding: 20px 24px; background: var(--vc-white); border-left: 4px solid var(--vc-accent); color: var(--vc-ink-2); }

.vc-figure { margin: 0; }
.vc-figure img { display: block; width: 100%; height: auto; }
.vc-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 40px; }
.vc-contact > div { padding: 28px; background: var(--vc-white); border: 1px solid var(--vc-line); }
.vc-contact h3 { margin: 0 0 4px; }
.vc-contact .vc-role { margin: 0 0 16px; color: var(--vc-muted); font-size: 15px; }
.vc-contact a { color: var(--vc-accent-text); font-weight: 700; text-decoration: none; }
.vc-contact a:hover { text-decoration: underline; }
.vc-steps { counter-reset: s; margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.vc-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 16px 20px; background: var(--vc-white); border: 1px solid var(--vc-line); }
.vc-steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--vc-ink); color: var(--vc-mist); font-weight: 700; }

.vc-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.vc-gallery .vc-figure img { aspect-ratio: 3 / 2; object-fit: cover; }

/* 1.3.1 Korrekturen */
.vc-page a.vc-btn { color: var(--b-fg); }
.vc-page a.vc-btn:hover, .vc-page a.vc-btn:focus-visible { color: var(--b-hf); }
.vc-split .vc-checks { grid-template-columns: 1fr; margin-bottom: 0; }
.vc-checks li > span { min-width: 0; }
.vc-hero-fig { margin: 32px auto 56px; }
.vc-hero-fig img { display: block; width: 100%; height: auto; }

/* 1.4.0 Wohnungsseiten: Foto-Kopf */
.vc-ahero { position: relative; display: flex; align-items: flex-end; min-height: clamp(440px, 66vh, 680px); background: var(--vc-ink); color: #fff; overflow: hidden; }
.vc-ahero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vc-ahero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,41,58,.40) 0%, rgba(21,41,58,.38) 30%, rgba(21,41,58,.90) 100%); }
.vc-ahero .vc-wrap { position: relative; z-index: 1; width: 100%; padding-top: 96px; padding-bottom: clamp(28px, 4.5vw, 56px); }
.vc-ahero .vc-crumbs, .vc-ahero .vc-crumbs a { color: rgba(255,255,255,.85); }
.vc-ahero .vc-eyebrow { color: var(--vc-accent-light); }
.vc-page .vc-ahero h1.vc-h1 { color: #fff; max-width: 900px; margin-bottom: 14px; font-size: clamp(1.875rem, 1rem + 2.8vw, 3.25rem); line-height: 1.08; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.vc-ahero .vc-lead { max-width: 620px; margin: 0; color: rgba(255,255,255,.92); }
.vc-ahero .vc-lead strong { color: #fff; }

/* 1.5.1 Logo */
.vc-logo img { height: 64px; width: auto; }
.vc-footer-logo { display: inline-block; margin: 0 0 16px; }
.vc-footer-logo img { display: block; width: auto; height: 88px; }
@media (max-width: 640px) { .vc-logo img { height: 52px; } }

/* 1.6.0 Rechtstexte */
.vc-legal { max-width: 760px; }
.vc-legal h2 { margin: 48px 0 16px; font-size: clamp(1.5rem, 1rem + 1.2vw, 2rem); line-height: 1.15; }
.vc-legal h2:first-child { margin-top: 0; }
.vc-legal h3 { margin: 32px 0 10px; font-size: 1.25rem; line-height: 1.2; font-weight: 700; }
.vc-legal p, .vc-legal li { font-size: 1.0625rem; line-height: 1.7; }
.vc-legal ul { margin: 0 0 1.2em; padding-left: 1.3em; }
.vc-legal li { margin-bottom: .4em; }
.vc-legal a { color: var(--vc-accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.vc-legal a:hover { color: var(--vc-ink); }

/* ==========================================================================
   13  Cookie-Banner und Buchungssystem-Sperre
   ========================================================================== */
.vc-cc { position: fixed; left: 16px; bottom: 16px; z-index: 99999; width: min(460px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; padding: 24px; background: var(--vc-paper); color: var(--vc-ink); border: 1px solid var(--vc-line); border-top: 4px solid var(--vc-accent-btn); box-shadow: 0 16px 48px rgba(21,41,58,.28); font-family: var(--vc-font); font-size: 15px; line-height: 1.55; }
.vc-cc[hidden], .vc-cc [hidden] { display: none !important; }
.vc-cc-title { margin: 0 0 8px; font-family: var(--vc-font-display); font-size: 24px; font-weight: 700; line-height: 1.1; }
.vc-cc-text { margin: 0 0 16px; color: var(--vc-ink-2); }
.vc-cc a { color: var(--vc-accent-text); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.vc-cc-opts { margin: 0 0 16px; border-top: 1px solid var(--vc-line); }
.vc-cc-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--vc-line); cursor: pointer; }
.vc-cc-row input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--vc-accent-btn); }
.vc-cc-row-fixed { cursor: default; }
.vc-cc-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.vc-cc-btn { flex: 1 1 calc(50% - 10px); min-height: 48px; padding: 0 16px; border: 2px solid var(--vc-ink); border-radius: var(--vc-radius); font: 700 15px/1 var(--vc-font); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.vc-cc-accept { background: var(--vc-accent-btn); border-color: var(--vc-accent-btn); color: #fff; }
.vc-cc-deny { background: var(--vc-ink); color: var(--vc-paper); }
.vc-cc-more, .vc-cc-save { background: transparent; color: var(--vc-ink); }
.vc-cc-save { background: var(--vc-ink); color: var(--vc-paper); }
.vc-cc-btn:hover { background: var(--vc-sea); border-color: var(--vc-sea); color: #fff; }
.vc-cc-btn:focus-visible, .vc-cc a:focus-visible { outline: 3px solid var(--vc-accent-text); outline-offset: 2px; }
@media (max-width: 520px) { .vc-cc { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 20px; } .vc-cc-btn { flex-basis: 100%; } }

.vc-gate { padding: 8px 0 4px; max-width: 640px; }
.vc-gate-t { margin: 0 0 8px; font-family: var(--vc-font-display); font-size: 22px; font-weight: 700; }
.vc-gate p { margin: 0 0 16px; color: var(--vc-ink-2); }


/* =========================================================================
   14. Startseite "Die Villa": Kopf, Foto-Reihe, Ausstattung
   ========================================================================= */
.vc-villa-head { display: flex; flex-wrap: wrap; gap: 24px clamp(40px, 6vw, 96px); align-items: flex-start; margin-bottom: clamp(32px, 4vw, 48px); }
.vc-villa-head > * { flex: 1 1 420px; min-width: min(100%, 320px); margin: 0; }
.vc-page h2.vc-villa-h { font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); line-height: 1.15; overflow-wrap: normal; word-break: normal; hyphens: manual; text-wrap: balance; }
.vc-villa-head .vc-lead { overflow-wrap: normal; word-break: normal; text-wrap: pretty; }
.vc-villa-foot .vc-checks li { overflow-wrap: normal; word-break: normal; text-wrap: pretty; }
.vc-villa-head .vc-eyebrow { display: flex; align-items: center; gap: 14px; }
.vc-villa-head .vc-eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--vc-accent); }
.vc-mosaic { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.vc-mo { position: relative; margin: 0; overflow: hidden; background: var(--vc-sand); aspect-ratio: 4 / 5; }
.vc-mo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.vc-mo:hover img { transform: scale(1.05); }
.vc-mo-badge { position: absolute; left: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; background: var(--vc-ink); color: var(--vc-paper); border-left: 4px solid var(--vc-accent); }
.vc-mo-badge strong { font-family: var(--vc-font-display, inherit); font-size: 1.5rem; line-height: 1; color: var(--vc-accent-light); }
.vc-mo-badge span { font-size: .78rem; line-height: 1.3; }
.vc-villa-foot { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; margin-top: clamp(32px, 4vw, 48px); padding-top: 28px; border-top: 1px solid var(--vc-line); }
.vc-villa-foot .vc-checks { flex: 1 1 560px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; margin: 0; font-size: .95rem; }
@media (max-width: 900px) {
  .vc-mosaic { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .vc-mo { flex: 0 0 62%; scroll-snap-align: start; }
  .vc-villa-foot .vc-checks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .vc-villa-foot .vc-checks { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .vc-mo img { transition: none; } .vc-mo:hover img { transform: none; } }

/* Buchungsband: weiße Schrift auf dunklerem Gold (Kontrast 4.7:1) */
.vc-cta-band { background: var(--vc-accent-btn); color: #fff; }
.vc-cta-band h2, .vc-cta-band p { color: #fff; }
.vc-cta-band .vc-btn-outline-dark { --b-fg: #fff; --b-bd: #fff; --b-hv: #fff; --b-hf: var(--vc-ink); }

/* Zeilenumbruch: Überschriften nie mitten im Wort, ausgewogen umbrechen; Absätze ohne einzelne Restwörter */
.vc-page h1, .vc-page h2, .vc-page h3 { overflow-wrap: normal; word-break: normal; hyphens: manual; text-wrap: balance; }
.vc-page p, .vc-page li { text-wrap: pretty; }