/* -------------------------------------------------------------------------
   00 Typeface, Manrope Variable, self-hosted (SIL Open Font License 1.1)
   ---------------------------------------------------------------------- */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  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: "Manrope";
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  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;
}

/* =========================================================================
   Web Agentur Link
   style.css, Design system, layout and components
   Author: Web Agentur Link
   ---------------------------------------------------------------------
   Contents
   01 Tokens
   02 Reset & base
   03 Typography
   04 Layout primitives
   05 Buttons
   06 Navigation
   07 Hero
   08 Wave dividers & brand ornaments
   09 Cards & grids
   10 Comparison
   11 Process timeline
   12 Project mockups
   13 Testimonials placeholder
   14 FAQ
   15 CTA band
   16 Forms
   17 Kontaktangaben
   18 Footer
   19 Utilities, reveal & motion preferences
   ========================================================================= */

/* -------------------------------------------------------------------------
   01 Tokens
   ---------------------------------------------------------------------- */
:root {
  /* Marke, jeder Wert stammt aus dem Wal-Logo */
  --abyss:   #04182f;
  --deep:    #0a2a52;
  --navy:    #143e75;
  --ocean:   #1a5ca6;
  --surf:    #4c8fda;
  --sky:     #8fc1f2;
  --foam:    #e9f1fa;
  --mist:    #f5f8fc;
  --white:   #ffffff;

  /* Text */
  --ink:       #0b1b2b;
  --ink-soft:  #4c6076;
  --ink-faint: #5b6f82;
  --on-dark:        #eef6fd;
  --on-dark-soft:   rgba(238, 246, 253, 0.72);
  --on-dark-faint:  rgba(238, 246, 253, 0.64);

  /* Lines & surfaces */
  --line:        rgba(11, 27, 43, 0.09);
  --line-strong: rgba(11, 27, 43, 0.16);
  --line-dark:   rgba(143, 193, 242, 0.18);
  --glass:       rgba(255, 255, 255, 0.72);

  /* Shadows, soft, layered, never harsh */
  --shadow-sm: 0 1px 2px rgba(10, 42, 82, 0.04), 0 2px 8px rgba(10, 42, 82, 0.05);
  --shadow-md: 0 2px 4px rgba(10, 42, 82, 0.04), 0 12px 28px rgba(10, 42, 82, 0.08);
  --shadow-lg: 0 4px 8px rgba(10, 42, 82, 0.05), 0 28px 60px rgba(10, 42, 82, 0.12);
  --shadow-blue: 0 10px 30px rgba(26, 92, 166, 0.28);

  /* Type */
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1:  clamp(1.16rem, 1.09rem + 0.34vw, 1.34rem);
  --step-2:  clamp(1.4rem, 1.27rem + 0.62vw, 1.78rem);
  --step-3:  clamp(1.72rem, 1.48rem + 1.14vw, 2.44rem);
  --step-4:  clamp(2.1rem, 1.68rem + 2.02vw, 3.36rem);
  --step-5:  clamp(2.6rem, 1.85rem + 3.6vw, 4.75rem);

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --measure: 68ch;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.22s;
  --t: 0.4s;
  --t-slow: 0.8s;

  --nav-h: 108px;
}

/* -------------------------------------------------------------------------
   02 Reset & base
   ---------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea { font: inherit; color: inherit; }

a { color: inherit; }

ul, ol { list-style: none; padding: 0; }

:target { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }

::selection {
  background: var(--surf);
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--surf);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 999;
  padding: 0.85rem 1.4rem;
  background: var(--deep);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 0; }

/* -------------------------------------------------------------------------
   03 Typography
   ---------------------------------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 { font-size: var(--step-5); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { text-wrap: pretty; }

/* German runs on long compound nouns. Hyphenate body copy and allow a hard
   break as a last resort, so no word can ever spill into a neighbouring
   column. Headings stay unhyphenated, they use text-wrap: balance instead. */
p, li, dd, figcaption, label { hyphens: auto; -webkit-hyphens: auto; }
body { overflow-wrap: break-word; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--surf), rgba(76, 143, 218, 0.15));
}

