/* =================================================================
   PoolBaleares — design tokens & shared styles
   ================================================================= */

/* ===================================================================
   Lokal eingebundene Schriftarten (keine Verbindung zu Google-Servern)
   Lege die woff2-Dateien in /assets/fonts/ ab.
   =================================================================== */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/manrope-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/manrope-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/manrope-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/manrope-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/manrope-800.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lora-italic-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/lora-italic-500.woff2') format('woff2');
}

:root {
  /* Brand colors */
  --teal: #0EA5B7;
  --teal-600: #0B92A3;
  --teal-700: #0A7E8C;
  --teal-50: #E6F6F8;

  --navy: #0A2A47;
  --navy-deep: #0B2440;
  --navy-700: #143A5C;
  --navy-ink: #0D1F33;

  /* Neutrals */
  --ink: #0F172A;
  --ink-2: #1E293B;
  --muted: #6B7280;
  --muted-2: #94A3B8;
  --line: #E5E7EB;
  --line-2: #EEF2F4;
  --paper: #FFFFFF;
  --bg: #F7FAFB;

  /* Hero / water */
  --water-1: #DDEEF1;
  --water-2: #C4DDE4;
  --water-3: #9EC5D2;

  /* Type */
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;

  /* Radii & shadows */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 18px rgba(13, 31, 51, 0.07), 0 2px 6px rgba(13, 31, 51, 0.04);
  --shadow-lg: 0 20px 40px rgba(13, 31, 51, 0.12);

  /* Layout */
  --container: 1240px;
  --header-h: 90px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

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

/* =================================================================
   HEADER + NAV
   ================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 10px rgba(13, 31, 51, .04);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
}
.brand-text { line-height: 1; }
.brand-name {
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--navy-ink);
}
.brand-sub {
  display: block;
  font-size: 10px;
  letter-spacing: .22em;
  color: var(--navy-ink);
  font-weight: 600;
  margin-top: 6px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.nav a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
}
.nav a:hover { color: var(--teal); }
.nav a.is-active {
  color: var(--teal);
}
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang {
  position: relative;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px 6px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255,255,255,.8);
}
.lang-btn .lang-flag { font-size: 14px; line-height: 1; display: inline-flex; align-items: center; }
.lang-btn .lang-flag .flag-svg { display: block; }
.lang-menu button .flag {
  font-size: 14px;
  margin-right: 8px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  text-align: center;
}
.lang-menu button .flag .flag-svg { display: block; border-radius: 1px; box-shadow: 0 0 0 0.5px rgba(0,0,0,.15); }
.lang-btn:hover { border-color: var(--teal); color: var(--teal); }
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 6px;
  display: none;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}
.lang-menu button:hover { background: var(--bg); color: var(--teal); }
.lang-menu button .check { margin-left: auto; opacity: 0; color: var(--teal); }
.lang-menu button.is-active .check { opacity: 1; }

.whatsapp-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: white;
  padding: 10px 16px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.1;
  box-shadow: 0 4px 12px rgba(14, 165, 183, .25);
  transition: transform .15s ease, background .2s ease;
}
.whatsapp-pill:hover { background: var(--teal-600); transform: translateY(-1px); }
.whatsapp-pill .wa-icon { width: 22px; height: 22px; flex: 0 0 22px; }
.whatsapp-pill .wa-label { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.whatsapp-pill .wa-label small { font-size: 11px; font-weight: 600; opacity: .9; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: white;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: white;
  padding: 16px 24px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-2);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a.is-active { color: var(--teal); }

/* =================================================================
   BUTTONS
   ================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  line-height: 1.15;
}
.btn-primary { background: var(--teal); color: white; box-shadow: 0 6px 16px rgba(14, 165, 183, .25); }
.btn-primary:hover { background: var(--teal-600); transform: translateY(-1px); }
.btn-secondary { background: white; color: var(--navy-ink); border: 1px solid var(--line); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }
.btn-on-dark { background: white; color: var(--navy-ink); }
.btn-on-dark:hover { background: var(--teal-50); }
.btn .btn-icon { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); }
.btn-secondary .btn-icon, .btn-on-dark .btn-icon { background: var(--teal-50); color: var(--teal); }
.btn-label { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.btn-label small { font-size: 11px; font-weight: 600; opacity: .85; letter-spacing: .04em; }
.btn-label strong { font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  background:
    radial-gradient(1200px 600px at 80% 20%, #D5EAF0 0%, transparent 60%),
    linear-gradient(180deg, #E7F1F3 0%, #D0E4EA 50%, #BCD7E0 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  padding: 60px 0 80px;
  align-items: start;
  position: relative;
  z-index: 2;
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 18px;
}
.hero-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
  color: var(--navy-ink);
}
.hero-title .accent { color: var(--teal); display: block; margin-top: 4px; }
.hero-lede {
  margin: 22px 0 32px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 460px;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-pills {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}
.hero-pill .tick { width: 18px; height: 18px; color: var(--teal); }

.hero-media {
  position: relative;
  min-height: 520px;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url("hero-pool-meer.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: rgba(255,255,255,.85);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,42,71,.35) 100%);
  pointer-events: none;
}
.hero-photo-label {
  position: relative;
  z-index: 2;
  background: rgba(13, 31, 51, .55);
  border: 1px solid rgba(255,255,255,.25);
  padding: 6px 10px;
  border-radius: 4px;
  display: none;
}

/* Water shimmer overlay */
.shimmer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .35;
  background:
    repeating-linear-gradient(100deg, rgba(255,255,255,0) 0px, rgba(255,255,255,0) 60px, rgba(255,255,255,.55) 64px, rgba(255,255,255,0) 68px),
    repeating-linear-gradient(98deg, rgba(255,255,255,0) 0px, rgba(255,255,255,0) 30px, rgba(255,255,255,.35) 32px, rgba(255,255,255,0) 35px);
  animation: shimmerSlide 9s linear infinite;
}
@keyframes shimmerSlide {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 600px 0, -400px 0; }
}

