/* ==========================================================================
   IMMO Capital Group — immocapitalgroup.com
   Redesign 2026 · statisches HTML / Netlify · KL Design
   Editorial-System: Prata (Display) + Roboto (Text), 8px-Grid, Markenblau
   ========================================================================== */

/* ---------- Fonts (selbst gehostet) ---------- */
@font-face {
  font-family: 'Prata';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/prata-normal-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/roboto-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/roboto-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/roboto-500-latin.woff2') format('woff2');
}

/* ---------- Design-Tokens ---------- */
:root {
  --blue: #195188;
  --blue-dark: #12395F;
  --blue-tint: #EDF2F8;
  --ink: #12181F;
  --body: #4A5560;
  --muted: #8A94A0;
  --paper: #FFFFFF;
  --paper-warm: #F7F8FA;
  --hairline: #E6E9ED;
  --f-display: 'Prata', Georgia, serif;
  --f-text: 'Roboto', Arial, Helvetica, sans-serif;
  --max-w: 1280px;          /* Inhaltsbreite — gilt für ALLE Sektionen */
  --gutter: clamp(20px, 4.4vw, 56px);
  --header-h: 80px;
  --r: 2px;
  --ease: cubic-bezier(.4, .14, .3, 1);
  --shadow-card: 0 1px 2px rgba(18, 24, 31, .04), 0 8px 24px rgba(18, 24, 31, .06);
  --shadow-lift: 0 2px 4px rgba(18, 24, 31, .05), 0 20px 44px rgba(18, 24, 31, .12);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-text);
  font-size: 16px; line-height: 1.7;
  color: var(--body);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; color: var(--ink); line-height: 1.18; }
ul { list-style: none; }
.container {
  max-width: calc(var(--max-w) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--blue); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 0; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--blue); }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after { content: ''; width: 32px; height: 1px; background: var(--blue); }
.eyebrow.light { color: rgba(255, 255, 255, .85); }
.eyebrow.light::before, .eyebrow.light::after { background: rgba(255, 255, 255, .5); }

