:root {
  --color-bg: #f7fbff;
  --color-surface: #ffffff;
  --color-panel: #e7f6ff;
  --color-border: #cfe2f1;
  --color-border-strong: #b6d3eb;
  --color-heading: #0f172a;
  --color-text: #364151;
  --color-muted: #5d6b7d;
  --color-accent: #0067ff;
  --color-accent-dark: #005ee9;
  --color-accent-soft: rgba(0, 103, 255, 0.1);
  --color-overlay: rgba(9, 18, 33, 0.54);
  --color-overlay-strong: rgba(9, 18, 33, 0.72);
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 24px 60px rgba(15, 23, 42, 0.1);
  --shadow-header: 0 10px 30px rgba(15, 23, 42, 0.06);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --container-width: 1200px;
  --font-body: "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-heading: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(0, 103, 255, 0.08), transparent 25%),
    linear-gradient(180deg, #fbfdff 0%, var(--color-bg) 100%);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.12;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.28;
}

p,
ul {
  margin: 0;
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.65rem;
}

strong {
  color: var(--color-heading);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--color-heading);
  color: var(--color-surface);
  border-radius: 999px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(var(--container-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(182, 211, 235, 0.45);
  box-shadow: var(--shadow-header);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 5.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand img {
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 103, 255, 0.14);
}

.brand__copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.brand__copy strong,
.brand__copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand__copy strong {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.brand__copy small {
  color: var(--color-muted);
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-nav > a {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--color-heading);
  font-weight: 500;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.site-nav > a:hover,
.site-nav > a:focus-visible {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.site-nav__secondary {
  color: var(--color-muted);
}

.site-nav a[aria-current="page"] {
  background: rgba(15, 23, 42, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.32rem;
  width: 3rem;
  height: 3rem;
  padding: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 1.1rem;
  height: 2px;
  margin: 0 auto;
  background: var(--color-heading);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-surface);
  box-shadow: 0 18px 36px rgba(0, 103, 255, 0.22);
}

.button--secondary {
  background: var(--color-surface);
  color: var(--color-accent-dark);
  border-color: var(--color-border-strong);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-surface);
  border-color: rgba(255, 255, 255, 0.3);
}

.button--small {
  min-height: 2.85rem;
  padding-inline: 1rem;
}

.button--full {
  width: 100%;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(52rem, calc(100svh - 5.25rem));
  overflow: clip;
}

.hero__media,
.hero__wash {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
}

.hero__wash {
  background:
    linear-gradient(90deg, var(--color-overlay-strong) 0%, rgba(9, 18, 33, 0.54) 36%, rgba(9, 18, 33, 0.15) 70%),
    linear-gradient(180deg, rgba(8, 16, 29, 0.22) 0%, rgba(8, 16, 29, 0.42) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 6rem 0;
}

.hero__panel {
  max-width: 39rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: rgba(11, 21, 37, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}

.hero__panel h1,
.hero__panel p {
  color: var(--color-surface);
}

.hero__lead {
  max-width: 34rem;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.eyebrow,
.section-kicker {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.eyebrow {
  margin-bottom: 1rem;
}

.hero__actions,
.intro__actions,
.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__actions {
  margin-top: 1.8rem;
}

.section {
  padding: 6rem 0;
}

.section--panel {
  background:
    radial-gradient(circle at top left, rgba(0, 103, 255, 0.08), transparent 20%),
    var(--color-panel);
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.section-kicker {
  margin-bottom: 0.65rem;
  color: var(--color-accent-dark);
}

.intro {
  text-align: center;
}

.section-lead {
  max-width: 48rem;
  color: var(--color-text);
  font-size: 1.08rem;
}

.intro .section-lead {
  margin: 0 auto;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem 0;
}

.feature-pill {
  padding: 0.7rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  color: var(--color-heading);
  font-weight: 600;
}

.intro__actions {
  justify-content: center;
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid--services,
.card-grid--profile {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.profile-card,
.panel-card,
.download-card,
.page-card {
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid rgba(182, 211, 235, 0.7);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.service-card,
.profile-card {
  min-height: 100%;
}

.service-card p,
.profile-card p,
.download-card p,
.card-intro,
.legal-copy p,
.legal-copy li {
  color: var(--color-text);
}

.section-cta {
  justify-content: center;
  margin-top: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: 1.25rem;
  align-items: start;
}

.contact-sidebar {
  display: grid;
  gap: 1.25rem;
}

.panel-card h3 {
  margin-bottom: 0.6rem;
}

.card-intro {
  margin-bottom: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field span,
.choice-group legend {
  color: var(--color-heading);
  font-size: 0.95rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 0.95rem;
  background: #fbfdff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  color: var(--color-heading);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(0, 103, 255, 0.12);
  background: var(--color-surface);
}

.contact-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.choice-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-group legend {
  margin-bottom: 0.75rem;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem;
  background: #fbfdff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  color: var(--color-heading);
  font-weight: 600;
  text-align: center;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.choice input:focus-visible + span,
.choice input:checked + span {
  background: var(--color-accent-soft);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(0, 103, 255, 0.08);
}

.map-card {
  overflow: hidden;
  padding: 0;
}

.map-card iframe {
  display: block;
  width: 100%;
  min-height: 36rem;
  border: 0;
}

.contact-card {
  background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
}

.form-status {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(0, 103, 255, 0.18);
  border-radius: 18px;
  background: rgba(0, 103, 255, 0.06);
  color: var(--color-heading);
}

.form-status--success {
  border-color: rgba(6, 113, 73, 0.2);
  background: rgba(6, 113, 73, 0.08);
  color: #0b5133;
}

.form-status--error {
  border-color: rgba(176, 44, 44, 0.18);
  background: rgba(176, 44, 44, 0.08);
  color: #7e1d1d;
}

.page-hero {
  padding: 5.5rem 0 2rem;
}

.page-hero__panel {
  max-width: 42rem;
}

.forms-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-card__meta {
  margin-bottom: 0.8rem;
  color: var(--color-accent-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.download-card__status {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.55rem 0.9rem;
  background: rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.download-card--active {
  background:
    radial-gradient(circle at top right, rgba(0, 103, 255, 0.08), transparent 40%),
    var(--color-surface);
}

.page-card {
  max-width: 54rem;
}

.legal-copy {
  display: grid;
  gap: 1rem;
}

.legal-copy a {
  color: var(--color-accent-dark);
}

.site-footer {
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(182, 211, 235, 0.6);
  background: rgba(255, 255, 255, 0.82);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr auto;
  gap: 1.5rem;
  align-items: start;
}

.footer__heading {
  margin-bottom: 0.85rem;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-weight: 700;
}

.footer__links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer__links a,
.social-links a {
  padding: 0.55rem 0.85rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-heading);
  font-weight: 600;
}

.footer__qr {
  text-align: center;
}

.footer__qr img {
  margin-inline: auto;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.footer__qr p {
  margin-top: 0.6rem;
  color: var(--color-muted);
}

.footer__meta {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(182, 211, 235, 0.6);
  color: var(--color-muted);
}

#leistungen,
#werdegang,
#kontakt {
  scroll-margin-top: 6.5rem;
}

@media (max-width: 1080px) {
  body.js-ready .site-nav {
    position: fixed;
    top: 5.75rem;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
  }

  body.js-ready .site-nav.is-open {
    display: flex;
  }

  .site-nav > a {
    width: 100%;
    text-align: center;
  }

  body.js-ready .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 960px) {
  .card-grid--services,
  .card-grid--profile,
  .contact-grid,
  .forms-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__wash {
    background:
      linear-gradient(180deg, var(--color-overlay-strong) 0%, rgba(9, 18, 33, 0.55) 56%, rgba(9, 18, 33, 0.55) 100%);
  }

  .hero__panel {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4.5rem 0;
  }

  .page-hero {
    padding-top: 4.5rem;
  }

  .hero {
    min-height: 37rem;
  }

  .hero__content {
    padding: 4.75rem 0 4rem;
  }

  .hero__panel,
  .service-card,
  .profile-card,
  .panel-card,
  .download-card,
  .page-card {
    padding: 1.4rem;
  }

  .field-row,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .map-card iframe {
    min-height: 24rem;
  }

  .brand__copy strong {
    font-size: 0.96rem;
  }

  .brand__copy small {
    font-size: 0.8rem;
  }
}
