@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,700;1,9..144,400&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ═══════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════ */
:root {
  --ink:        #071422;
  --teal:       #0C7C8C;
  --teal-mid:   #0E9BAD;
  --teal-glow:  #14B8CC;
  --teal-faint: rgba(12,124,140,.08);
  --teal-faint2:rgba(12,124,140,.14);

  --cream:      #F7F4ED;
  --cream-dark: #EDE9DF;
  --white:      #FFFFFF;
  --text:       #162030;
  --muted:      #596574;
  --border:     rgba(22,32,48,.09);
  --border-md:  rgba(22,32,48,.15);

  --shadow-xs:  0 1px 4px rgba(7,20,34,.06);
  --shadow-sm:  0 3px 12px rgba(7,20,34,.08);
  --shadow-md:  0 8px 28px rgba(7,20,34,.10);
  --shadow-lg:  0 20px 60px rgba(7,20,34,.14);
  --shadow-xl:  0 32px 80px rgba(7,20,34,.18);

  --r:          14px;
  --r-lg:       22px;
  --max:        1280px;

  /* Typography scale — scales with viewport */
  font-size: clamp(15.5px, 1.1vw, 18px);
}

/* ═══════════════════════════════════════════════════
   BASE
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scrollbar-gutter: stable; scroll-behavior: smooth; }

/* ── Top accent bar ── */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #053240 0%, var(--teal) 40%, var(--teal-mid) 65%, #071422 100%);
  z-index: 10001;
  pointer-events: none;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; }

.container {
  width: min(var(--max), calc(100% - clamp(24px, 4vw, 64px)));
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════════════ */
header {
  position: fixed;
  top: 3px; left: 0; right: 0;
  z-index: 9999;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background .3s, box-shadow .3s;
}
header.scrolled {
  box-shadow: 0 2px 20px rgba(7,20,34,.10);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(64px, 6vw, 80px);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  height: clamp(44px, 4.5vw, 62px);
  flex-shrink: 0;
}
.logo { height: 100%; width: auto; object-fit: contain; }

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .1px;
}
nav a {
  display: block;
  padding: .55em 1.15em;
  border-radius: 9px;
  font-size: .95rem;
  color: var(--muted);
  transition: color .15s, background .15s;
}
nav a:hover { color: var(--text); background: var(--teal-faint); }
nav a.active { color: var(--teal); background: var(--teal-faint2); font-weight: 700; }

.cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: .65em 1.5em;
  border-radius: 9px;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .25px;
  border: 1.5px solid var(--border-md);
  background: var(--white);
  color: var(--ink);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(22,32,48,.25); }
.btn:active { transform: translateY(0); }

.btn.primary {
  background: var(--teal);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(12,124,140,.3);
}
.btn.primary:hover {
  background: #0a6d7c;
  box-shadow: 0 8px 28px rgba(12,124,140,.42);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.btn.ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); }

.btn.lg {
  padding: .8em 2em;
  font-size: 1rem;
  border-radius: 11px;
}

/* ═══════════════════════════════════════════════════
   HERO — DARK, ANIMATED GRADIENT
═══════════════════════════════════════════════════ */
.hero-dark {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  padding: clamp(80px, 9vw, 140px) 0 clamp(64px, 7vw, 110px);
  min-height: clamp(560px, 85vh, 920px);
  display: flex;
  align-items: center;
}

/* Animated gradient blobs */
.hero-dark::before,
.hero-dark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  will-change: transform;
}
.hero-dark::before {
  width: clamp(400px, 55vw, 800px);
  height: clamp(400px, 55vw, 800px);
  background: radial-gradient(circle, rgba(12,124,140,.45) 0%, transparent 70%);
  top: -20%; left: -10%;
  animation: blobA 18s ease-in-out infinite;
}
.hero-dark::after {
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  background: radial-gradient(circle, rgba(20,184,204,.22) 0%, transparent 70%);
  bottom: -10%; right: 5%;
  animation: blobB 22s ease-in-out infinite;
}