.lead {
  font-size: var(--step-1);
  line-height: 1.6;
  max-width: 58ch;
}

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { margin-top: 1.1rem; font-size: var(--step-1); line-height: 1.6; }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head.is-centered .eyebrow { justify-content: center; }

/* -------------------------------------------------------------------------
   04 Layout primitives
   ---------------------------------------------------------------------- */
.container {
  width: min(100% - (var(--gutter) * 2), 1220px);
  margin-inline: auto;
}
.container-narrow { width: min(100% - (var(--gutter) * 2), 820px); margin-inline: auto; }

.section {
  position: relative;
  padding-block: var(--section-y);
}
.section-mist { background: var(--mist); }
.section-foam {
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(255, 255, 255, 0.9), transparent 60%),
    var(--foam);
}

.section-deep {
  background:
    radial-gradient(80% 120% at 85% 0%, rgba(26, 92, 166, 0.45), transparent 60%),
    radial-gradient(90% 100% at 0% 100%, rgba(20, 62, 117, 0.6), transparent 65%),
    var(--deep);
  color: var(--on-dark-soft);
}
.section-deep h1,
.section-deep h2,
.section-deep h3,
.section-deep h4 { color: var(--white); }
.section-deep .eyebrow { color: var(--sky); }
.section-deep .eyebrow::before { background: linear-gradient(90deg, var(--sky), rgba(143, 193, 242, 0.1)); }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
/* Rasterkinder dürfen unter ihre Mindestbreite schrumpfen. */
.grid > *, .split > *, .proj-grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(224px, 1fr)); }

/* Kartenraster mit fester Spaltenfolge statt auto-fit: so bleibt keine
   angebrochene Reihe stehen. Acht Karten gehen in 4, 2 und 1 Spalte auf,
   die Dreierstufe wird deshalb bewusst übersprungen. */
.grid-cards { grid-template-columns: 1fr; }
@media (min-width: 620px)  { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid-cards { grid-template-columns: repeat(4, 1fr); } }

/* Sechs Karten gehen in 3, 2 und 1 Spalte auf, hier entfällt die Viererstufe. */
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split-reverse > :first-child { order: 2; }
}

/* -------------------------------------------------------------------------
   05 Buttons
   ---------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: var(--step-0);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: transform var(--t) var(--ease-out),
              box-shadow var(--t) var(--ease-out),
              background-color var(--t) var(--ease),
              border-color var(--t) var(--ease),
              color var(--t) var(--ease);
}
.btn svg { flex: none; transition: transform var(--t) var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

/* Swell: a soft light sweeps across the button on hover */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }

.btn-primary {
  background: linear-gradient(135deg, var(--ocean), var(--navy));
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { box-shadow: 0 16px 40px rgba(26, 92, 166, 0.36); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ocean); color: var(--ocean); background: rgba(26, 92, 166, 0.04); }

.btn-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(143, 193, 242, 0.35);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.btn-light:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--sky); }

.btn-white { background: var(--white); color: var(--deep); box-shadow: var(--shadow-md); }
.btn-white:hover { box-shadow: var(--shadow-lg); }

.btn-sm { padding: 0.7rem 1.25rem; font-size: var(--step--1); }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--ocean);
  text-decoration: none;
  font-size: var(--step-0);
}
.link-arrow svg { transition: transform var(--t) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

/* -------------------------------------------------------------------------
   06 Navigation
   ---------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: height var(--t) var(--ease),
              background-color var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-inner {
  width: min(100% - (var(--gutter) * 2), 1220px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.nav.is-scrolled {
  height: 82px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(10, 42, 82, 0.06);
}

/* Waterline: scroll progress rendered as a rising tide line */
.nav-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--navy), var(--surf), var(--sky));
  opacity: 0;
  transition: opacity var(--t) var(--ease);
}
.nav.is-scrolled .nav-progress { opacity: 1; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
  flex: none;
}
/* Two lockups share one grid cell: the light one reads over the dark hero,
   the dark one takes over once the navigation turns white. */