/* Hero benefits card */
.hero-benefits {
  position: absolute;
  right: 0;
  bottom: 36px;
  width: 340px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-700) 100%);
  color: white;
  padding: 22px 22px 22px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
.hero-benefit {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero-benefit:last-child { border-bottom: 0; }
.hero-benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: grid;
  place-items: center;
  color: white;
}
.hero-benefit-icon svg { width: 18px; height: 18px; }
.hero-benefit-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 3px;
}
.hero-benefit-text { font-size: 12.5px; color: rgba(255,255,255,.78); line-height: 1.4; margin: 0; }

/* Hero layout variants */
.hero.layout-split .hero-grid { grid-template-columns: 1fr 1fr; }
.hero.layout-fullbleed {
  padding-top: 0;
  margin-top: calc(-1 * var(--header-h));
  background-image:
    linear-gradient(90deg, rgba(231,241,243,.85) 0%, rgba(231,241,243,.35) 38%, rgba(10,42,71,0) 62%),
    linear-gradient(180deg, rgba(231,241,243,.5) 0%, rgba(231,241,243,0) 22%),
    url("hero-pool-meer.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
.hero.layout-fullbleed .hero-grid {
  grid-template-columns: 1fr;
  padding: calc(var(--header-h) + 36px) 0 56px;
  position: relative;
  min-height: 720px;
}
.hero.layout-fullbleed .hero-content {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  max-width: 560px;
  position: relative;
  z-index: 2;
  box-shadow: none;
}
.hero.layout-fullbleed .hero-lede {
  color: var(--navy-ink);
  max-width: 420px;
}
.hero.layout-fullbleed .shimmer { display: none; }
.hero.layout-fullbleed .hero-media {
  position: absolute;
  inset: 0;
  min-height: 0;
  border-radius: 0;
  z-index: 1;
  pointer-events: none;
}
.hero.layout-fullbleed .hero-photo { display: none; }
.hero.layout-fullbleed .hero-benefits {
  position: absolute;
  right: 0;
  bottom: 56px;
  width: 360px;
  margin-top: 0;
  max-width: none;
  z-index: 3;
  pointer-events: auto;
}

/* =================================================================
   TRUST ROW
   ================================================================= */
.trust-row {
  padding: 60px 0;
  background: white;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  text-align: center;
}
.trust-item .trust-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  color: var(--teal);
}
.trust-item h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-ink);
  margin: 0 0 8px;
}
.trust-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* =================================================================
   SECTION HEAD
   ================================================================= */
