/* Avalanda Unternehmensseite — Design "Mix B+C", Avalanda-Blau aus dem Logo */

:root {
  --blue: #4b87e0;
  --blue-deep: #1755af;
  --blue-pale: #b9d0f2;
  --blue-line: #d7e4f5;
  --ink: #1d2b3a;
  --ink-soft: #4e6076;
  --ink-faint: #7d93ab;
  --bg: #f5f8fc;
  --card: #ffffff;
  --shadow: 0 14px 30px rgba(23, 85, 175, 0.08);
  --shadow-sm: 0 10px 24px rgba(23, 85, 175, 0.06);
  --radius: 26px;
  --sans: 'Lexend', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--blue-deep); text-decoration: none; }
a:hover { color: var(--blue); }

img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* ---------- Header ---------- */

.header-band {
  background: #ffffff;
  border-bottom: 1px solid var(--blue-line);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-header .logo img { height: 64px; display: block; }

.site-nav { display: flex; gap: 8px; flex-wrap: wrap; font-family: var(--sans); font-size: 14px; font-weight: 600; }

.site-nav a { padding: 10px 18px; border-radius: 999px; color: var(--ink); }
.site-nav a:hover { background: var(--blue-line); }
.site-nav a.pill { background: var(--blue-deep); color: #fff; }
.site-nav a.pill:hover { background: var(--blue); }

/* ---------- Hero ---------- */

.hero { position: relative; padding-top: 72px; padding-bottom: 48px; }

.hero .swoosh {
  position: absolute;
  right: 0;
  top: 10px;
  width: 300px;
  height: 300px;
  pointer-events: none;
}

.hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(28px, 4.5vw, 42px);
  line-height: 1.08;
  max-width: 15em;
  margin: 0 0 26px;
}

.hero h1 em { font-style: normal; color: var(--blue); }

.hero .sub {
  font-size: clamp(16px, 2.2vw, 19px);
  font-style: italic;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 36em;
  margin: 0;
}

/* ---------- Wellen ---------- */

.wave { display: block; width: 100%; height: 60px; }
.wave-sm { height: 54px; }

/* ---------- Stats ---------- */

.stats { background: var(--blue-deep); }

.stats .row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding-top: 12px; padding-bottom: 56px;
}

.stat {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 24px 20px;
}

.stat:nth-child(1) { transform: rotate(-1.2deg); }
.stat:nth-child(2) { transform: rotate(0.8deg); }
.stat:nth-child(3) { transform: rotate(-0.8deg); }
.stat:nth-child(4) { transform: rotate(1.2deg); }
.stat:nth-child(5) { transform: rotate(-1deg); }

.stat .num { font-family: var(--sans); font-weight: 800; font-size: clamp(28px, 4vw, 38px); color: #fff; }
.stat .label { font-size: 14px; color: var(--blue-pale); margin-top: 4px; }

/* ---------- Marken ---------- */

.brands-head { padding-top: 56px; padding-bottom: 10px; }
.brands-head h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(26px, 4vw, 34px); margin: 0 0 10px; }
.brands-head p { font-size: 17px; font-style: italic; color: var(--ink-soft); margin: 0; }

.brands-featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-top: 20px; padding-bottom: 0;
}

.brand-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow);
}

.brand-card.tint-green { background: linear-gradient(160deg, #ffffff 55%, #eaf6f1 100%); }
.brand-card.tint-blue  { background: linear-gradient(160deg, #ffffff 55%, #e9f3f9 100%); }

.brand-card .brand-logo { height: 40px; width: auto; align-self: flex-start; }
.brand-card .brand-logo.aquanexo { height: 28px; }
.brand-card p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; flex-grow: 1; }

.btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  background: var(--blue-deep);
  color: #fff;
  border-radius: 999px;
  padding: 10px 22px;
  align-self: flex-start;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--blue); color: #fff; }

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 20px; padding-bottom: 24px;
}

.brand-tile {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.brand-tile .brand-logo { height: 34px; width: auto; align-self: flex-start; }
.brand-tile .brand-logo.tall { height: 52px; }
.brand-tile .brand-logo.short { height: 30px; }
.brand-tile p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0; flex-grow: 1; }
.brand-tile .link { font-family: var(--sans); font-size: 13px; font-weight: 600; }

.brand-tile.next {
  background: none;
  border: 2px dashed var(--blue-pale);
  box-shadow: none;
  justify-content: center;
  gap: 8px;
}
.brand-tile.next .title { font-family: var(--sans); font-weight: 600; font-size: 19px; color: var(--blue); }
.brand-tile.next p { font-style: italic; color: var(--ink-faint); flex-grow: 0; }

.channels-note { padding-top: 0; padding-bottom: 64px; font-size: 13px; color: var(--ink-faint); }

/* ---------- Geschichte ---------- */

.story-section { background: var(--card); }

.story {
  display: flex;
  gap: 56px;
  padding-top: 24px; padding-bottom: 48px;
}

.story .text { flex: 1; }
.story h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(26px, 4vw, 32px); margin: 0 0 16px; }
.story .text p { font-size: 15px; line-height: 1.75; color: var(--ink-soft); margin: 0; }

