/* ============================================================
   Escape Webdesign — escape-webdesign.de
   CI: business/marketing/CI/Escape-CI.md
   Navy #232864 · Orange #E96220 · Fjalla One (Headings) · Lato (Body)
   Fonts lokal gehostet (kein Google-Request, DSGVO-sauber).
   Mobile-First: Besucher kommen per QR-Code vom Handy.
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Fjalla One';
  src: url('fonts/fjalla-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('fonts/lato-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('fonts/lato-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('fonts/lato-900.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #232864;
  --navy-deep: #171b47;
  --navy-soft: #343a80;
  --orange: #e96220;
  --orange-bright: #f47b3f;
  --green: #00a054;
  --text: #1a1a1a;
  --text-soft: #4d4f5e;
  --text-mute: #6b6d7c;
  --bg: #ffffff;
  --bg-alt: #f5f6f7;
  --bg-tint: #eef0f6;
  --border: #dcdfe8;
  --card: #ffffff;

  --ff-head: 'Fjalla One', 'Haettenschweiler', 'Arial Narrow', sans-serif;
  --ff-body: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --w-max: 1120px;
  --w-content: 720px;

  --shadow-sm: 0 1px 3px rgba(35, 40, 100, 0.08);
  --shadow-md: 0 6px 20px rgba(35, 40, 100, 0.12);
  --shadow-lg: 0 16px 44px rgba(35, 40, 100, 0.18);

  --radius: 10px;
  --radius-lg: 16px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.68;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--navy-deep); text-decoration-thickness: 2px; }

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 400;
  line-height: 1.16;
  color: var(--navy);
  margin: 0 0 0.45em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); letter-spacing: 0.005em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); }
p { margin: 0 0 1em; }
.lead { font-size: 1.14rem; line-height: 1.6; color: var(--text-soft); }
ul, ol { padding-left: 1.35em; margin: 0 0 1.2em; }
li { margin-bottom: 0.45em; }
li::marker { color: var(--orange); }
strong { font-weight: 700; color: var(--navy-deep); }

.container { width: 100%; max-width: var(--w-max); margin: 0 auto; padding: 0 1.25rem; }
.container--content { max-width: calc(var(--w-content) + 2.5rem); }
.section { padding: clamp(2.75rem, 6.5vw, 5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 900;
  color: #c04d13;
  margin-bottom: 0.55rem;
}

.skip-link { position: absolute; top: -100px; left: 0; padding: 0.6em 1em; background: var(--navy); color: #fff; z-index: 1000; }
.skip-link:focus { top: 0; }

/* ---------- Header ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: var(--w-max); margin: 0 auto; padding: 0.6rem 1.25rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { width: 116px; height: auto; }
/* Das Schloss-Symbol ragt über die Versalhöhe hinaus, deshalb liegt die Mitte der
   Buchstaben 4,8 von 85 Bildpunkten unter der Bildmitte. Bei 116px Anzeigebreite
   sind das rund 2px, um die Trenner und Label nach unten wandern, damit
   "Webdesign" optisch auf Höhe des E steht statt auf Höhe der Bildbox. */
.brand__divider { width: 1px; height: 30px; background: var(--border); position: relative; top: 2px; }
.brand__label {
  font-family: var(--ff-head); color: var(--navy);
  font-size: 1.02rem; letter-spacing: 0.03em; line-height: 1.1;
  position: relative; top: 2px;
}
.header-cta {
  background: var(--orange); color: #fff !important;
  font-weight: 700; text-decoration: none !important;
  padding: 0.6rem 1.1rem; border-radius: 999px; font-size: 0.95rem;
  white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center;
}
.header-cta:hover { background: var(--orange-bright); }
@media (max-width: 520px) {
  .brand img { width: 96px; }
  .brand__divider, .brand__label { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 85% 15%, rgba(233, 98, 32, 0.28), transparent 62%),
    linear-gradient(158deg, var(--navy-deep) 0%, var(--navy) 58%, var(--navy-soft) 100%);
  color: #fff;
}
.hero__inner {
  position: relative; max-width: var(--w-max); margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 4.75rem) 1.25rem clamp(2.5rem, 6vw, 4rem);
}
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; } }
.hero .eyebrow { color: #f9b98f; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: normal; color: #f9a56d; }
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.24rem); color: rgba(255,255,255,0.9); max-width: 44ch; margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__note { margin-top: 1.4rem; font-size: 0.95rem; color: rgba(255,255,255,0.75); }