@keyframes blobA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(8%, 12%) scale(1.08); }
  66%       { transform: translate(-5%, 6%) scale(.94); }
}
@keyframes blobB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-12%, -8%) scale(1.12); }
  70%       { transform: translate(6%, 5%) scale(.96); }
}

/* Extra small accent blob */
.hero-dark .blob-accent {
  position: absolute;
  width: clamp(180px, 20vw, 320px);
  height: clamp(180px, 20vw, 320px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,155,173,.18) 0%, transparent 70%);
  filter: blur(60px);
  top: 50%; right: 20%;
  animation: blobC 14s ease-in-out infinite;
  pointer-events: none;
}
@keyframes blobC {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-8%) scale(1.1); }
}

/* Grid noise overlay for texture */
.hero-dark .noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: .4;
  pointer-events: none;
}

.hero-dark .container { position: relative; z-index: 2; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* ═══════════════════════════════════════════════════
   HERO TYPOGRAPHY
═══════════════════════════════════════════════════ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 1.4em;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--teal-mid);
  border-radius: 1px;
}

h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: .55em;
}
h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--teal-glow);
}

h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--ink);
}

h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  margin-bottom: .45em;
}

.lead {
  font-size: clamp(.95rem, 1.3vw, 1.1rem);
  line-height: 1.75;
  color: rgba(255,255,255,.62);
  max-width: 50ch;
  margin-bottom: 2em;
}
.lead-dark { color: var(--muted); }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* HERO RIGHT — glass card */
.hero-glass {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  backdrop-filter: blur(12px);
  padding: clamp(20px, 2.5vw, 32px);
}
.hero-glass-title {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 1.2em;
}
.hero-glass .info > div {
  padding: .75em 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-glass .info > div:first-child { padding-top: 0; }
.hero-glass .info > div:last-child  { border-bottom: none; padding-bottom: 0; }
.hero-glass .info b {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .3px;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
}
.hero-glass .info span {
  font-size: .9rem;
  color: rgba(255,255,255,.88);
}
.hero-glass .info a { color: rgba(255,255,255,.88); }

.hero-glass-cta {
  display: grid;
  gap: 8px;
  margin-top: 1.4em;
}

/* ═══════════════════════════════════════════════════
   SECTION WRAPPER & HEADINGS
═══════════════════════════════════════════════════ */
.section { padding: clamp(56px, 7vw, 96px) 0; }
/* Extra top breathing room for sections on inner pages */
.section + .section { }
.section-head + .grid2,
.section-head + .grid3,
.section-head + .feature { margin-top: 0; }
/* h2 spacing when preceded by content */
.section h2 { margin-top: 0; }
/* Inner page section spacing */
.section.section-white + .section.section-cream,
.section.section-cream + .section.section-white {
  border-top: none;
}
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }
.section-dark  { background: var(--ink); }

.section-head {
  margin-bottom: clamp(28px, 3.5vw, 48px);
}
.section-head .eyebrow { color: var(--teal); margin-bottom: .8em; }
.section-head .eyebrow::before { background: var(--teal); }
.section-head h2 { margin-bottom: .35em; }
.section-head .sub {
  font-size: clamp(.9rem, 1.2vw, 1.05rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 60ch;
}

/* ═══════════════════════════════════════════════════
   SERVICE CARDS (Homepage — link to leistungen)
═══════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(20px, 2.5vw, 32px);
  box-shadow: var(--shadow-xs);
  transition: box-shadow .25s, transform .25s, border-color .25s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.service-card::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: var(--teal-faint2);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: clamp(40px, 3.5vw, 52px);
  height: clamp(40px, 3.5vw, 52px);
  border-radius: 13px;
  background: var(--teal-faint2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2em;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.service-card h3 {
  font-size: clamp(.95rem, 1.1vw, 1.1rem);
  margin-bottom: .5em;
}
.service-card p {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}
.service-arrow {
  margin-top: 1.4em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .2px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap .2s;
}
.service-card:hover .service-arrow { gap: 9px; }

/* ═══════════════════════════════════════════════════
   FEATURE CARDS (inner pages)
═══════════════════════════════════════════════════ */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.5vw, 20px); }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.5vw, 20px); }