.display { font-size: clamp(36px, 4.6vw, 60px); letter-spacing: .01em; }
.h2 { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 24px; }
.lead { font-size: 18px; line-height: 1.75; max-width: 62ch; }
.measure { max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-text); font-size: 15px; font-weight: 500;
  line-height: 1;
  padding: 18px 30px;
  min-height: 48px;
  background: var(--blue); color: #fff;
  border: 1px solid var(--blue);
  border-radius: var(--r);
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--blue); }
.btn-group { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 15px; color: var(--blue);
}
.link-arrow .arr { transition: transform .2s var(--ease); }
.link-arrow:hover .arr { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav-open .site-header { background: #fff; border-bottom-color: transparent; }
.header-inner {
  max-width: calc(var(--max-w) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; gap: clamp(14px, 2vw, 24px);
}
.brand { flex-shrink: 0; margin-right: auto; }
.brand img { height: 46px; width: auto; }
.lang-switch {
  display: flex; gap: 6px; align-items: center;
  font-size: 13px; font-weight: 500; letter-spacing: .08em;
  color: var(--muted);
}
.lang-switch a { color: var(--muted); padding: 4px 2px; }
.lang-switch a:hover { color: var(--blue); }
.lang-switch .active { color: var(--blue); }
.header-cta { padding: 14px 24px; min-height: 44px; }

/* Burger */
.nav-toggle {
  background: none; border: none; cursor: pointer;
  width: 48px; height: 48px;
  position: relative; flex-shrink: 0; z-index: 130;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; position: absolute; left: 11px;
  width: 26px; height: 2px; background: var(--ink);
  transition: transform .28s var(--ease), background .2s;
}
.nav-toggle span { top: 23px; }
.nav-toggle span::before { left: 0; top: -8px; }
.nav-toggle span::after { left: 0; top: 8px; }
.nav-toggle:hover span, .nav-toggle:hover span::before, .nav-toggle:hover span::after { background: var(--blue); }
.nav-open .nav-toggle span { background: transparent !important; }
.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }
.nav-open .brand { position: relative; z-index: 130; }

/* Vollbild-Menü — Geschwister des Headers, nicht Kind
   (ein Vorfahr mit backdrop-filter wäre sonst der Bezugsrahmen für position:fixed) */
.main-nav {
  position: fixed; inset: 0; z-index: 110;
  background: #fff;
  display: flex; align-items: center;
  overflow-y: auto;
  visibility: hidden; opacity: 0;
  transition: opacity .3s var(--ease), visibility 0s linear .3s;
}
.nav-open .main-nav { visibility: visible; opacity: 1; transition: opacity .3s var(--ease); }
.nav-open { overflow: hidden; }
.nav-inner {
  width: 100%;
  max-width: calc(var(--max-w) + 2 * var(--gutter));
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) var(--gutter) 48px;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.nav-list li { border-bottom: 1px solid var(--hairline); }
.nav-list li:first-child { border-top: 1px solid var(--hairline); }
.nav-list a {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.8vw, 34px);
  color: var(--ink);
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(12px, 1.6vh, 18px) 0;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.nav-list a::after { content: '\2192'; font-family: var(--f-text); font-size: .6em; opacity: 0; transition: opacity .2s var(--ease); }
.nav-list a:hover, .nav-list a:focus-visible, .nav-list a[aria-current="page"] { color: var(--blue); padding-left: 12px; }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .nav-list li { opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
  .nav-open .nav-list li { opacity: 1; transform: none; }
  .nav-open .nav-list li:nth-child(1) { transition-delay: .04s; }
  .nav-open .nav-list li:nth-child(2) { transition-delay: .08s; }
  .nav-open .nav-list li:nth-child(3) { transition-delay: .12s; }
  .nav-open .nav-list li:nth-child(4) { transition-delay: .16s; }
  .nav-open .nav-list li:nth-child(5) { transition-delay: .2s; }
  .nav-open .nav-list li:nth-child(6) { transition-delay: .24s; }
  .nav-open .nav-list li:nth-child(7) { transition-delay: .28s; }
}
.nav-aside { font-size: 15px; }
.nav-aside .nav-aside-label {
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.nav-aside address { font-style: normal; }
.nav-aside address p { margin-bottom: 10px; }
.nav-aside address a { overflow-wrap: anywhere; }
.nav-aside .btn { margin-top: 20px; }
.nav-aside .social-row { margin-top: 28px; }
.nav-aside .nav-lang { margin-top: 24px; }
@media (min-width: 861px) { .nav-aside .nav-lang { display: none; } }
@media (max-width: 860px) {
  .header-cta, .header-inner > .lang-switch { display: none; }
  .brand img { height: 40px; }
  .main-nav { display: block; }
  .nav-inner { grid-template-columns: 1fr; align-items: start; }
  .nav-aside { padding-bottom: 40px; }
}
@media (max-height: 700px) and (min-width: 861px) {
  .nav-list a { font-size: 24px; padding: 10px 0; }
}

.social-row { display: flex; gap: 16px; }
.social-row a { display: inline-flex; color: var(--ink); }
.social-row a:hover { color: var(--blue); }
.social-row svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex; flex-direction: column;
  isolation: isolate;
  background-size: cover; background-position: center 30%;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(76deg, rgba(13, 26, 40, .84) 0%, rgba(16, 39, 63, .6) 46%, rgba(25, 81, 136, .3) 100%);
}
.hero-body {
  flex: 1;
  display: flex; align-items: center;
  width: 100%;
}
.hero-body > .container { width: 100%; }
.hero-copy { max-width: 780px; padding: 96px 0; }
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.14;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero .hero-sub {
  color: rgba(255, 255, 255, .88);
  font-size: 18px; line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 40px;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { opacity: 0; transform: translateY(20px); animation: rise .8s var(--ease) forwards; }
  .hero-copy > :nth-child(2) { animation-delay: .12s; }
  .hero-copy > :nth-child(3) { animation-delay: .24s; }
  .hero-copy > :nth-child(4) { animation-delay: .36s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* Kennzahlen-Leiste im Hero */
.stat-strip {
  border-top: 1px solid rgba(255, 255, 255, .22);
  background: rgba(13, 26, 40, .35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.stat-strip-inner {
  max-width: calc(var(--max-w) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 36px var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-strip .stat-value {
  font-family: var(--f-display);
  font-size: clamp(26px, 2.6vw, 38px);
  color: #fff; line-height: 1.15;
  display: block;
}
.stat-strip .stat-value .unit { font-size: .5em; margin-left: 4px; color: rgba(255, 255, 255, .75); }
.stat-strip .stat-label { display: block; margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, .72); line-height: 1.45; }
@media (max-width: 860px) {
  .stat-strip-inner { grid-template-columns: repeat(2, 1fr); padding: 28px var(--gutter); gap: 22px; }
  .hero { min-height: auto; }
  .hero-copy { padding: 64px 0; }
  .hero h1 { font-size: clamp(30px, 7.6vw, 38px); line-height: 1.2; margin-bottom: 20px; }
  .hero .hero-sub { font-size: 16px; margin-bottom: 32px; }
  .hero .btn-group { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero .btn { justify-content: center; }
  .eyebrow { font-size: 11px; letter-spacing: .18em; }
}

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); }
.page-head h1 { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 24px; max-width: 16ch; }
.page-head .lead { color: var(--body); }
.page-head.centered { text-align: center; }
.page-head.centered h1, .page-head.centered .lead { margin-inline: auto; }
.page-head-media {
  margin-top: clamp(40px, 6vw, 72px);
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: var(--r);
}
.page-head-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Sektionen ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(48px, 7vw, 88px) 0; }
/* Sektion, die direkt an einen Seitenkopf anschließt */
.section-flush { padding-top: clamp(8px, 1.4vw, 20px); }
.bg-warm { background: var(--paper-warm); }
.bg-blue { background: var(--blue); }
.bg-blue-tint { background: var(--blue-tint); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 8px; }

/* Editorial-Split (Text + Bild) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 104px); align-items: center; }
.split .split-media { position: relative; }
.split .split-media img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 4 / 5;
  border-radius: var(--r);
}
.split .split-media::before {
  content: ''; position: absolute; z-index: -1;
  inset: 32px -32px -32px 32px;
  background: var(--blue-tint);
  border-radius: var(--r);
}
.split.media-left .split-media { order: -1; }
.split.media-left .split-media::before { inset: 32px 32px -32px -32px; }
.split p { margin-bottom: 16px; max-width: 58ch; }
.split .btn-group { margin-top: 16px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.media-left .split-media { order: 0; }
  .split .split-media::before { display: none; }
  .split .split-media img { aspect-ratio: 16 / 10; }
}

/* ---------- Karten: Investitionsbereiche ---------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.area-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 340px;
  padding: 28px;
  border-radius: var(--r);
  overflow: hidden;
  isolation: isolate;
  background-size: cover; background-position: center;
  color: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.area-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13, 26, 40, .05) 30%, rgba(13, 26, 40, .82) 100%);
  transition: background .3s var(--ease);
}
.area-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.area-card h3 { color: #fff; font-size: 24px; margin-bottom: 6px; overflow-wrap: break-word; hyphens: auto; }
.area-card p { font-size: 14px; color: rgba(255, 255, 255, .85); max-width: 40ch; }
.area-card .card-arr {
  position: absolute; top: 22px; right: 22px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  color: #fff; font-size: 16px;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.area-card:hover .card-arr { background: #fff; color: var(--blue); transform: rotate(-45deg); }
.area-grid .area-card:nth-child(1), .area-grid .area-card:nth-child(2) { grid-column: span 1; }
@media (min-width: 861px) {
  .area-grid { grid-template-columns: repeat(6, 1fr); }
  .area-card { grid-column: span 2; }
  .area-grid .area-card:nth-child(1), .area-grid .area-card:nth-child(2) { grid-column: span 3; min-height: 380px; }
}

/* Mobil: horizontaler Slider mit Scroll-Snap (randlos, erste Karte am Raster) */
@media (max-width: 760px) {
  .area-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--gutter);
    scroll-behavior: smooth;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .area-grid::-webkit-scrollbar { display: none; }
  .area-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
    min-height: 320px;
    padding: 22px;
  }
  .area-card h3 { font-size: 20px; line-height: 1.22; }
  .area-card:hover { transform: none; box-shadow: none; }
}
@media (min-width: 761px) { .slider-dots { display: none; } }

/* Fortschrittspunkte (nur mit JS, nur mobil) */
.slider-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 20px;
}
.slider-dots:empty { display: none; }
.slider-dots button {
  width: 8px; height: 8px; padding: 0;
  border: none; border-radius: 50%;
  background: var(--hairline);
  cursor: pointer;
  transition: background .25s var(--ease), width .25s var(--ease);
}
.slider-dots button[aria-current="true"] { background: var(--blue); width: 22px; border-radius: 4px; }

/* ---------- Projekt-Karten (Portfolio / Erfolgsbilanz / Teaser) ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .project-grid, .project-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .project-grid, .project-grid.cols-2 { grid-template-columns: 1fr; } }
.project-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.project-card .pc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-warm); }
.project-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.project-card:hover .pc-media img { transform: scale(1.05); }
.chip {
  position: absolute; top: 14px; left: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: .06em;
  padding: 7px 12px;
  background: rgba(255, 255, 255, .92);
  color: var(--blue);
  border-radius: var(--r);
}
.project-card .pc-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.project-card h3 { font-size: 21px; }
.project-card ul { font-size: 14px; color: var(--body); }
.project-card li { padding: 7px 0; border-bottom: 1px solid var(--hairline); }
.project-card li:last-child { border-bottom: none; }

/* Tabs (Segmented Control) */
.tabs {
  display: inline-flex; gap: 4px; flex-wrap: wrap;
  padding: 4px;
  background: var(--paper-warm);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  margin: 0 auto clamp(40px, 6vw, 56px);
}
.tabs-wrap { text-align: center; }
.tab-btn {
  font-family: var(--f-text); font-size: 14px; font-weight: 500;
  padding: 12px 22px; min-height: 44px;
  background: transparent; color: var(--body);
  border: none; border-radius: var(--r);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.tab-btn[aria-selected="true"] { background: var(--blue); color: #fff; }
.tab-btn:hover:not([aria-selected="true"]) { color: var(--blue); }
[role="tabpanel"][hidden] { display: none; }

/* ---------- Ankaufsprofil: nummerierte Bereiche ---------- */
.invest-item {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--hairline);
}
.invest-item:first-of-type { border-top: none; }
.invest-item .invest-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r);
}
.invest-item .num {
  font-family: var(--f-display);
  font-size: 15px; color: var(--muted);
  display: block; margin-bottom: 12px;
}
.invest-item h2 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 18px; }
.invest-item p { margin-bottom: 14px; max-width: 56ch; }
.invest-item ul { margin: 8px 0 14px; }
.invest-item ul li { padding: 9px 0 9px 26px; position: relative; border-bottom: 1px solid var(--hairline); }
.invest-item ul li::before {
  content: ''; position: absolute; left: 2px; top: 1.15em;
  width: 12px; height: 1px; background: var(--blue);
}
.invest-item:nth-child(even) .invest-media { order: 2; }
@media (max-width: 860px) {
  .invest-item { grid-template-columns: 1fr; }
  .invest-item:nth-child(even) .invest-media { order: 0; }
}

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.team-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.team-card .tc-media { aspect-ratio: 1; overflow: hidden; background: var(--paper-warm); }
.team-card .tc-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: grayscale(1); transition: filter .4s var(--ease); }
.team-card:hover .tc-media img { filter: grayscale(0); }
.team-card .tc-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.team-card h2 { font-size: 24px; margin-bottom: 4px; }
.team-card .role {
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 16px;
}
.team-card p { font-size: 15px; margin-bottom: 12px; }
.team-card details { margin-top: auto; }
.team-card details p { margin-top: 12px; }
.team-card summary {
  cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--blue);
  list-style: none;
  padding: 8px 0;
}
.team-card summary::-webkit-details-marker { display: none; }
.team-card summary::after { content: ' +'; }
.team-card details[open] summary::after { content: ' \2212'; }