.brand-marks { display: grid; transition: transform var(--t) var(--ease-out); }
.brand-marks img {
  grid-area: 1 / 1;
  width: auto;
  height: 78px;
  transition: opacity var(--t) var(--ease), height var(--t) var(--ease);
}
.brand:hover .brand-marks { transform: translateY(-2px); }
.brand-mark-dark { opacity: 0; }
.nav.is-scrolled .brand-mark-dark,
body.is-locked .brand-mark-dark { opacity: 1; }
.nav.is-scrolled .brand-mark-light,
body.is-locked .brand-mark-light { opacity: 0; }
.nav.is-scrolled .brand-marks img { height: 58px; }
@media (max-width: 900px) {
  :root { --nav-h: 92px; }
  .brand-marks img { height: 64px; }
  .nav.is-scrolled .brand-marks img { height: 52px; }
}
@media (max-width: 520px) {
  :root { --nav-h: 84px; }
  .brand-marks img { height: 56px; }
  .nav.is-scrolled .brand-marks img { height: 46px; }
}

.brand-lockup img { height: auto; width: 210px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.nav-links { display: none; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
@media (min-width: 1040px) { .nav-links { display: flex; } }

.nav-link {
  position: relative;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 0.4rem 0;
  transition: color var(--t-fast) var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--ocean);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform var(--t) var(--ease-out);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav-link[aria-current="page"] { color: var(--ocean); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; }

.lang {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.6);
}
.lang button {
  border: 0;
  background: transparent;
  padding: 0.34rem 0.7rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] {
  background: var(--deep);
  color: var(--white);
}

.nav-cta { display: none; }
@media (min-width: 620px) { .nav-cta { display: inline-flex; } }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
@media (min-width: 1040px) { .burger { display: none; } }
.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform var(--t) var(--ease-out), opacity var(--t-fast) var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 2rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease-out), visibility var(--t);
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1040px) { .drawer { display: none; } }

.drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0.25rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-size: var(--step-2);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.drawer a[aria-current="page"] { color: var(--ocean); }
.drawer .btn { margin-top: 1.6rem; }
body.is-locked { overflow: hidden; }

/* -------------------------------------------------------------------------
   07 Hero
   ---------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--nav-h) + clamp(3rem, 8vw, 6.5rem));
  padding-bottom: clamp(7rem, 14vw, 12rem);
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 78% 8%, rgba(76, 143, 218, 0.5), transparent 62%),
    radial-gradient(70% 90% at 8% 92%, rgba(20, 62, 117, 0.75), transparent 60%),
    linear-gradient(168deg, var(--deep) 0%, var(--abyss) 100%);
  color: var(--on-dark-soft);
}
.hero h1 { color: var(--white); }

/* Cursor-responsive light, subtle, decorative only */
.hero-light {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(340px circle at var(--mx, 70%) var(--my, 25%),
              rgba(143, 193, 242, 0.16), transparent 70%);
  transition: background 0.35s var(--ease);
  pointer-events: none;
}

.hero-sub {
  padding-top: calc(var(--nav-h) + clamp(2rem, 5vw, 3.5rem));
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; } }

.hero .eyebrow { color: var(--sky); }
.hero .eyebrow::before { background: linear-gradient(90deg, var(--sky), rgba(143, 193, 242, 0.1)); }
.hero-copy p { color: var(--on-dark-soft); font-size: var(--step-1); margin-top: 1.4rem; max-width: 52ch; }