.section-head { text-align: center; margin-bottom: 48px; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--navy-ink);
}

/* =================================================================
   SERVICES GRID
   ================================================================= */
.services {
  padding: 80px 0 100px;
  background: var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 22px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 165, 183, .35);
}
.service-icon { width: 36px; height: 36px; color: var(--teal); }
.service-card h3 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 4px 0 0;
  color: var(--navy-ink);
}
.service-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.service-link {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.service-link:hover { color: var(--teal-700); }
.service-link .arrow { transition: transform .2s ease; }
.service-link:hover .arrow { transform: translateX(3px); }

/* =================================================================
   GALLERY / TESTIMONIAL ROW
   ================================================================= */
.proof {
  padding: 0 0 100px;
  background: var(--bg);
}
.proof-grid {
  display: grid;
  grid-template-columns: 1.05fr .9fr 1fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-md);
  align-items: stretch;
}
.proof-grid > * {
  min-height: 380px;
}
.proof-grid .ba-slider {
  aspect-ratio: auto;
  height: 100%;
}

/* Before / After slider */
.ba-slider {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #ccc;
  cursor: col-resize;
  user-select: none;
}
.ba-img {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.ba-img.before {
  background-image: url("pool-vorher.jpg");
}
.ba-img.after {
  background-image: url("pool-nachher.jpg");
  clip-path: inset(0 0 0 50%);
  transition: none;
}
.ba-tag {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: rgba(13,31,51,.78);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  position: absolute;
  top: 14px;
}
.ba-tag.left { left: 14px; }
.ba-tag.right { right: 14px; }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: white;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(13,31,51,.25);
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  display: grid;
  place-items: center;
  color: var(--teal);
}
.ba-knob svg { width: 18px; height: 18px; }

/* Testimonial */
.testimonial {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-700) 100%);
  color: white;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stars {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 22px;
}
.stars svg { width: 22px; height: 22px; color: #F2B033; }
.stars-value { margin-left: 6px; font-weight: 800; font-size: 16px; }
.testimonial blockquote {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
}
.testimonial cite {
  font-style: normal;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}

/* CTA card */
.proof-cta {
  position: relative;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-image: url('team-drei.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  overflow: hidden;
}
.proof-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,42,71,0) 0%, rgba(10,42,71,0.25) 35%, rgba(10,42,71,0.85) 100%);
}
.proof-cta > * { position: relative; z-index: 2; }
.proof-cta .eyebrow { color: white; opacity: .85; }
.proof-cta h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
}
.proof-cta p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 22px;
  color: rgba(255,255,255,.9);
  max-width: 320px;
}
.proof-cta .btn {
  align-self: flex-start;
  background: var(--teal);
  color: white;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 13px 18px;
}
.proof-cta .btn:hover { background: var(--teal-600); }

/* =================================================================
   EMERGENCY BAR
   ================================================================= */
.emergency {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  color: white;
  padding: 40px 0;
}
.emergency-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
.em-badge {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  display: grid;
  place-items: center;
  color: var(--teal);
}
.em-badge .em-text { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.em-copy small {
  display: block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 800;
  margin-bottom: 6px;
}
.em-copy h2 {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.em-copy p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.em-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.85);
  padding: 56px 0 28px;
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr .8fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .brand-name { color: white; }
.footer-brand .brand-sub { color: rgba(255,255,255,.6); }
.footer-brand p {
  margin: 18px 0 18px;
  color: rgba(255,255,255,.65);
  line-height: 1.55;
  max-width: 280px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: grid;
  place-items: center;
  color: white;
  transition: background .2s ease, border-color .2s ease;
}
.footer-socials a:hover { background: var(--teal); border-color: var(--teal); }
.footer-socials svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: white;
  margin: 4px 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.7); }
