/* Designsystem */
:root {
  --color-bg: #fff7f8;
  --color-surface: #ffffff;
  --color-text: #263238;
  --color-text-soft: #546e7a;
  --color-primary: #0ea5a6;
  --color-primary-600: #0b8f90;
  --color-secondary: #22d3ee;
  --color-accent: #a7f3d0;
  --shadow-sm: 0 2px 10px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 10px 30px rgba(16, 24, 40, 0.08);
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(2, 6, 12, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.nav {
  position: relative;
}

.nav-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(2, 6, 12, 0.08);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle .bar {
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  position: relative;
  display: block;
}
.nav-toggle .bar + .bar { margin-top: 4px; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 10px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 240px;
  display: none;
  gap: 10px;
  background: var(--color-surface);
  border: 1px solid rgba(2, 6, 12, 0.06);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.nav.open .nav-list {
  display: grid;
}

.nav-list a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
}

.nav-list a:hover {
  background: rgba(77, 171, 247, 0.12);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform 120ms ease, background 120ms ease;
}
.btn:hover { transform: translateY(-1px); background: var(--color-primary-600); }
.btn:active { transform: translateY(0); }
.btn-small { padding: 8px 12px; font-weight: 700; }
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid rgba(2, 6, 12, 0.12);
}
.btn-outline:hover {
  background: rgba(2, 6, 12, 0.04);
}

/* Hero */
.hero {
  position: relative;
  padding: 64px 0 48px;
}
.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
.hero-copy h1 {
  font-family: "Quicksand", "Nunito", system-ui, -apple-system;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
  margin: 0 0 10px;
}
.hero-copy .lead {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--color-text-soft);
  margin: 0 0 18px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-media img {
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  /* Begrenze die maximale Größe des Bildes im Hero, damit es nicht zu groß wirkt */
  width: 100%;
  max-width: 440px;
  /* Kreis: quadratisches Verhältnis + runde Ecken */
  aspect-ratio: 1 / 1;
  /* Bild füllt den Kreis vollständig aus (Beschnitt möglich) */
  object-fit: cover;
  background: #ffffff;
}

.decor {
  position: absolute;
  filter: blur(30px);
  opacity: 0.5;
  z-index: -1;
}
.decor-a {
  width: 220px; height: 220px;
  left: -60px; top: -40px;
  background: radial-gradient(120px 120px at 60% 40%, var(--color-accent), transparent 70%);
}
.decor-b {
  width: 280px; height: 280px;
  right: -60px; bottom: -40px;
  background: radial-gradient(140px 140px at 40% 60%, var(--color-secondary), transparent 70%);
}

/* Sections */
.section {
  padding: 56px 0;
}
.section-alt {
  background: #fff;
  border-top: 1px solid rgba(2, 6, 12, 0.06);
  border-bottom: 1px solid rgba(2, 6, 12, 0.06);
}
.section h2 {
  font-family: "Quicksand", "Nunito", system-ui, -apple-system;
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 32px);
}

.two-col {
  display: grid;
  gap: 24px;
}

.rounded {
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Variante: vollständiges Bild ohne Beschnitt */
.rounded-contain {
  object-fit: contain;
  aspect-ratio: auto;
  max-height: 360px;
  background: #ffffff;
}

/* Runde Bilder (Utility) */
.img-circle {
  /* Standardgröße – kann pro Bild mit inline --size überschrieben werden */
  --size: 180px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}
.img-circle.contain {
  object-fit: contain;
}

.checks {
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--color-text-soft);
}
.checks li::before {
  content: "✔";
  color: #22c55e;
  margin-right: 10px;
}

/* Cards */
.cards {
  display: grid;
  gap: 16px;
}
.card {
  background: var(--color-surface);
  border: 1px solid rgba(2, 6, 12, 0.06);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.card h3 {
  margin: 8px 0 6px;
  font-size: 18px;
}
.card p {
  margin: 0;
  color: var(--color-text-soft);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(14, 165, 166, 0.14);
  font-size: 22px;
}

/* Gallery */
.gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}
.gallery img {
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  counter-reset: steps;
}
.timeline li {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: start;
  gap: 12px;
  background: var(--color-surface);
  border: 1px solid rgba(2, 6, 12, 0.06);
  border-radius: 14px;
  padding: 10px 12px;
}
.timeline time {
  font-weight: 800;
  color: var(--color-primary);
}

/* Kontakt */
.contact-card {
  background: var(--color-surface);
  border: 1px solid rgba(2, 6, 12, 0.06);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.contact-card p { margin: 0 0 10px; }
.contact-card .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.contact-card a { text-decoration: none; }

/* Footer */
.site-footer {
  padding: 18px 0 28px;
  color: var(--color-text-soft);
}
.footer-inner {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(2, 6, 12, 0.06);
  padding-top: 16px;
}
.footer-nav {
  display: flex;
  gap: 12px;
}
.footer-nav a {
  color: inherit;
  text-decoration: none;
}
.footer-nav a[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-list {
    display: flex !important;
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0;
    background: transparent;
    min-width: initial;
  }
  .nav-list a:hover { background: transparent; color: var(--color-primary); }

  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
  }
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .gallery img {
    height: 220px;
  }
}