.hero-note {
  margin-top: 1.6rem;
  font-size: var(--step--1);
  color: var(--on-dark-faint);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  margin-top: clamp(2.8rem, 6vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
}
.stat-value {
  font-size: var(--step-3);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  margin-top: 0.5rem;
  font-size: var(--step--1);
  color: var(--on-dark-faint);
  line-height: 1.45;
}

/* Hero visual, a layered depth composition, not a stock photo */
.hero-visual { position: relative; }
.depth-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(143, 193, 242, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px rgba(2, 12, 24, 0.5);
}
.depth-card .mock { box-shadow: 0 20px 40px rgba(2, 12, 24, 0.35); }

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(2, 12, 24, 0.35);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  animation: bob 7s var(--ease) infinite;
}
.badge-title { display: block; font-size: 0.86rem; font-weight: 800; color: var(--ink); }
.badge-sub { display: block; font-size: 0.74rem; font-weight: 600; color: var(--ink-faint); }
.float-badge-a { left: -8px; bottom: 16%; }
.float-badge-b { right: -6px; top: 12%; animation-delay: -3.5s; }
@media (max-width: 620px) {
  .float-badge-a { left: -4px; bottom: 8%; }
  .float-badge-b { right: -2px; top: 4%; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

.dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #2ecc8f;
  box-shadow: 0 0 0 4px rgba(46, 204, 143, 0.18);
  flex: none;
}

/* -------------------------------------------------------------------------
   08 Wave dividers & brand ornaments
   ---------------------------------------------------------------------- */
.wave {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  z-index: 1;
}
.wave svg { width: 100%; height: clamp(48px, 7vw, 108px); display: block; }
.wave-bottom { bottom: -1px; }
.wave-top { top: -1px; }

/* Ambient whale silhouette, the mark, extended into the page */
.whale-ghost {
  position: absolute;
  z-index: 0;
  width: clamp(320px, 46vw, 700px);
  opacity: 0.06;
  pointer-events: none;
  animation: glide 26s ease-in-out infinite;
}
.whale-ghost-hero { right: -6%; bottom: 8%; }
.whale-ghost-dark { left: -8%; top: 12%; opacity: 0.07; }
.whale-ghost-light { right: -10%; bottom: -6%; opacity: 0.05; }
@keyframes glide {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50%      { transform: translate3d(-26px, -18px, 0) rotate(-2.2deg); }
}

/* -------------------------------------------------------------------------
   09 Cards & grids
   ---------------------------------------------------------------------- */
.card {
  position: relative;
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out),
              border-color var(--t) var(--ease);
  height: 100%;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(76, 143, 218, 0.35);
}
.card h3 { font-size: var(--step-1); margin-bottom: 0.6rem; }
.card p { font-size: 0.98rem; }
.card-link { text-decoration: none; display: block; }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.3rem;
  border-radius: 15px;
  background: linear-gradient(140deg, rgba(76, 143, 218, 0.14), rgba(26, 92, 166, 0.06));
  color: var(--ocean);
  transition: transform var(--t) var(--ease-out), background-color var(--t) var(--ease);
}
.card:hover .card-icon { transform: scale(1.06) rotate(-3deg); }
.card-icon svg { width: 24px; height: 24px; }

.card-glass {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(143, 193, 242, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
}
.card-glass:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(143, 193, 242, 0.4); }
.card-glass h3 { color: var(--white); }
.card-glass p { color: var(--on-dark-soft); }
.card-glass .card-icon { background: rgba(143, 193, 242, 0.14); color: var(--sky); }

.card-num {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}

/* Service detail block (services page) */
.svc {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .svc { grid-template-columns: 0.85fr 1.15fr; } }
.svc:first-of-type { border-top: 0; }
.svc-aside { position: relative; }
@media (min-width: 900px) {
  .svc-aside { position: sticky; top: calc(var(--nav-h) + 2rem); }
}
.svc-body { display: grid; gap: 1.5rem; }

.qa { padding-left: 1.2rem; border-left: 2px solid rgba(76, 143, 218, 0.28); }
.qa h4 {
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ocean);
  margin-bottom: 0.5rem;
}

.ticks { display: grid; gap: 0.75rem; }
.ticks li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.98rem;
}
.ticks svg { flex: none; margin-top: 0.28rem; width: 18px; height: 18px; color: var(--ocean); }
.section-deep .ticks svg { color: var(--sky); }

/* -------------------------------------------------------------------------
   10 Comparison
   ---------------------------------------------------------------------- */
.compare {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .compare { grid-template-columns: 1fr 1fr; } }

.compare-col {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--white);
}
.compare-col.is-wal {
  border-color: transparent;
  color: var(--on-dark-soft);
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(76, 143, 218, 0.4), transparent 60%),
    linear-gradient(150deg, var(--navy), var(--deep));
  box-shadow: var(--shadow-lg);
}
.compare-col.is-wal h3 { color: var(--white); }
.compare-mark { width: 34px; height: auto; }