.footer-col a:hover { color: white; }

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: rgba(255,255,255,.8);
}
.footer-contact-row svg { width: 14px; height: 14px; color: var(--teal); flex: 0 0 14px; }
.footer-lang {
  margin-top: 14px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

.footer-coverage {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-md);
  padding: 18px;
  background: rgba(255,255,255,.03);
}
.footer-coverage-icon {
  width: 80px;
  height: 30px;
  margin-bottom: 12px;
  color: var(--teal);
}
.footer-coverage h6 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 8px;
}
.footer-coverage p {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: white;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  color: rgba(255,255,255,.5);
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal a { color: rgba(255,255,255,.5); }
.footer-legal a:hover { color: white; }

/* =================================================================
   GENERIC PAGE HEADER (sub-pages)
   ================================================================= */
.page-hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(900px 400px at 70% 30%, #D5EAF0 0%, transparent 60%),
    linear-gradient(180deg, #E7F1F3 0%, #D0E4EA 100%);
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + 60px);
}
.page-hero h1 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: var(--navy-ink);
  max-width: 720px;
}
.page-hero p {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 580px;
  margin: 0;
}
.crumbs {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.crumbs a { color: var(--teal); }
.crumbs span { color: var(--muted); margin: 0 8px; }

/* =================================================================
   FORMS
   ================================================================= */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy-ink);
}
.field input, .field textarea, .field select {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  background: white;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14,165,183,.15);
}
.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  border-color: #DC2626;
  background: #FEF2F2;
}
.field-error {
  display: none;
  color: #DC2626;
  font-size: 12px;
  margin-top: 2px;
}
.field.is-invalid .field-error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
}
.checkbox input { margin-top: 3px; }

.form-success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  padding: 16px 18px;
  border-radius: var(--r-md);
  font-weight: 600;
  display: none;
  margin-bottom: 18px;
}
.form-success.show { display: block; }

/* =================================================================
   TWEAKS PANEL
   ================================================================= */
.tweaks-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 280px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  padding: 16px;
  display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.tweaks-head h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tweaks-close { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; }
.tweaks-close:hover { background: var(--bg); }
.tweaks-section { margin-bottom: 14px; }
.tweaks-section h5 {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.tweaks-radio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  background: var(--bg);
  border-radius: var(--r-sm);
  padding: 3px;
}
.tweaks-radio button {
  padding: 8px 6px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.tweaks-radio button.is-active {
  background: white;
  color: var(--navy-ink);
  box-shadow: var(--shadow-sm);
}

/* =================================================================
   WHATSAPP TOAST
   ================================================================= */
.toast-stage {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 16px;
  min-width: 280px;
  max-width: 360px;
  font-size: 13.5px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transform: translateX(110%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  pointer-events: auto;
}
.toast.show { transform: translateX(0); }
.toast .toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal);
  display: grid;
  place-items: center;
  flex: 0 0 32px;
}
.toast strong { display: block; color: var(--navy-ink); font-size: 13px; margin-bottom: 2px; }
.toast small { color: var(--muted); font-size: 12px; }

/* =================================================================
   REVEAL ANIMATIONS
   ================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =================================================================
   GENERIC CONTENT BLOCKS (sub-pages)
   ================================================================= */
.section { padding: 80px 0; }
.section.tight { padding: 56px 0; }
.section.bg { background: var(--bg); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
}
.value-card .v-icon { width: 36px; height: 36px; color: var(--teal); margin-bottom: 14px; }
.value-card h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-ink);
  margin: 0 0 8px;
}
.value-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* Service detail */
.svc-detail {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  align-items: start;
}
.svc-detail + .svc-detail { margin-top: 18px; }
.svc-detail .svc-icon { width: 56px; height: 56px; color: var(--teal); }
.svc-detail h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--navy-ink);
}
.svc-detail .svc-body p { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.svc-detail ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
}
.svc-detail li {
  font-size: 13.5px;
  color: var(--ink-2);
  position: relative;
  padding-left: 22px;
}
.svc-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal-50);
  border: 2px solid var(--teal);
}