.feature {
  padding: clamp(20px, 2.5vw, 30px);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: box-shadow .22s, transform .22s;
  position: relative;
  overflow: hidden;
}
.feature::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature:hover::after { transform: scaleX(1); }

.feature .icon {
  width: clamp(38px, 3vw, 48px);
  height: clamp(38px, 3vw, 48px);
  border-radius: 12px;
  background: var(--teal-faint2);
  display: grid;
  place-items: center;
  margin-bottom: 1em;
  color: var(--teal);
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
}
.feature h3 { font-size: 1rem; margin-bottom: .4em; }
.feature p, .feature .list { color: var(--muted); font-size: .9rem; line-height: 1.7; margin: 0; }

/* ═══════════════════════════════════════════════════
   TRUST STRIP
═══════════════════════════════════════════════════ */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 0;
}
.trust-strip-wrap {
  padding: clamp(20px,3vw,36px) 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.trust-item {
  background: var(--white);
  padding: clamp(18px, 2.5vw, 28px) clamp(14px, 2vw, 24px);
  text-align: center;
}
.trust-item strong {
  display: block;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: .3em;
}
.trust-item span {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   CTA BANNER
═══════════════════════════════════════════════════ */
.cta-banner {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(32px, 4vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12,124,140,.3) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.4rem, 2.5vw, 2.2rem); margin-bottom: .3em; }
.cta-banner p { color: rgba(255,255,255,.55); font-size: .95rem; max-width: 48ch; }
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════
   CARD (generic)
═══════════════════════════════════════════════════ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════════
   HERO CARD (inner pages)
═══════════════════════════════════════════════════ */
.hero-card {
  padding: clamp(20px, 2.5vw, 28px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.hero-card h3 {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.2em;
}

/* ═══════════════════════════════════════════════════
   INFO ROWS
═══════════════════════════════════════════════════ */
.info {
  display: grid;
  gap: 0;
  font-size: .875rem;
  color: var(--muted);
}
.info > div {
  padding: .75em 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.info > div:first-child { padding-top: 0; }
.info > div:last-child  { border-bottom: none; padding-bottom: 0; }
.info b { color: var(--text); font-weight: 700; font-size: .8rem; }

/* ═══════════════════════════════════════════════════
   PILL, BADGE, SMALL
═══════════════════════════════════════════════════ */
.pill {
  display: inline-flex;
  align-items: center;
  padding: .3em .9em;
  border-radius: 999px;
  background: var(--teal-faint2);
  border: 1px solid rgba(12,124,140,.18);
  color: var(--teal);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 1.2em;
}

.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  padding: .35em .9em;
  border-radius: 999px;
  border: 1px solid var(--border-md);
  background: var(--white);
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink);
}

.small { font-size: .8rem; color: var(--muted); line-height: 1.65; }
.lead-page {
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 1.6em;
}

/* ═══════════════════════════════════════════════════
   HERO (INNER PAGES — light)
═══════════════════════════════════════════════════ */
.hero-light {
  padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 72px);
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero-light h1 { color: var(--ink); }
.hero-light .pill { }
.hero-light::before {
  content: "";
  position: absolute;
  top: -200px; right: -150px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12,124,140,.07) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}
.hero-light .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}

/* ═══════════════════════════════════════════════════
   SECTION HEAD LIGHT VERSION
═══════════════════════════════════════════════════ */
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 3vw, 40px);
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════
   KPI ROW
═══════════════════════════════════════════════════ */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 1.4em;
  padding-top: 1.2em;
  border-top: 1px solid var(--border);
}
.kpi {
  text-align: center;
  padding: .8em .4em;
  border-radius: 10px;
  background: var(--cream);
  border: 1px solid var(--border);
}
.kpi strong {
  display: block;
  font-size: .85rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
}
.kpi span { font-size: .7rem; color: var(--muted); font-weight: 500; }