/* Preis-Karte im Hero */
.price-badge {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  backdrop-filter: blur(4px);
}
.price-badge__label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: #f9b98f; font-weight: 900; }
.price-badge__value { display: block; font-family: var(--ff-head); font-size: clamp(2.4rem, 7vw, 3.2rem); color: #fff; line-height: 1.05; margin: 0.5rem 0 0.1rem; }
.price-badge__unit { display: block; color: rgba(255,255,255,0.72); font-size: 0.95rem; line-height: 1.4; }
.price-badge ul { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.price-badge li {
  padding-left: 1.7rem; position: relative; color: rgba(255,255,255,0.92);
  font-size: 0.96rem; margin-bottom: 0.55rem;
}
.price-badge li::before {
  content: '✓'; position: absolute; left: 0; color: var(--navy-deep);
  background: #f9a56d; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 900; top: 0.28em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none !important; line-height: 1.2; min-height: 48px;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn__icon { width: 19px; height: 19px; fill: currentColor; flex-shrink: 0; }
.btn--orange { background: var(--orange); color: #fff !important; }
.btn--orange:hover { background: var(--orange-bright); color: #fff !important; }
.btn--whatsapp { background: #25d366; color: #06301a !important; }
.btn--whatsapp:hover { background: #3ade7b; color: #06301a !important; }
.btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.45); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); color: #fff !important; }
.btn--outline { background: transparent; color: var(--navy) !important; border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff !important; }

/* ---------- Trust-Leiste ---------- */
.trust { background: var(--bg-tint); padding: 2rem 0; }
.trust__grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(2, 1fr); text-align: center; }
@media (min-width: 780px) { .trust__grid { grid-template-columns: repeat(4, 1fr); } }
.trust__value { display: block; font-family: var(--ff-head); font-size: clamp(1.6rem, 4.5vw, 2.3rem); color: var(--navy); line-height: 1.1; }
.trust__label { display: block; margin-top: 0.3rem; font-size: 0.9rem; color: var(--text-soft); }

/* ---------- Karten ---------- */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem; box-shadow: var(--shadow-sm);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--bg-tint); color: var(--navy);
  font-size: 1.35rem; margin-bottom: 0.9rem;
}

/* ---------- Ablauf ---------- */
.steps { display: grid; gap: 1.25rem; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm); counter-increment: step;
}
.step::before {
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-family: var(--ff-head); font-size: 1.2rem; margin-bottom: 0.85rem;
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: 0.95rem; color: var(--text-soft); margin: 0; }

/* ---------- Referenzen ---------- */
.ref-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ref-grid { grid-template-columns: repeat(3, 1fr); } }
.ref {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.ref__shot { aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.ref__body { padding: 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.ref__body h3 { margin-bottom: 0.2rem; }
.ref__meta { font-size: 0.85rem; color: var(--text-mute); margin-bottom: 0.7rem; }
.ref__body p { font-size: 0.95rem; color: var(--text-soft); }
.ref__link { margin-top: auto; font-weight: 700; font-size: 0.95rem; }

/* ---------- Vorher/Nachher-Liste ---------- */
.check-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.check-list li { padding-left: 1.9rem; position: relative; margin-bottom: 0.75rem; }
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0.15em;
  color: #fff; background: var(--green); width: 1.35rem; height: 1.35rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 900;
}

/* ---------- FAQ ---------- */
.faq details {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 0.7rem; overflow: hidden;
}
.faq summary {
  padding: 1rem 1.25rem; cursor: pointer; font-weight: 700; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: 1.02rem; min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.45rem; color: var(--orange); flex-shrink: 0; font-family: var(--ff-head); }
.faq details[open] summary::after { content: '−'; }
.faq details > div { padding: 0 1.25rem 1.25rem; color: var(--text-soft); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Kontakt-Band ---------- */
.contact-band {
  background:
    radial-gradient(ellipse 75% 85% at 88% 12%, rgba(233, 98, 32, 0.24), transparent 58%),
    linear-gradient(150deg, var(--navy-deep), var(--navy) 72%);
  color: #fff; border-radius: var(--radius-lg); padding: clamp(1.9rem, 4.5vw, 3rem);
}
.contact-band h2 { color: #fff; }
.contact-band a { color: #f9b98f; }
.contact-band .lead { color: rgba(255,255,255,0.86); }
.contact-methods { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.75rem; }
/* Erst ab 800px drei Spalten: darunter wird die Kachel so schmal, dass die
   E-Mail-Adresse nicht mehr in eine Zeile passt. */
@media (min-width: 800px) { .contact-methods { grid-template-columns: repeat(3, 1fr); } }
.contact-method {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius); padding: 1.1rem 1.2rem; text-decoration: none !important;
  display: grid; grid-template-columns: auto 1fr; column-gap: 0.5rem; align-items: center;
  transition: background-color 0.15s ease;
}
.contact-method:hover { background: rgba(255,255,255,0.14); }
/* Icon sitzt neben dem Label, der Wert bekommt die volle Kachelbreite. Sonst
   bricht die Rufnummer im Drei-Spalten-Raster um. */
.contact-method__icon { grid-column: 1; grid-row: 1; width: 19px; height: 19px; fill: currentColor; color: #f9b98f; }
.contact-method__label { grid-column: 2; grid-row: 1; display: block; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.11em; color: #f9b98f; font-weight: 900; }
.contact-method__value { grid-column: 1 / -1; grid-row: 2; display: block; font-size: 1.02rem; font-weight: 700; color: #fff; margin-top: 0.3rem; white-space: nowrap; overflow-wrap: normal; }
.contact-method--mail .contact-method__value { font-size: 0.92rem; letter-spacing: -0.01em; }
/* WhatsApp in Markenfarbe, damit der bevorzugte Weg sofort erkennbar ist. */
.contact-method--whatsapp { background: #25d366; border-color: #25d366; }
.contact-method--whatsapp:hover { background: #3ade7b; }
.contact-method--whatsapp .contact-method__icon,
.contact-method--whatsapp .contact-method__label,
.contact-method--whatsapp .contact-method__value { color: #06301a; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.76); padding: 2.75rem 0 1.5rem; font-size: 0.93rem; }
.site-footer h4 { color: #fff; font-size: 0.9rem; margin: 0 0 0.9rem; text-transform: uppercase; letter-spacing: 0.09em; font-family: var(--ff-body); font-weight: 900; }
.site-footer a { color: rgba(255,255,255,0.86); text-decoration: none; display: inline-block; padding-block: 0.3em; }
.site-footer a:hover { color: #f9b98f; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.9rem; margin-bottom: 2.25rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.35fr 1fr 1fr; gap: 3rem; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.35em; }
.footer-logo { width: 150px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.92; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.13); padding-top: 1.4rem;
  display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}
.footer-legal { display: flex; gap: 1.4rem; list-style: none; padding: 0; margin: 0; }

/* ---------- Rechtstexte ---------- */
.legal h2 { margin-top: 2rem; font-size: 1.3rem; }
.legal p, .legal li { color: var(--text-soft); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.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; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .btn:hover { transform: none; }
}
