/* ==========================================================================
   Vydra House Cleaning Service — base.css
   Fonts (self-hosted), Design-Tokens, Reset, Typografie, Buttons, Utilities
   ========================================================================== */

/* ---- Fonts (Variable, lokal gehostet — kein externer CDN) ---------------- */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/figtree-2.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/figtree-1.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/fraunces-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/fraunces-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Design-Tokens ------------------------------------------------------- */
:root {
  /* Marke — Logo-Blau (Azur). Variablennamen historisch "teal". */
  --teal-900: #0a2540;
  --teal-800: #0d346b;
  --teal-700: #0f4aa0;
  --teal-600: #1466d6;
  --teal-500: #2e86ff;
  --teal-400: #5aa6ff;
  --teal-300: #8ec5ff;
  --teal-200: #bcdcff;
  --teal-100: #dbeafe;
  --teal-50:  #eff5ff;

  /* Ink — Navy (wie Logo-Hintergrund) */
  --ink:      #0a1a2e;
  --ink-700:  #16314e;
  --ink-600:  #33546b;
  --muted:    #5a7284;
  --navy:     #0a1a2e; /* feste dunkle Fläche (Footer/dunkle Bänder) – themenunabhängig */

  /* Akzent — Cyan-Highlight (Logo-Sparkle). Name historisch "honey". */
  --honey:    #38bdf8;
  --honey-600:#0ea5e9;
  --honey-700:#0b7fc0;

  /* WhatsApp */
  --wa:       #25d366;
  --wa-600:   #1eb457;

  /* Flächen & Linien */
  --bg:       #f3f8ff;
  --surface:  #ffffff;
  --surface-2:#eaf2fe;
  --line:     #dbe8f7;
  --line-2:   #c3d8f0;

  /* Typo */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Radien */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Schatten (weich, geschichtet) */
  --sh-sm: 0 1px 2px rgba(12,34,51,.06), 0 2px 6px rgba(12,34,51,.05);
  --sh:    0 6px 18px rgba(12,34,51,.08), 0 2px 6px rgba(12,34,51,.05);
  --sh-lg: 0 18px 40px rgba(10,40,90,.16), 0 6px 14px rgba(12,34,51,.08);
  --sh-teal: 0 14px 30px rgba(20,102,214,.32);
  --sh-honey: 0 12px 26px rgba(46,134,255,.32);

  /* Layout */
  --container: 1160px;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: light; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: var(--teal-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--teal-600); }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 3px; border-radius: 4px; }

/* Standardgröße für Inline-Icons (Komponenten überschreiben bei Bedarf) */
.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }
svg { flex-shrink: 0; }

/* ---- Typografie --------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { text-wrap: pretty; }
strong { color: var(--ink); font-weight: 700; }
::selection { background: var(--teal-200); color: var(--ink); }

/* ---- Container & Section ------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }
.section--tint { background: var(--surface-2); }
.section--soft { background: linear-gradient(180deg, #ffffff 0%, var(--teal-50) 100%); }
.section--ink {
  background:
    radial-gradient(120% 120% at 15% 0%, rgba(46,134,255,.24), transparent 55%),
    radial-gradient(100% 100% at 100% 100%, rgba(56,198,255,.16), transparent 50%),
    var(--navy);
  color: #cfe0e6;
}
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--flush-top { padding-top: clamp(2rem, 4vw, 3rem); }

.section__head { max-width: 680px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { margin-bottom: .75rem; }
.section__lead { font-size: 1.15rem; color: var(--muted); }
.section--ink .section__lead { color: #a9c4cd; }

/* ---- Eyebrow / Badges / Pills ------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body);
  font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-500), var(--honey));
}
.section--ink .eyebrow { color: var(--teal-300); }
.section__head--center .eyebrow::before { display: none; }

.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .85rem; border-radius: var(--r-pill);
  background: var(--teal-50); color: var(--teal-800);
  border: 1px solid var(--line-2);
  font-size: .9rem; font-weight: 600;
}
.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .9rem; border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink-700);
  border: 1px solid var(--line);
  font-size: .95rem; font-weight: 600;
  box-shadow: var(--sh-sm);
}
.tag svg { color: var(--teal-500); }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  --btn-bg: var(--teal-600);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.5rem;
  border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 1rem; line-height: 1.1;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-fg: #fff; background: linear-gradient(135deg, var(--teal-500), var(--teal-700)); box-shadow: var(--sh-honey); }
.btn--primary:hover { background: linear-gradient(135deg, var(--teal-400), var(--teal-600)); }
.btn--teal { --btn-bg: var(--teal-700); box-shadow: var(--sh-teal); }
.btn--teal:hover { --btn-bg: var(--teal-800); }
.btn--wa { --btn-bg: var(--wa); --btn-fg: #05340f; box-shadow: 0 12px 26px rgba(37,211,102,.3); }
.btn--wa:hover { --btn-bg: var(--wa-600); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { --btn-bg: var(--teal-50); border-color: var(--teal-300); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); box-shadow: var(--sh); }
.btn--light:hover { --btn-bg: var(--teal-50); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.075rem; }
.btn--block { display: flex; width: 100%; }

/* ---- Utilities --------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.2rem; color: var(--muted); }
.text-muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--navy); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--r-sm); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---- Grid -------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ---- Scroll-Reveal ----------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
