@font-face { font-family: "Bricolage Grotesque"; font-weight: 600; font-display: swap; src: url("fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-display: swap; src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-display: swap; src: url("fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-display: swap; src: url("fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url("fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  /* Layout: ruhig, ein Blau als Akzent. Die Kabelfarben stecken nur noch im Logo. */
  --ink: #1a1d20;
  --paper: #f1f2f3;
  --surface: #ffffff;
  --accent: #1d58a3;
  --muted: #5a6168;
  --line: #d8dcdf;
  --font-display: "Bricolage Grotesque", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  /* Aderfarben, nur für das Kabel im Kopfbereich */
  --l1: #7a4a26;
  --l2: #1d1d1d;
  --l3: #8d9399;
  --pe: repeating-linear-gradient(-45deg, #2f9a45 0 10px, #f2cd1d 10px 20px);
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.02em; }


/* Kabel im Kopfbereich (das einzige Kabel-Element auf der Seite) */
.cable { display: grid; gap: 3px; }
.cable i { display: block; height: 5px; border-radius: 3px; }
.cable i:nth-child(1) { background: var(--l1); }
.cable i:nth-child(2) { background: var(--l2); }
.cable i:nth-child(3) { background: var(--l3); }
.cable i:nth-child(4) { background: var(--accent); }
.cable i:nth-child(5) { background: var(--pe); }
.hero .cable { margin-top: 48px; margin-right: -40px; }

/* Kopf */
header.site { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
header.site .wrap { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; line-height: 1.1; }
.brand img { width: 42px; height: 42px; flex: none; }
.brand b { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; display: block; }
.brand span span { font-size: 13px; color: var(--muted); }
nav.main { display: flex; gap: 26px; margin-left: auto; }
nav.main a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
nav.main a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 16px/1.2 var(--font-body); padding: 14px 22px; border-radius: 6px;
  border: 2px solid var(--ink); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: #164a8b; border-color: #164a8b; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-small { padding: 9px 16px; font-size: 15px; }

/* Hero */
.hero { padding: 72px 0 0; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 40px; align-items: end; }
.hero .tag { display: inline-flex; gap: 10px; align-items: center; color: var(--muted); margin-bottom: 20px; }
.hero h1 { font-size: clamp(42px, 6.2vw, 76px); }
.hero h1 .hl { color: var(--accent); }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 32em; margin-top: 22px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-text { padding-bottom: 64px; }
.phone {
  justify-self: center; width: 280px; border: 10px solid var(--ink); border-bottom: 0;
  border-radius: 38px 38px 0 0; background: var(--ink); overflow: hidden; height: 470px;
  box-shadow: 0 30px 60px -30px rgba(26,29,32,.55);
}
.phone img { width: 100%; height: auto; border-radius: 28px 28px 0 0; }
.phone-caption { text-align: center; color: var(--muted); margin-top: 0; }

/* Abschnitte */
section.block { padding: 88px 0; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: 44px; }
.head h2 { font-size: clamp(34px, 4.6vw, 52px); }
.head p { color: var(--muted); max-width: 34em; }
.kicker { display: block; color: var(--accent); margin-bottom: 12px; text-transform: uppercase; }

/* Warum */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.why div { padding: 4px 28px 0; border-left: 5px solid var(--line); }
.why h3 { font-size: 24px; margin-bottom: 10px; }
.why p { color: var(--muted); }

/* Pakete */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.plan.featured { border: 2px solid var(--accent); position: relative; }
.plan.featured .badge { position: absolute; top: -13px; left: 24px; background: var(--accent); color: #fff; padding: 3px 10px; border-radius: 4px; }
.plan h3 { font-size: 26px; }
.plan .for { color: var(--muted); font-size: 15px; min-height: 3em; }
.price { font-family: var(--font-display); font-weight: 800; font-size: 46px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--font-body); font-weight: 600; font-size: 16px; letter-spacing: 0; color: var(--muted); }
.plan ul { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; font-size: 15.5px; flex: 1; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li::before { content: ""; width: 12px; height: 4px; border-radius: 2px; background: var(--accent); margin-top: 10px; }
.zusatz { margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 18px 24px; display: flex; gap: 12px 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 15.5px; }
.zusatz div { flex: 1 1 280px; color: var(--muted); }
.zusatz strong { color: var(--ink); }
.zusatz b { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; white-space: nowrap; }
.plans-note { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* Referenzen */
.refs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ref { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.ref:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -24px rgba(26,29,32,.5); }
.ref .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #e6e9eb; border-bottom: 1px solid var(--line); }
.ref .bar i { width: 9px; height: 9px; border-radius: 50%; background: #c3c8cc; }
.ref .bar span { margin-left: 10px; color: var(--muted); background: var(--surface); padding: 2px 10px; border-radius: 4px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref .shot { aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; }
.ref .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ref .body { padding: 22px 24px 24px; display: grid; gap: 8px; }
.ref h3 { font-size: 24px; }
.ref p { color: var(--muted); font-size: 15.5px; }
.ref .go { color: var(--accent); font-weight: 600; font-size: 15px; margin-top: 4px; }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: s; }
.steps li { counter-increment: s; padding: 0 24px 0 0; position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin-bottom: 14px; }
.steps li::after { content: ""; position: absolute; top: 28px; left: 0; right: 0; height: 5px; border-radius: 3px; background: var(--line); }
.steps h3 { font-size: 22px; margin: 34px 0 8px; }
.steps p { color: var(--muted); font-size: 15.5px; }

/* FAQ */
.faq { max-width: 780px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 0 20px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; }
.contact-info h2 { font-size: clamp(34px, 4.6vw, 52px); }
.contact-info p { color: var(--muted); margin-top: 16px; }
.contact-info dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 28px 0 0; }
.contact-info dt { color: var(--muted); }
.contact-info dd { margin: 0; font-weight: 600; }
form { display: grid; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--surface); border: 1px solid #b8bfc5; border-radius: 6px; padding: 11px 13px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.check input { width: auto; margin-top: 4px; }
.hidden { display: none; }
.form-msg { display: none; padding: 14px 16px; border-radius: 6px; font-size: 15px; background: #fbebeb; border: 1px solid #e2a4a4; color: #6b1f1f; }
.form-msg.show { display: block; }
.form-msg.ok { background: #e5f4e4; border-color: #9fcaa8; color: #1f4d2a; }

/* Unterseiten */
.page { padding: 64px 0 88px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 28px; }
.page h2 { font-size: 24px; margin: 34px 0 10px; letter-spacing: -0.01em; }
.page p, .page li { color: #33393e; }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 20px; }
.page h3 { font-size: 19px; margin: 26px 0 8px; letter-spacing: -0.01em; }
.page h4 { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin: 18px 0 6px; }
.page li + li { margin-top: 4px; }
.page .stand, .page .quelle { color: var(--muted); font-size: 14px; }
.page .quelle { margin-top: 40px; }
.page a { overflow-wrap: anywhere; }

footer { background: var(--ink); color: #b3babf; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; padding-top: 30px; padding-bottom: 30px; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .links { display: flex; gap: 22px; }

/* Anrufen-Leiste, nur auf dem Handy */
.callbar { display: none; }

@media (max-width: 900px) {
  .hero .wrap, .head, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-text { padding-bottom: 40px; }
  .hero .cable { margin-right: 0; }
  .why, .plans, .refs { grid-template-columns: minmax(0, 1fr); }
  .why div + div { margin-top: 24px; }
  .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 32px; }
}
@media (max-width: 640px) {
  nav.main, header.site .btn { display: none; }
  body { padding-bottom: 74px; }
  .callbar { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); }
  .callbar .btn { padding: 13px 10px; }
  .wrap { padding: 0 18px; }
  section.block { padding: 60px 0; }
  .hero { padding-top: 44px; }
  .row2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .plan .for { min-height: 0; }
  form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .ref { transition: none; }
}