/* ── Last section before footer breathing room ── */
main > .section:last-child { padding-bottom: clamp(56px, 7vw, 96px); }
main > section:last-child { padding-bottom: clamp(56px, 7vw, 96px); }

/* ─ Animated gradient background ─ */
.bg-animated {
  position: relative;
  overflow: hidden;
}
.bg-animated::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg at 30% 50%,
    rgba(12,124,140,.12) 0deg,
    rgba(7,20,34,.04) 120deg,
    rgba(14,155,173,.10) 240deg,
    rgba(12,124,140,.12) 360deg
  );
  animation: gradSpin 28s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.bg-animated > * { position: relative; z-index: 1; }
@keyframes gradSpin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════
   CONTACT FORM
═══════════════════════════════════════════════════ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
}
.contact .card { padding: clamp(20px, 2.5vw, 30px); }
.contact .card h2 { margin-bottom: 1.2em; }

label {
  display: block;
  font-size: .72rem;
  letter-spacing: .7px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .45em;
}
input, textarea {
  width: 100%;
  padding: .75em 1em;
  border-radius: 10px;
  border: 1.5px solid var(--border-md);
  outline: none;
  font-family: inherit;
  font-size: .95rem;
  background: var(--cream);
  color: var(--text);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
input:focus, textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(12,124,140,.10);
}
textarea { min-height: 130px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: .45em; }

/* ═══════════════════════════════════════════════════
   LIST
═══════════════════════════════════════════════════ */
.list {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.85;
}

/* ═══════════════════════════════════════════════════
   HR
═══════════════════════════════════════════════════ */
.hr { height: 1px; background: var(--border); margin: 1.4em 0; }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
footer.footer {
  background: var(--ink);
  color: rgba(255,255,255,.5);
  padding: clamp(40px, 5vw, 70px) 0 clamp(24px, 3vw, 40px);
  font-size: .875rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  padding-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: clamp(16px, 2vw, 24px);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 1em; }
.footer-brand-text { display: flex; flex-direction: column; gap: 2px; }
.footer-brand-text strong {
  display: block;
  color: rgba(255,255,255,.95);
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
}
.footer-brand-text span {
  color: rgba(255,255,255,.35);
  font-size: .7rem;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}
.footer-contact { line-height: 1.9; color: rgba(255,255,255,.45); font-size: .825rem; }
.footer-contact a { color: rgba(255,255,255,.55); transition: color .15s; }
.footer-contact a:hover { color: rgba(255,255,255,.9); }

.footer-col-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 1em;
}
.footer-links { display: flex; flex-direction: column; gap: .65em; }
.footer-links a {
  color: rgba(255,255,255,.5);
  font-size: .875rem;
  transition: color .15s;
}
.footer-links a:hover { color: rgba(255,255,255,.9); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .775rem;
  color: rgba(255,255,255,.3);
  padding-top: clamp(16px,2vw,24px);
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: rgba(255,255,255,.75); }

.mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   MOBILE MENU
═══════════════════════════════════════════════════ */
.hamburger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1.5px solid var(--border-md);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 999px;
  display: block;
  transition: transform .18s ease, opacity .18s ease;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5,13,24,.65);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 9998;
}
.mobile-menu__panel {
  position: absolute;
  top: 10px; right: 10px;
  width: min(92vw, 340px);
  max-height: calc(100vh - 20px);
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-xl);
  padding: 16px;
  transform: translateY(-8px) scale(.97);
  transition: transform .2s ease;
}
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.mobile-menu__title { font-weight: 800; color: var(--ink); font-size: .95rem; }
.mobile-menu__close {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border-md);
  background: var(--cream);
  font-weight: 700;
  color: var(--ink);
  font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}
