:root {
  color-scheme: dark;
  --bg: #08090b;
  --surface: #101216;
  --surface-2: #161a1f;
  --line: #23272d;
  --line-soft: #1a1e23;
  --text: #f3f5f7;
  --muted: #98a1ab;
  --accent: #4cc9f0;
  --accent-ink: #04222c;
  --accent-soft: rgba(76, 201, 240, 0.11);
  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1120px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font: 400 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

p,
figure {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: max(22px, env(safe-area-inset-left));
  padding-right: max(22px, env(safe-area-inset-right));
}

section[id] {
  scroll-margin-top: 84px;
}

/* ---------- Kopfleiste ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 9, 11, 0.76);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 54px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.18s ease;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

/* ---------- Knöpfe ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: #6ad5f6;
}

.btn-ghost {
  background: var(--surface-2);
  border-color: #39424b;
  color: var(--text);
}

.btn-ghost:hover {
  border-color: #566270;
  background: #1d2228;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

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

.hero {
  position: relative;
  padding: 104px 0 88px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -340px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 760px;
  background: radial-gradient(
    closest-side,
    rgba(76, 201, 240, 0.15),
    transparent 72%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 800px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(2.5rem, 6.6vw, 4.1rem);
  letter-spacing: -0.035em;
}

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

.hero-sub {
  max-width: 600px;
  margin-top: 26px;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 38px;
}

.hero-note {
  margin-top: 20px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Kennzahlen ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 74px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  padding: 26px 24px;
  background: var(--bg);
}

.stat-n {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stat-l {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.45;
}

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

.section {
  padding: 96px 0;
  border-top: 1px solid var(--line-soft);
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.label {
  display: block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head h2 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
}

.section-head p {
  margin-top: 18px;
  font-size: 18px;
}

/* ---------- Pakete ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.plan-featured {
  border-color: rgba(76, 201, 240, 0.4);
  background: linear-gradient(180deg, var(--accent-soft), transparent 42%),
    var(--surface);
}

.badge {
  position: absolute;
  top: -12px;
  left: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan h3 {
  font-size: 24px;
}

.plan-time {
  margin-top: 8px;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 26px 0;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.plan-price b {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--text);
}

.plan-price span {
  font-size: 14px;
}

.plan-price b.ask {
  font-size: 28px;
}

.plan-price s {
  font-size: 17px;
  color: var(--muted);
  text-decoration-thickness: 1px;
}

.plans-2 {
  grid-template-columns: repeat(2, 1fr);
}

.plan-list {
  flex: 1;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}

.plan-list li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.5;
}

.plan-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Preistabelle ---------- */

.table-wrap {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

caption {
  padding: 20px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
}

th,
td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

th {
  font-weight: 400;
  color: var(--muted);
}

td {
  color: var(--text);
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover th,
tbody tr:hover td {
  background: var(--surface);
}

.table-note {
  margin-top: 16px;
  font-size: 15px;
}

/* ---------- Vorher und nachher ---------- */

.shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.shot {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.shot img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.shot-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(8, 9, 11, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

.shot-tag-after {
  background: var(--accent);
  color: var(--accent-ink);
}

.shots-note {
  margin-top: 24px;
  font-size: 15px;
}

/* ---------- Anlässe ---------- */

.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case {
  padding: 34px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.case-tag {
  display: block;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.case h3 {
  font-size: 19px;
  margin-bottom: 11px;
}

/* ---------- Ablauf ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 34px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border: 1px solid rgba(76, 201, 240, 0.35);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.step h3 {
  font-size: 19px;
  margin-bottom: 11px;
}

/* ---------- Über mich ---------- */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p + p {
  margin-top: 18px;
}

.about-card {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.about-card dl {
  margin: 0;
  display: grid;
  gap: 1px;
}

.about-card .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}

.about-card .row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.about-card dt {
  font-size: 15px;
  color: var(--muted);
}

.about-card dd {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-align: right;
}

/* ---------- Grenzen ---------- */

.limits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.limit {
  padding: 28px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 2px solid rgba(76, 201, 240, 0.45);
  border-radius: 6px var(--radius) var(--radius) 6px;
  font-size: 16px;
}

.limits-closing {
  margin-top: 34px;
  font-size: 19px;
  color: var(--text);
}

.guarantee {
  margin-top: 36px;
  padding: 32px 36px;
  background: var(--accent-soft);
  border: 1px solid rgba(76, 201, 240, 0.32);
  border-radius: var(--radius-lg);
}

.guarantee h3 {
  font-size: 21px;
  margin-bottom: 12px;
}

.guarantee p {
  max-width: 620px;
  font-size: 17px;
}

/* ---------- Kundenstimme ---------- */

.quote {
  max-width: 820px;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.quote blockquote {
  margin: 0;
  font-size: clamp(20px, 3vw, 27px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
}

.quote figcaption {
  margin-top: 26px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-direct {
  margin-top: 30px;
  display: grid;
  gap: 1px;
}

.contact-direct a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 16px;
}

.contact-direct a:hover {
  color: var(--text);
  text-decoration: none;
}

.contact-direct b {
  color: var(--text);
  font-weight: 500;
}

form {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.field {
  margin-bottom: 20px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.opt {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.18s ease;
}

input::placeholder,
textarea::placeholder {
  color: #5e666f;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

textarea {
  min-height: 116px;
  resize: vertical;
}

.field-label {
  display: block;
  margin-bottom: 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.seg {
  margin: 0;
}

.field-hint {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.seg input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
}

.seg span {
  display: block;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease;
}

.seg span:hover {
  border-color: #3a424b;
  color: var(--text);
}

.seg input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.seg input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.checks {
  display: grid;
  gap: 11px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
}

.check input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  flex: none;
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  accent-color: var(--accent);
}

.check b {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}

.estimate {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-top: 26px;
  padding: 20px 22px;
  background: var(--accent-soft);
  border: 1px solid rgba(76, 201, 240, 0.3);
  border-radius: var(--radius);
}

.estimate-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.estimate-prices {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-left: auto;
}

td s {
  margin-left: 9px;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  text-decoration-thickness: 1px;
}

.estimate-old {
  font-size: 17px;
  color: var(--muted);
  text-decoration-thickness: 1px;
  white-space: nowrap;
}

.estimate-sum {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text);
  white-space: nowrap;
}

.estimate-note {
  flex-basis: 100%;
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.form-actions {
  display: grid;
  gap: 11px;
  margin-top: 28px;
}

.form-note {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.55;
}

/* ---------- Dauerknopf ---------- */

.fab {
  position: fixed;
  z-index: 50;
  right: max(20px, env(safe-area-inset-right));
  bottom: calc(20px + env(safe-area-inset-bottom));
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.fab:hover {
  background: #6ad5f6;
  text-decoration: none;
  transform: translateY(-2px);
}

.fab[hidden] {
  display: none;
}

/* ---------- Fuß ---------- */

.site-footer {
  padding: 46px 0;
  padding-bottom: calc(46px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 40px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

/* ---------- Rechtstexte ---------- */

.doc {
  max-width: 720px;
  padding: 72px 0 96px;
}

.doc h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 44px;
}

.doc section {
  padding: 30px 0;
  border-top: 1px solid var(--line-soft);
}

.doc section:first-of-type {
  border-top: 0;
}

.doc h2 {
  font-size: 19px;
  margin-bottom: 14px;
}

.doc p + p {
  margin-top: 14px;
}

.doc address {
  font-style: normal;
  line-height: 1.8;
}

.doc dl {
  margin: 0;
  display: grid;
  gap: 1px;
}

.doc .row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}

.doc .row:last-child {
  border-bottom: 0;
}

.doc dd {
  margin: 0;
  text-align: right;
  color: var(--text);
}

/* ---------- Anpassungen ---------- */

@media (max-width: 960px) {
  .site-header {
    background: rgba(8, 9, 11, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-inner {
    height: auto;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 9px;
  }

  .nav {
    order: 3;
    width: 100%;
    margin: 0 -22px;
    padding: 0 22px 9px;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent);
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    font-size: 13px;
    white-space: nowrap;
  }

  section[id] {
    scroll-margin-top: 92px;
  }

  .about,
  .contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps,
  .limits,
  .cases,
  .plans {
    grid-template-columns: 1fr;
  }

  .shots {
    gap: 12px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .header-inner {
    gap: 12px;
  }

  .brand-sub {
    display: none;
  }

  .site-header .btn {
    padding: 10px 16px;
    font-size: 13px;
    white-space: nowrap;
  }

  .hero {
    padding: 68px 0 64px;
  }

  .section {
    padding: 68px 0;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .shots {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .shot img {
    aspect-ratio: 4 / 5;
  }

  .fab {
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    padding: 14px 22px;
    font-size: 14px;
  }

  .site-footer {
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }

  th,
  td {
    font-size: 15px;
  }

  .plan,
  form,
  .about-card,
  .guarantee {
    padding: 28px;
  }

  .quote {
    padding: 32px;
  }

  .badge {
    left: 28px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .field-row .field {
    margin-bottom: 20px;
  }

  th,
  td {
    padding: 15px 18px;
  }

  caption {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