/* ---------- Partner ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .partner-grid { grid-template-columns: 1fr; } }
.partner-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  padding: 48px 32px;
  display: grid; place-items: center;
  min-height: 190px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.partner-card img { max-height: 64px; width: auto; object-fit: contain; }

/* Logo-Leiste (Startseite) */
.logo-strip { display: flex; align-items: center; justify-content: center; gap: clamp(32px, 7vw, 96px); flex-wrap: wrap; }
.logo-strip img { max-height: 48px; width: auto; opacity: .75; transition: opacity .2s var(--ease); }
.logo-strip a:hover img { opacity: 1; }

/* ---------- Statement / Investor Relations ---------- */
.statement {
  background: var(--blue); color: #fff;
  padding: clamp(72px, 9vw, 116px) 0;
  overflow: hidden;
}
.statement-grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.statement h2 {
  color: #fff;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.22;
  margin-bottom: 20px;
  text-wrap: balance;
  max-width: 16ch;
}
.statement p { color: rgba(255, 255, 255, .82); max-width: 50ch; }
.statement .btn { background: #fff; color: var(--blue); border-color: #fff; }
.statement .btn:hover { background: var(--blue-tint); border-color: var(--blue-tint); color: var(--blue); }

/* Kennzahlen / Versprechen als Liste */
.statement-points { margin: 34px 0 38px; }
.statement-points li {
  display: grid; grid-template-columns: minmax(96px, 150px) 1fr;
  gap: clamp(16px, 2vw, 28px);
  align-items: baseline;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.statement-points li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .2); }