.mobile-link {
  display: block;
  padding: .75em 1em;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--cream);
  margin-bottom: 8px;
  transition: background .12s, color .12s;
}
.mobile-link:hover, .mobile-link.active { background: var(--teal-faint2); color: var(--teal); }
.mobile-menu__cta { display: grid; gap: 8px; margin-top: 8px; }

.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.menu-open .mobile-menu__panel { transform: none; }
.menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .hamburger span:nth-child(2) { opacity: 0; }
.menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Scroll anchor offset (fixed header) ── */
section[id] {
  scroll-margin-top: calc(clamp(64px,6vw,80px) + 3px + 36px);
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL ANIMATION
═══════════════════════════════════════════════════ */
/* Reveal: ONLY animate if JS has loaded successfully */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-ready .reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  nav ul, header .cta { display: none !important; }
  header .hamburger { display: inline-flex !important; }
  .nav { height: 64px; }
  /* Center logo between edges, with hamburger on the right */
  .nav { justify-content: center; position: relative; }
  .nav .hamburger { position: absolute; right: 0; }
  .brand { height: 52px; }
  main { padding-top: 64px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-dark { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  /* Über mich two-column to single on mobile */
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  /* Increase scroll-margin on mobile for fixed header */
  [id] { scroll-margin-top: calc(64px + 3px + 40px); }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .trust-strip   { grid-template-columns: repeat(2, 1fr); }
  .container { width: calc(100% - 32px); }
  .hero-dark { padding: 48px 0 40px; }
}

/* ═══════════════════════════════════════════════════
   INFO PAGE FIX — spacing after hero
═══════════════════════════════════════════════════ */
main > .hero-dark + section {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
}


/* ═══════════════════════════════════════════════════
   NAV — PHONE ICON
═══════════════════════════════════════════════════ */
.nav-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--border-md);
  background: var(--white);
  color: var(--teal);
  transition: transform .15s, box-shadow .15s, border-color .15s, color .15s;
  flex-shrink: 0;
}
.nav-phone:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════
   PORTRAIT IMAGE
═══════════════════════════════════════════════════ */
.portrait-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  aspect-ratio: 3/4;
  background: var(--cream);
}
.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Portrait in hero-glass (ueber-mich page) */
.hero-glass-portrait {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.2em;
}
.hero-glass-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ═══════════════════════════════════════════════════
   SCROLL ANCHOR OFFSET FIX
═══════════════════════════════════════════════════ */
[id] {
  scroll-margin-top: calc(clamp(64px,6vw,80px) + 3px + 36px);
}

/* ═══════════════════════════════════════════════════
   HERO PILLS (MTTI)
═══════════════════════════════════════════════════ */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2em;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  padding: .4em 1em;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  letter-spacing: .3px;
}
.hero-pill b {
  color: var(--teal-glow);
  font-weight: 800;
  margin-right: 1px;
}

/* ═══════════════════════════════════════════════════
   LIGHTBOX (Praxis page)
═══════════════════════════════════════════════════ */
.lightbox-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 1em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: .2px;
  transition: gap .2s, color .15s;
  cursor: pointer;
}
.lightbox-trigger:hover { gap: 8px; color: var(--ink); }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10002;
  background: rgba(5,13,24,.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-content {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 36px);
  max-width: min(90vw, 520px);
  box-shadow: var(--shadow-xl);
  transform: translateY(12px) scale(.97);
  transition: transform .25s ease;
}
.lightbox-overlay.active .lightbox-content {
  transform: none;
}
.lightbox-content img {
  width: 100%;
  border-radius: var(--r);
}
.lightbox-close {
  position: absolute;
  top: -12px; right: -12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border-md);
  background: var(--white);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .15s;
}
.lightbox-close:hover { transform: scale(1.1); }

/* ═══════════════════════════════════════════════════
   CRAFTA SKULL ICON
═══════════════════════════════════════════════════ */
.crafta-icon {
  color: var(--teal);
}
.crafta-icon svg {
  display: block;
}