/* Pricing tiers */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tier {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tier.is-featured {
  border-color: var(--teal);
  position: relative;
  box-shadow: 0 8px 28px rgba(14,165,183,.15);
}
.tier.is-featured::before {
  content: "EMPFEHLUNG";
  position: absolute;
  top: -10px;
  right: 24px;
  background: var(--teal);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 4px 10px;
  border-radius: 4px;
}
.tier h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy-ink);
}
.tier .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.tier .price .amt {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-ink);
  line-height: 1;
}
.tier .price .unit { font-size: 14px; color: var(--muted); }
.tier .price .prefix {
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .02em;
  align-self: center;
  margin-right: 2px;
}
.tier ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tier li {
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.tier li svg { width: 16px; height: 16px; color: var(--teal); flex: 0 0 16px; margin-top: 3px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-ink);
}
.faq-q .chev { width: 18px; height: 18px; color: var(--teal); transition: transform .2s ease; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 0 22px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 800px;
}

/* Map placeholder */
.map-block {
  background-image: url("karte-balearen.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--r-md);
  aspect-ratio: 1983 / 793;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px -25px rgba(10,42,71,.4);
}
.map-block::after {
  content: "MALLORCA • IBIZA • MENORCA • FORMENTERA";
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: .18em;
  background: rgba(13,31,51,.78);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
}
.map-pin {
  position: absolute;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.map-pin::after {
  content: attr(data-label);
  position: absolute;
  top: calc(50% + 14px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  background: white;
  color: var(--navy-ink);
  padding: 4px 7px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.map-pin:hover::after {
  background: var(--teal);
  color: white;
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 4px 12px rgba(46,158,170,.45);
}

/* Hover Mallorca pin → lift Mallorca location card */
.container:has(.map-pin[data-label="MALLORCA"]:hover) .location-card[data-island="mallorca"] {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px -18px rgba(10,42,71,.4), 0 0 0 2px var(--teal);
}
.container:has(.map-pin[data-label="MALLORCA"]:hover) .location-card[data-island="mallorca"] .location-photo {
  transform: scale(1.04);
}
.container:has(.map-pin[data-label="IBIZA"]:hover) .location-card[data-island="ibiza"] {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px -18px rgba(10,42,71,.4), 0 0 0 2px var(--teal);
}
.container:has(.map-pin[data-label="IBIZA"]:hover) .location-card[data-island="ibiza"] .location-photo {
  transform: scale(1.04);
}
.container:has(.map-pin[data-label="MENORCA"]:hover) .location-card[data-island="menorca"] {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px -18px rgba(10,42,71,.4), 0 0 0 2px var(--teal);
}
.container:has(.map-pin[data-label="MENORCA"]:hover) .location-card[data-island="menorca"] .location-photo {
  transform: scale(1.04);
}
.container:has(.map-pin[data-label="FORMENTERA"]:hover) .location-card[data-island="formentera"] {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px -18px rgba(10,42,71,.4), 0 0 0 2px var(--teal);
}
.container:has(.map-pin[data-label="FORMENTERA"]:hover) .location-card[data-island="formentera"] .location-photo {
  transform: scale(1.04);
}

/* Locations grid (Standorte) */
.locations-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.location-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.location-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.location-card.is-hq {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(46,158,170,.18);
}
.location-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(135deg, rgba(13,31,51,.05) 0 10px, rgba(13,31,51,0) 10px 20px),
    linear-gradient(160deg, #DCEAEE 0%, #BCD7E0 100%);
  display: grid;
  place-items: center;
  color: rgba(10,42,71,.55);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.location-photo.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.location-photo svg {
  width: 55%;
  height: auto;
}
.location-photo::before {
  content: attr(data-kind);
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: rgba(13,31,51,.65);
  color: white;
  padding: 4px 7px;
  border-radius: 3px;
}
.location-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.location-badge {
  display: inline-block;
  width: fit-content;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(46,158,170,.12);
  color: var(--teal);
  padding: 4px 8px;
  border-radius: 3px;
}
.location-card.is-hq .location-badge {
  background: var(--teal);
  color: white;
}
.location-body h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 2px 0 4px;
  color: var(--navy-ink);
  line-height: 1.1;
}
.location-body address {
  font-style: normal;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0 0 4px;
}
.location-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: auto;
}
.location-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--navy-ink);
  text-decoration: none;
  transition: color .2s ease;
}
.location-contact a:hover { color: var(--teal); }
.location-contact a svg {
  width: 14px;
  height: 14px;
  color: var(--teal);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .locations-grid { grid-template-columns: 1fr; }
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: white;
  border-radius: var(--r-md);
  padding: 32px;
  border: 1px solid var(--line);
}
.stat .stat-num {
  font-family: var(--font-sans);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--teal);
  line-height: 1;
}
.stat .stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* Testimonial grid */
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.t-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.t-card .stars svg { width: 16px; height: 16px; }
.t-card blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); flex: 1; }
.t-card cite { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 600; }