.compare-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 1.2rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.is-wal .compare-mark { width: 34px; height: auto; }

.compare-title { border-bottom-color: var(--line-dark); }
.compare-list { display: grid; gap: 0.95rem; }
.compare-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.is-wal .compare-list li { color: var(--on-dark); }
.compare-list li svg { flex: none; width: 20px; height: 20px; }
.is-wal .compare-list li svg { color: var(--sky); }
.compare-col:not(.is-wal) .compare-list li { color: var(--ink-faint); font-weight: 500; }
.compare-col:not(.is-wal) .compare-list li svg { color: var(--ink-faint); opacity: 0.6; }

/* -------------------------------------------------------------------------
   11 Process timeline
   ---------------------------------------------------------------------- */
.process { position: relative; display: grid; gap: 0; }
.process::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, rgba(76, 143, 218, 0.35), rgba(76, 143, 218, 0.06));
}
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 3rem); }
  .process::before { display: none; }
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.2rem;
  padding-block: 1.15rem;
}
@media (min-width: 900px) {
  .step { grid-template-columns: 1fr; gap: 0.9rem; padding-block: 0; }
}
.step-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ocean);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out);
}
.step:hover .step-marker { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-marker svg { width: 22px; height: 22px; }
.step-index {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--deep);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 800;
}
.step h3 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.step p { font-size: 0.96rem; }

/* -------------------------------------------------------------------------
   12 Project mockups
   ---------------------------------------------------------------------- */
