/* sourceDESK – eigenständiger OnePager
   Markenfarbe: #2d7f83 (Kontrast auf Weiß 4,7:1 – WCAG AA für Text erfüllt) */

:root {
  --teal: #2d7f83;
  --teal-dark: #236f72;
  --teal-deep: #114e51;
  --teal-wash: #eef5f5;
  --teal-line: #c8dedf;
  --ink: #253339;
  --ink-soft: #46595f;
  --paper: #ffffff;
  --radius: 12px;
  --shadow: 0 10px 30px -12px rgba(17, 78, 81, 0.25);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; }

.wrap {
  max-width: 68rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- Fokus & Skip-Link ---------- */

:focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.hero :focus-visible,
.contact :focus-visible,
.site-footer :focus-visible {
  outline-color: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--teal-deep);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 3px solid var(--teal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: auto;
  height: 2.25rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  font: inherit;
  font-weight: 600;
  color: var(--teal-deep);
  background: var(--teal-wash);
  border: 1px solid var(--teal-line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle-bars {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  display: inline-block;
  padding: 0.55rem 0.95rem;
  color: var(--teal-deep);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}

nav a:hover {
  background: var(--teal-wash);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

nav a.nav-cta {
  background: var(--teal);
  color: #fff;
}

nav a.nav-cta:hover {
  background: var(--teal-dark);
}

@media (max-width: 47.9rem) {
  .nav-toggle { display: inline-flex; }

  .site-header nav {
    display: none;
    width: 100%;
  }

  .site-header nav.open { display: block; }

  nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding-bottom: 0.75rem;
  }

  nav a { display: block; text-align: center; }
}

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

.hero {
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 55%, var(--teal-deep) 100%);
  color: #fff;
  text-align: center;
  padding-block: 4rem 0;
  overflow: hidden;
}

.hero h1 {
  margin: 0 auto;
  max-width: 46rem;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-sub {
  margin: 1.25rem auto 0;
  max-width: 44rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
}

.btn-light {
  background: #fff;
  color: var(--teal-deep);
}

.btn-light:hover {
  background: var(--teal-wash);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.btn-outline {
  border-color: #fff;
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.btn-mail svg {
  width: 1.15em;
  height: 1.15em;
  fill: currentColor;
}

.hero-shot {
  margin-top: 3rem;
}

.hero-shot img {
  display: block;
  width: min(100%, 62rem);
  margin-inline: auto;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -6px 40px rgba(0, 0, 0, 0.35);
}

/* ---------- Abschnitte ---------- */

.section {
  padding-block: 3.5rem;
}

.section-alt {
  background: var(--teal-wash);
}

.section h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.25;
  color: var(--teal-deep);
  text-align: center;
}

.section-lead {
  margin: 1rem auto 0;
  max-width: 46rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.subheading {
  margin-top: 4rem !important;
}

/* Drei Säulen */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 50%;
  background: var(--teal-wash);
  border: 2px solid var(--teal-line);
}

.pillar-icon svg {
  width: 2.4rem;
  height: 2.4rem;
  fill: var(--teal);
}

.pillars h3 {
  margin: 1.1rem 0 0.5rem;
  font-size: 1.35rem;
  color: var(--teal);
}

.pillars p {
  margin: 0;
  color: var(--ink-soft);
}

/* Karten */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 1.5rem 1.5rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--teal-line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--teal-deep);
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ---------- Akkordeon ---------- */

.panel {
  margin-top: 1rem;
  background: var(--paper);
  border: 1px solid var(--teal-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.panel:first-of-type {
  margin-top: 2.25rem;
}

.panel summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  list-style: none;
  background: var(--paper);
}

.panel summary::-webkit-details-marker { display: none; }

.panel summary:hover {
  background: var(--teal-wash);
}

.panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 10px;
  background: var(--teal);
}

.panel-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: #fff;
}

.panel summary h3 {
  margin: 0;
  flex: 1;
  font-size: 1.25rem;
  color: var(--teal-deep);
}

.panel summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.panel[open] > summary::after {
  transform: rotate(225deg);
}

.panel[open] > summary {
  border-bottom: 1px solid var(--teal-line);
}

.panel-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1.5rem 2.5rem;
  padding: 1.6rem 1.5rem 1.8rem;
}

.feature h4 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--teal);
}

.feature p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

/* ---------- Kontakt ---------- */

.contact {
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
}

.contact-inner {
  text-align: center;
}

.contact h2 {
  color: #fff;
}

.contact p {
  margin: 1rem auto 2rem;
  max-width: 38rem;
  font-size: 1.125rem;
}

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

.site-footer {
  background: var(--teal-deep);
  color: #fff;
  padding-block: 1.6rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner p { margin: 0; }

.footer-links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer a:hover {
  text-decoration-thickness: 2px;
}

/* Anker unter dem klebenden Header nicht verdecken */
#vorteile, #funktionen, #kontakt {
  scroll-margin-top: 5rem;
}