/* Contact info card */
.info-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
}
.info-card + .info-card { margin-top: 14px; }
.info-card h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--navy-ink);
}
.info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.info-row:last-child { margin-bottom: 0; }
.info-row svg { width: 18px; height: 18px; color: var(--teal); flex: 0 0 18px; margin-top: 3px; }
.info-row strong { display: block; color: var(--navy-ink); font-weight: 700; margin-bottom: 2px; }
.info-row span { font-size: 13px; color: var(--muted); }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1024px) {
  :root { --header-h: 80px; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .whatsapp-pill .wa-label { display: none; }
  .whatsapp-pill { padding: 10px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { min-height: 420px; }
  .hero-benefits { position: static; width: 100%; margin-top: 16px; }

  /* On mobile in fullbleed hero, let benefits flow below the image+text
     instead of overlapping. Also hide the absolute map label that covers
     the map on small screens. */
  .hero.layout-fullbleed .hero-media {
    position: static;
    inset: auto;
    pointer-events: auto;
    min-height: 0;
  }
  .hero.layout-fullbleed .hero-benefits {
    position: static;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    margin: 24px 0 0;
  }
  /* Move the background image off the full hero so the benefits box sits
     on the section background, not on the photo. */
  .hero.layout-fullbleed {
    background-image: none;
    margin-top: 0;
    padding-top: 0;
  }
  .hero.layout-fullbleed .hero-grid {
    min-height: 0;
    padding: 0 0 32px;
    gap: 0;
  }
  .hero.layout-fullbleed .hero-content {
    position: relative;
    padding: calc(var(--header-h) + 28px) 16px 32px;
    margin: 0 -16px;
    background-image:
      linear-gradient(180deg, rgba(231,241,243,.7) 0%, rgba(231,241,243,0) 35%),
      linear-gradient(180deg, rgba(231,241,243,0) 50%, rgba(231,241,243,.55) 100%),
      url("hero-pool-meer.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .hero.layout-fullbleed .hero-content > * { position: relative; z-index: 2; }
  .map-block::after { display: none; }
  .map-block {
    overflow: visible;
    margin-bottom: 32px;
  }
  .map-pin {
    width: 32px;
    height: 32px;
  }
}

/* Apply the mobile-style hero layout to landscape phones too
   (e.g. iPhone in landscape is 844×390 — wider than 720 but short). */
@media (max-height: 500px) and (orientation: landscape),
       (min-width: 721px) and (max-width: 1024px) and (orientation: landscape) and (max-height: 500px) {
  .hero.layout-fullbleed {
    background-image: none;
    margin-top: 0;
    padding-top: 0;
  }
  .hero.layout-fullbleed .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0 0 32px;
    gap: 0;
  }
  .hero.layout-fullbleed .hero-content {
    position: relative;
    padding: calc(var(--header-h) + 24px) 24px 28px;
    margin: 0 calc(var(--container-pad, 24px) * -1);
    max-width: none;
    background-image:
      linear-gradient(180deg, rgba(231,241,243,.7) 0%, rgba(231,241,243,0) 35%),
      linear-gradient(180deg, rgba(231,241,243,0) 50%, rgba(231,241,243,.55) 100%),
      url("hero-pool-meer.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .hero.layout-fullbleed .hero-content > * { position: relative; z-index: 2; }
  .hero.layout-fullbleed .hero-media {
    position: static;
    inset: auto;
    pointer-events: auto;
    min-height: 0;
  }
  .hero.layout-fullbleed .hero-benefits {
    position: static;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    margin: 24px 0 0;
  }
  .trust-grid { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .value-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .t-grid { grid-template-columns: 1fr; }
  .emergency-inner { grid-template-columns: 1fr; text-align: center; }
  .em-badge { margin: 0 auto; }
  .em-actions { justify-content: center; }
  .stats { grid-template-columns: 1fr 1fr; }
  .svc-detail { grid-template-columns: 1fr; }
  .svc-detail ul { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .brand-name { font-size: 22px; }
  .brand-sub { font-size: 9px; letter-spacing: .18em; }
  .brand-mark { width: 44px; height: 44px; flex-basis: 44px; }
  .hero-title { font-size: 36px; }
  .hero-grid { padding: 36px 0 56px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px; padding: 20px; }
  .stat .stat-num { font-size: 32px; }
  .em-copy h2 { font-size: 22px; }
  .ba-slider { aspect-ratio: 3 / 2; }
}

.lang-menu .lang-soon {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: auto;
}
.lang-menu .lang-label {
  flex: 1;
}

/* ============== DEMO NOTICE (Kontaktseite) ============== */
.demo-block {
  border-left: 4px solid #c0392b;
  padding-left: 0;
  border-radius: 0;
}
.demo-block > .demo-notice,
.demo-block > form {
  margin-left: 0;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-left: 0 !important;
}
.demo-block > form {
  margin-top: 28px;
}
.demo-notice {
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid #c0392b;
  border-radius: var(--r-md);
  padding: 28px 30px;
  color: var(--ink);
  line-height: 1.65;
  font-size: 15.5px;
}
.demo-notice p {
  margin: 0 0 14px;
}
.demo-notice p:last-child {
  margin-bottom: 0;
}
.demo-notice strong {
  color: var(--navy);
  font-weight: 700;
}
.demo-notice .demo-link {
  color: #c0392b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}
.demo-notice .demo-link:hover {
  color: #962d22;
}
.demo-notice .demo-divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0 22px;
}
.demo-notice .demo-list {
  margin: 0 0 18px;
  padding-left: 20px;
  list-style: none;
}
.demo-notice .demo-list li {
  position: relative;
  padding: 4px 0 4px 18px;
}
.demo-notice .demo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* ============== INTEREST OPTIONS (Kontaktformular) ============== */
.interest-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.interest-option {
  position: relative;
  cursor: pointer;
  display: block;
}
.interest-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.interest-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm, 8px);
  background: white;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
  height: 100%;
}
.interest-card:hover {
  border-color: var(--teal);
  background: rgba(14, 165, 183, 0.04);
}
.interest-option input:focus-visible + .interest-card {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.interest-option input:checked + .interest-card {
  border-color: var(--teal);
  background: rgba(14, 165, 183, 0.08);
  box-shadow: 0 0 0 2px rgba(14, 165, 183, 0.18);
}
.interest-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.35;
}
.interest-sub {
  font-size: 13px;
  color: var(--muted, #6b7785);
  line-height: 1.45;
}
@media (max-width: 720px) {
  .interest-options { grid-template-columns: 1fr; }
}

/* ============== 404 / Error Page ============== */
.error-hero {
  text-align: center;
  padding: 80px 0 100px;
}
.error-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.error-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 800;
  font-size: clamp(120px, 22vw, 220px);
  line-height: 0.9;
  color: var(--navy);
  margin-bottom: 24px;
}
.error-code .error-zero {
  width: clamp(120px, 22vw, 220px);
  height: clamp(120px, 22vw, 220px);
  display: block;
}
.error-wrap h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 16px;
  color: var(--navy);
}
.error-wrap > p {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.error-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.error-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--muted);
}
.error-links a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}
.error-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.error-links span {
  color: var(--muted-2);
}

.legal-doc {
  max-width: 760px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 40px 44px;
  color: var(--ink);
}
.legal-block + .legal-block {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legal-block h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin: 0 0 10px;
}
.legal-block p {
  margin: 0;
  line-height: 1.7;
  font-size: 16px;
  color: var(--navy);
}
.legal-block a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-block a:hover {
  color: var(--navy);
}
.legal-muted {
  color: var(--muted, #6b7785);
  font-size: 14px;
}
.legal-list {
  margin: 8px 0 14px;
  padding-left: 22px;
  color: var(--navy);
  line-height: 1.7;
  font-size: 16px;
}
.legal-list li {
  margin: 2px 0;
}
@media (max-width: 640px) {
  .legal-doc { padding: 28px 22px; }
}