.proj-grid {
  display: grid;
  gap: clamp(1.2rem, 2.5vw, 1.9rem);
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
}
.proj {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out);
  height: 100%;
}
.proj:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.proj-media {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2.2rem) 0;
  background: linear-gradient(160deg, var(--mock-bg-a, #0d3f6b), var(--mock-bg-b, #04121f));
}
.proj-media .mock { transition: transform var(--t-slow) var(--ease-out); }
.proj:hover .proj-media .mock { transform: translateY(-8px) scale(1.02); }
.proj-body { padding: clamp(1.3rem, 2.5vw, 1.8rem); display: grid; gap: 0.7rem; }
.proj-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.proj h3 { font-size: var(--step-1); }
.proj p { font-size: 0.96rem; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.3rem; }
.tag {
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  background: var(--foam);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
}

.proj-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.proj:hover .proj-link { text-decoration: underline; text-underline-offset: 4px; }

.badge-concept {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  background: rgba(4, 18, 31, 0.62);
  border: 1px solid rgba(143, 193, 242, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--sky);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Pure-CSS browser mockup, sharp on every display, zero image weight */
.mock {
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(2, 12, 24, 0.28);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  background: #f1f5f9;
  border-bottom: 1px solid rgba(11, 27, 43, 0.07);
}
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d7dfe8; }
.mock-url {
  flex: 1;
  height: 14px;
  margin-left: 8px;
  border-radius: 100px;
  background: #e4eaf1;
}
.mock-page { padding: 14px; display: grid; gap: 10px; background: var(--white); }
.mock-hero {
  height: 74px;
  border-radius: 8px;
  background: linear-gradient(120deg, var(--mock-a, #0f5fa8), var(--mock-b, #2e93e6));
}
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock-block { height: 40px; border-radius: 6px; background: #eef2f7; }
.mock-block.is-accent { background: color-mix(in srgb, var(--mock-a, #0f5fa8) 18%, #eef2f7); }
.mock-line { height: 8px; border-radius: 100px; background: #e9eef4; }
.mock-line.is-short { width: 55%; }
.mock-line.is-mid { width: 78%; }

/* Variants keep the family recognisable while differentiating each concept */
.mock-b1 .mock-hero { height: 58px; }
.mock-b1 .mock-row { grid-template-columns: 2fr 1fr; }
.mock-b2 .mock-row { grid-template-columns: 1fr 1fr; }
.mock-b2 .mock-block { height: 54px; }
.mock-b3 .mock-hero { height: 44px; }
.mock-b3 .mock-row { grid-template-columns: repeat(4, 1fr); }
.mock-b3 .mock-block { height: 30px; }

/* -------------------------------------------------------------------------
   13 Testimonials placeholder
   ---------------------------------------------------------------------- */
/* -------------------------------------------------------------------------
   Team, Porträts der beiden Personen hinter der Agentur
   ---------------------------------------------------------------------- */
.team {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: 1fr;
}
/* Erst ab 880px nebeneinander: mit den längeren Zitaten würden zwei
   Spalten darunter zu schmal und die Karten unnötig hoch. */
@media (min-width: 880px) { .team { grid-template-columns: 1fr 1fr; } }

.person {
  display: grid;
  gap: clamp(1.1rem, 2.5vw, 1.6rem);
  grid-template-columns: 1fr;
  align-items: start;
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out),
              border-color var(--t) var(--ease);
}
@media (min-width: 460px) { .person { grid-template-columns: auto 1fr; } }
.person:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(76, 143, 218, 0.35);
}
.person-photo {
  width: clamp(96px, 22vw, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-md);
}
.person-body { min-width: 0; }
.person h3 { font-size: var(--step-1); margin-bottom: 0.2rem; }
.person-role {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ocean);
  margin-bottom: 0.75rem;
}
.person p { font-size: 0.97rem; }
/* Zitat in der eigenen Stimme der Person */
.person-quote {
  position: relative;
  margin-top: 0.2rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(76, 143, 218, 0.4);
  font-size: 0.97rem;
  line-height: 1.62;
  font-style: italic;
  color: var(--ink-soft);
}

.person-focus {
  margin-top: 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
}
.person-focus b {
  color: var(--ink);
  font-weight: 700;
}

.person-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.person-tags span {
  padding: 0.28rem 0.65rem;
  border-radius: 100px;
  background: var(--foam);
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 700;
}

.soon {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.soon-card {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.5);
  display: grid;
  gap: 1rem;
  align-content: start;
}
.soon-quote { width: 34px; height: 34px; color: rgba(76, 143, 218, 0.35); }
.soon-lines { display: grid; gap: 0.6rem; }
.soon-lines span { height: 9px; border-radius: 100px; background: rgba(11, 27, 43, 0.06); }
.soon-lines span:nth-child(2) { width: 88%; }
.soon-lines span:nth-child(3) { width: 62%; }
.soon-person { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.4rem; }
.soon-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(11, 27, 43, 0.06);
  flex: none;
}
.soon-note {
  margin-top: 1.6rem;
  font-size: 0.95rem;
  color: var(--ink-faint);
  text-align: center;
}

/* -------------------------------------------------------------------------
   14 FAQ
   ---------------------------------------------------------------------- */
.faq { display: grid; gap: 0.7rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.faq-item:hover { border-color: rgba(76, 143, 218, 0.35); }
.faq-item.is-open { border-color: rgba(76, 143, 218, 0.45); box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.25rem clamp(1.1rem, 2.4vw, 1.7rem);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-size: var(--step-0);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.faq-icon {
  flex: none;
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--foam);
  transition: background-color var(--t) var(--ease), transform var(--t) var(--ease-out);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--ocean);
  transform: translate(-50%, -50%);
  transition: transform var(--t) var(--ease-out);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--ocean); transform: rotate(180deg); }
.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after { background: var(--white); }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t) var(--ease-out);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 clamp(1.1rem, 2.4vw, 1.7rem) 1.4rem;
  font-size: 0.99rem;
  max-width: 68ch;
}

/* -------------------------------------------------------------------------
   15 CTA band
   ---------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(90% 120% at 80% 0%, rgba(76, 143, 218, 0.45), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--abyss) 100%);
  text-align: center;
  color: var(--on-dark-soft);
}
.cta-band h2 { color: var(--white); }
.cta-band p { margin: 1.2rem auto 0; max-width: 54ch; font-size: var(--step-1); }
.cta-band .btn-row { justify-content: center; }

/* -------------------------------------------------------------------------
   16 Forms
   ---------------------------------------------------------------------- */
.form-shell {
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.form { display: grid; gap: 1.15rem; }
.form-row { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--ink-faint); }

.input {
  width: 100%;
  padding: 0.9rem 1.05rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--mist);
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.input::placeholder { color: var(--ink-faint); }
.input:hover { border-color: rgba(76, 143, 218, 0.4); }
.input:focus {
  outline: none;
  background: var(--white);
  border-color: var(--ocean);
  box-shadow: 0 0 0 4px rgba(76, 143, 218, 0.14);
}
textarea.input { min-height: 152px; resize: vertical; }
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%234c6076' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.05rem center;
  padding-right: 2.6rem;
}