.timeline { width: 300px; flex-shrink: 0; }

.tl-item { display: flex; gap: 16px; }
.tl-rail { display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 14px; height: 14px; border-radius: 999px; background: var(--blue); flex-shrink: 0; margin-top: 4px; }
.tl-item:last-child .tl-dot { background: var(--blue-deep); }
.tl-line { width: 2px; flex-grow: 1; background: var(--blue-line); }
.tl-body { padding-bottom: 22px; }
.tl-item:last-child .tl-body { padding-bottom: 0; }
.tl-body .t { font-family: var(--sans); font-weight: 600; font-size: 15px; }
.tl-body .d { font-size: 13px; color: var(--ink-faint); }

/* ---------- Was wir tun / Werte / Zitat ---------- */

.section-divider {
  border: 0;
  border-top: 1px solid var(--blue-line);
  margin: 8px 0 40px;
}

.steps-head h3 { font-family: var(--sans); font-weight: 800; font-size: clamp(26px, 4vw, 32px); margin: 0 0 20px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 40px;
}

.step .step-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.step .step-icon svg { width: 24px; height: 24px; }
.step .t { font-family: var(--sans); font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.step p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-bottom: 48px;
}

.value {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 26px 26px;
}
.value .t { font-family: var(--sans); font-weight: 700; font-size: 17px; color: var(--blue-deep); margin-bottom: 6px; }
.value p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

.quote-band { background: var(--bg); }
.quote-wrap { padding-top: 8px; padding-bottom: 40px; }
.quote { margin: 0; text-align: center; }
.quote p {
  font-size: clamp(20px, 3vw, 26px);
  font-style: italic;
  color: var(--ink);
  margin: 0 auto 10px;
  max-width: 26em;
}
.quote footer { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink-faint); }

/* ---------- Footer ---------- */

.site-footer { background: var(--blue-deep); color: #fff; }

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-top: 20px; padding-bottom: 40px;
}

.footer-main .logo img { height: 30px; display: block; margin-bottom: 10px; }
.footer-main address { font-style: normal; font-size: 14px; color: var(--blue-pale); line-height: 1.7; }
.footer-main address a { color: var(--blue-pale); text-decoration: underline; }
.footer-main address a:hover { color: #fff; }

.footer-links { display: flex; flex-direction: column; gap: 10px; font-family: var(--sans); font-size: 14px; font-weight: 600; text-align: right; }
.footer-links a { color: #fff; }
.footer-links a:hover { color: var(--blue-pale); }

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: #7ba4dd;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px; padding-bottom: 28px;
}
.footer-meta .claim { font-style: italic; }

/* ---------- Unterseiten (Impressum etc.) ---------- */

.page { padding-top: 48px; padding-bottom: 88px; max-width: 760px; }
.page h1 { font-family: var(--sans); font-weight: 800; font-size: clamp(28px, 4vw, 38px); }
.page h2 { font-family: var(--sans); font-weight: 600; font-size: 20px; margin-top: 2em; }
.page .todo {
  background: #fff4e5;
  border: 1px solid #f0c890;
  border-radius: 12px;
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 14px;
  color: #8a5a1e;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .stats .row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brands-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story { flex-direction: column; gap: 40px; }
  .timeline { width: 100%; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .site-header { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 40px; }
  .hero .swoosh { width: 140px; height: 140px; top: 0; opacity: 0.55; }
  .brands-featured { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: 1fr; }
  .stats .row { grid-template-columns: 1fr; }
  .stat { transform: none !important; }
  .steps { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; }
  .footer-links { text-align: left; }
  .footer-meta { flex-direction: column; }
}