.sp-k { font-family: var(--f-display); font-size: clamp(19px, 1.7vw, 23px); color: #fff; }
.sp-l { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .68); }

/* Bild mit versetztem Rahmen */
.statement-media { position: relative; }
.statement-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--r);
  position: relative; z-index: 1;
}
.statement-media::before {
  content: ''; position: absolute; z-index: 0;
  inset: 44px -24px -24px 44px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--r);
}
@media (max-width: 900px) {
  .statement-grid { grid-template-columns: 1fr; gap: 40px; }
  .statement h2 { max-width: none; }
  .statement-media { max-width: 420px; }
  .statement-media::before { display: none; }
  .statement-media img { aspect-ratio: 16 / 10; }
}

/* ---------- Instagram-Grid ---------- */
.insta-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.insta-grid a {
  display: block; position: relative;
  aspect-ratio: 1; overflow: hidden;
  border-radius: var(--r);
  background: var(--paper-warm);
}
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.insta-grid a:hover img, .insta-grid a:focus-visible img { transform: scale(1.05); }
.insta-grid a::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(18, 24, 31, 0);
  transition: background .3s var(--ease);
}
.insta-grid a:hover::after { background: rgba(18, 24, 31, .18); }
.insta-cta { margin-top: 40px; }
@media (max-width: 560px) { .insta-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* News-Artikel */
.news-list { max-width: 780px; margin: 0 auto; }
.news-item { padding: 40px 0; border-bottom: 1px solid var(--hairline); }
.news-item time { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.news-item h2 { font-size: 25px; margin: 10px 0 12px; }

/* ---------- Kontakt ---------- */
.contact-layout {
  display: grid; grid-template-columns: 1.25fr .75fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-form label.field { display: block; margin-bottom: 18px; }
.contact-form .field span {
  display: block; font-size: 13px; font-weight: 500;
  letter-spacing: .04em; color: var(--ink);
  margin-bottom: 8px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 14px 16px; min-height: 52px;
  border: 1px solid #D3D9E1;
  border-radius: var(--r);
  background: #F2F4F8;
  box-shadow: inset 0 1px 2px rgba(18, 24, 31, .05);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:hover, .contact-form textarea:hover { border-color: #BEC6D0; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(25, 81, 136, .14);
}
.consent input { box-shadow: inset 0 1px 2px rgba(18, 24, 31, .06); border: 1px solid #D5DAE1; border-radius: 2px; }
.contact-form textarea { min-height: 160px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; margin: 8px 0 24px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; }
.form-note { display: none; }

.info-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
  padding: 36px;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.info-card h2 { font-size: 22px; margin-bottom: 20px; }
.info-card address { font-style: normal; }
.info-card address p { margin-bottom: 14px; font-size: 15px; }
.info-card .info-label {
  display: block;
  font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 2px;
}
.info-card .social-row { margin-top: 24px; }

/* ---------- CTA-Band ---------- */
.cta-band {
  position: relative;
  background-size: cover; background-position: center;
  isolation: isolate;
  color: #fff;
}
.cta-band::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(80deg, rgba(13, 26, 40, .88) 10%, rgba(18, 57, 95, .72) 60%, rgba(25, 81, 136, .55) 100%);
}
.cta-band .cta-inner {
  max-width: calc(var(--max-w) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(80px, 11vw, 136px) var(--gutter);
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.25;
  max-width: 20ch;
  margin-bottom: 20px;
  text-wrap: balance;
}
.cta-band p { color: rgba(255, 255, 255, .85); max-width: 52ch; margin-bottom: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); font-size: 15px; }
.footer-top {
  max-width: calc(var(--max-w) + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 88px) var(--gutter) 0;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}
.site-footer .footer-brand img { height: 38px; width: auto; opacity: .95; }
.site-footer .footer-brand p { margin-top: 20px; max-width: 34ch; font-size: 14px; }
.site-footer h2 {
  color: #fff; font-family: var(--f-text);
  font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 22px;
}
.site-footer a { color: rgba(255, 255, 255, .75); }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: 12px; }
.site-footer address { font-style: normal; }
.site-footer address p { margin-bottom: 12px; }
.site-footer .social-row { margin-top: 24px; }
.site-footer .social-row a { color: rgba(255, 255, 255, .75); }
.site-footer .social-row a:hover { color: #fff; }
.footer-bottom {
  max-width: calc(var(--max-w) + 2 * var(--gutter));
  margin: 48px auto 0;
  padding: 24px var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255, 255, 255, .55);
}
.kl-credit {
  display: inline-flex; align-items: center; gap: 10px;
  color: rgba(255, 255, 255, .55);
  padding: 6px 0;
}
.kl-credit img {
  height: 26px; width: auto;
  opacity: .6;
  transition: opacity .25s var(--ease);
}
.kl-credit-label {
  font-size: 13px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.kl-credit:hover img, .kl-credit:focus-visible img { opacity: 1; }
.kl-credit:hover .kl-credit-label, .kl-credit:focus-visible .kl-credit-label {
  opacity: 1; transform: none;
}
@media (hover: none) {
  .kl-credit-label { opacity: 1; transform: none; }
  .kl-credit img { opacity: .8; }
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: clamp(32px, 3.6vw, 46px); margin-bottom: 40px; }
.legal h2 { font-size: 24px; margin: 44px 0 14px; }
.legal h3 { font-size: 19px; margin: 28px 0 10px; }
.legal p, .legal li { margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }

/* ---------- Scroll-Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal-stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
  .js .reveal-stagger.is-visible > :nth-child(2) { transition-delay: .08s; }
  .js .reveal-stagger.is-visible > :nth-child(3) { transition-delay: .16s; }
  .js .reveal-stagger.is-visible > :nth-child(4) { transition-delay: .24s; }
  .js .reveal-stagger.is-visible > :nth-child(5) { transition-delay: .32s; }
  .js .reveal-stagger.is-visible > :nth-child(6) { transition-delay: .4s; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }
.mt-40 { margin-top: 40px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