.input[aria-invalid="true"] { border-color: #d64545; background: #fdf5f5; }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.14); }

.error {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #c33a3a;
}
.error.is-shown { display: flex; }

.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.88rem; }
.consent input { margin-top: 0.28rem; width: 18px; height: 18px; accent-color: var(--ocean); flex: none; }
.consent a { color: var(--ocean); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn.is-loading { pointer-events: none; opacity: 0.8; }
.btn.is-loading .btn-label { opacity: 0.6; }
.spinner {
  display: none;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  animation: spin 0.8s linear infinite;
}
.btn.is-loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  display: none;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.3rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(46, 204, 143, 0.08);
  border: 1px solid rgba(46, 204, 143, 0.32);
}
.form-success.is-shown { display: flex; }
.form-success svg { flex: none; color: #1f9d6d; margin-top: 0.15rem; }
.form-success strong { display: block; color: var(--ink); margin-bottom: 0.2rem; }

/* -------------------------------------------------------------------------
   17 Kontaktangaben
   ---------------------------------------------------------------------- */
.contact-aside { display: grid; gap: 1rem; align-content: start; }
.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease-out);
}
.contact-item:hover { border-color: rgba(76, 143, 218, 0.4); transform: translateY(-2px); }
.contact-item svg { flex: none; width: 22px; height: 22px; color: var(--ocean); margin-top: 0.2rem; }
/* Lange E-Mail-Adressen dürfen umbrechen, statt die Karte aufzudehnen. */
.contact-item > div { min-width: 0; }
.contact-item a { overflow-wrap: anywhere; }
.contact-item h4 { font-size: 0.95rem; margin-bottom: 0.15rem; }
.contact-item p, .contact-item a { font-size: 0.95rem; }
.contact-item a { color: var(--ocean); text-decoration: none; font-weight: 600; }
.contact-item a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* -------------------------------------------------------------------------
   18 Footer
   ---------------------------------------------------------------------- */
.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: 2rem;
  background: linear-gradient(180deg, var(--abyss), #020b14);
  color: var(--on-dark-faint);
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }

.footer .brand-name { color: var(--white); }
.footer .brand-sub { color: var(--on-dark-faint); }
.footer-about { margin-top: 1.2rem; max-width: 40ch; color: var(--on-dark-faint); }
.footer h4 {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-list { display: grid; gap: 0.7rem; }
.footer-list a {
  text-decoration: none;
  color: var(--on-dark-faint);
  transition: color var(--t-fast) var(--ease);
}
.footer-list a:hover { color: var(--sky); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(143, 193, 242, 0.12);
  font-size: 0.86rem;
}
.footer-bottom nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--sky); }

/* -------------------------------------------------------------------------
   19 Utilities, reveal & motion preferences
   ---------------------------------------------------------------------- */
.stack { display: grid; gap: 1.1rem; }
.mt-l { margin-top: clamp(2rem, 4vw, 3rem); }
.center { text-align: center; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.relative { position: relative; z-index: 2; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* 404 */
.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 4rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 70% 10%, rgba(76, 143, 218, 0.4), transparent 60%),
    linear-gradient(165deg, var(--deep), var(--abyss));
  color: var(--on-dark-soft);
}
.notfound h1 { color: var(--white); }
.notfound-code {
  font-size: clamp(5rem, 20vw, 12rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  background: linear-gradient(140deg, var(--white), var(--sky) 55%, rgba(143, 193, 242, 0.25));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-light { display: none; }
}
