/* Layout: Flyer-Stil A als Website. Weiße Fläche, Navy-Typografie, ein Orange für Rinnen und Aktionen, Häuser-Illustration als Bildband. */

@font-face { font-family: 'Barlow'; src: url('fonts/Barlow-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('fonts/Barlow-Medium.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('fonts/Barlow-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('fonts/Barlow-Bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('fonts/BarlowCondensed-Bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #FFFFFF;
  --surface: #F3F6F9;
  --band: #E9EFF5;
  --ink: #0F2233;
  --text: #3A4754;
  --muted: #55636F;
  --line: #D3DCE5;
  --accent: #E8611A;
  --accent-text: #B4410F;
  --on-accent: #0F2233;
  --deep: #0F2233;
  --deep-2: #0A1826;
  --deep-line: #2A4157;
  --on-deep: #FFFFFF;
  --on-deep-muted: #C9D4DE;
  --ill-wall: #C9D5E1;
  --ill-win: #9FB2C4;
  --ill-roof: #23415C;
  --ill-drone: #0F2233;
  --todo-bg: #FFF1B8;
  --todo-fg: #5A4300;
  --font-display: 'Barlow Condensed', 'Barlow', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0C1A27;
    --surface: #112334;
    --band: #132A3F;
    --ink: #EEF3F8;
    --text: #C3CFDA;
    --muted: #9DAEBE;
    --line: #253B50;
    --accent: #F07A35;
    --accent-text: #F79A5E;
    --on-accent: #0C1A27;
    --deep: #081521;
    --deep-2: #050F18;
    --deep-line: #22384C;
    --on-deep: #FFFFFF;
    --on-deep-muted: #B4C3D1;
    --ill-wall: #2B4762;
    --ill-win: #1A3149;
    --ill-roof: #4A7096;
    --ill-drone: #EEF3F8;
    --todo-bg: #4A3B00;
    --todo-fg: #FFE58A;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0C1A27;
  --surface: #112334;
  --band: #132A3F;
  --ink: #EEF3F8;
  --text: #C3CFDA;
  --muted: #9DAEBE;
  --line: #253B50;
  --accent: #F07A35;
  --accent-text: #F79A5E;
  --on-accent: #0C1A27;
  --deep: #081521;
  --deep-2: #050F18;
  --deep-line: #22384C;
  --on-deep: #FFFFFF;
  --on-deep-muted: #B4C3D1;
  --ill-wall: #2B4762;
  --ill-win: #1A3149;
  --ill-roof: #4A7096;
  --ill-drone: #EEF3F8;
  --todo-bg: #4A3B00;
  --todo-fg: #FFE58A;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--accent-text); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.wrap {
  max-width: 1120px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 20; background: var(--bg); color: var(--ink); padding: 10px 14px; border-radius: 8px; }

.topbar { height: 6px; background: var(--accent); }

/* Kopfzeile */
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand svg { flex-shrink: 0; }
.brand-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1; letter-spacing: 0.01em; color: var(--ink); }
.brand-sub { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.brand:hover .brand-name { color: var(--accent-text); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 16px; text-decoration: none; }
.nav-links a:hover { color: var(--accent-text); }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 480px) { .brand-sub { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 8px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-small { min-height: 44px; padding: 10px 16px; font-size: 16px; }

/* Einstieg */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 44px 56px; }
.eyebrow { font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.hero h1 { margin-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: clamp(52px, 8.4vw, 96px); line-height: 0.95; letter-spacing: -0.01em; }
.hero h1 span { display: block; }
.hero h1 .hl { color: var(--accent); }
.lead { margin-top: 20px; max-width: 34em; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; color: var(--text); }
.actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.card-label { font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.price-big { margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 60px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-note { margin-top: 6px; font-size: 15px; color: var(--muted); }
.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 16px; line-height: 1.45; color: var(--text); }
.checks svg { margin-top: 1px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 28px 40px; }
}

/* Illustration */
.ill { background: var(--band); overflow: hidden; }
.ill svg { display: block; width: 100%; max-width: 860px; height: auto; margin-inline: auto; }
.i-wall { fill: var(--ill-wall); }
.i-win { fill: var(--ill-win); }
.i-roof { fill: var(--ill-roof); }
.i-acc-s { stroke: var(--accent); fill: none; }
.i-acc-f { fill: var(--accent); }
.i-beam { fill: var(--accent); opacity: 0.16; }
.i-drone { fill: var(--ill-drone); }
.i-drone-s { stroke: var(--ill-drone); fill: none; }

/* Vorteile */
.benefits { border-bottom: 1px solid var(--line); }
.benefits .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 32px; }
.benefit { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.benefit strong { display: block; font-size: 17px; line-height: 1.3; color: var(--ink); }
.benefit span { display: block; margin-top: 2px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.benefit svg { margin-top: 2px; }
@media (max-width: 960px) { .benefits .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .benefits .wrap { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* Abschnitte */
.section { padding-block: 72px; scroll-margin-top: 8px; }
.section-alt { background: var(--surface); }
.section-head { max-width: 44em; }
.section-head h2 { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 5vw, 54px); line-height: 1; }
.section-head p { margin-top: 14px; font-size: 18px; }
@media (max-width: 640px) { .section { padding-block: 52px; } }

/* Leistungen */
.svc-groups { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.svc-group h3 { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); font-size: 20px; line-height: 1.3; }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.svc h4 { grid-column: 1; font-size: 18px; line-height: 1.3; }
.svc p { grid-column: 1; font-size: 16px; line-height: 1.5; color: var(--text); }
.svc .price { grid-column: 2; grid-row: 1 / span 2; align-self: start; text-align: right; }
.price strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.svc-meta { grid-column: 1; font-size: 14px; color: var(--muted); }
.note { margin-top: 28px; max-width: 62em; font-size: 15px; line-height: 1.55; color: var(--muted); }
.note strong { color: var(--ink); }
@media (max-width: 960px) { .svc-groups { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 480px) {
  .svc { grid-template-columns: minmax(0, 1fr); }
  .svc .price { grid-column: 1; grid-row: auto; text-align: left; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; }
  .price span { margin-top: 0; }
}

/* Preise */
.price-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 26px; min-width: 0; }
.panel h3 { font-size: 19px; line-height: 1.3; }
.panel .rate { margin-top: 12px; font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.panel .rate small { margin-left: 6px; font-family: var(--font-body); font-size: 18px; font-weight: 600; color: var(--muted); }
.panel p { margin-top: 12px; font-size: 16px; line-height: 1.5; }
.table-box { overflow-x: auto; margin-top: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
td { color: var(--ink); }
td + td, th + th { padding-left: 16px; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.terms { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.terms li { font-size: 16px; line-height: 1.45; color: var(--text); }
.terms strong { color: var(--ink); }
.extras { margin-top: 24px; }
.extras h3 { font-size: 19px; }
.extras td:nth-child(2) { color: var(--text); }
@media (max-width: 960px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .extras thead { display: none; }
  .extras table, .extras tbody, .extras tr, .extras td { display: block; }
  .extras tr { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .extras td { padding: 0; border: 0; }
  .extras td + td { padding-left: 0; }
  .extras td:first-child { font-weight: 700; }
  .extras td:nth-child(2) { margin-top: 2px; font-size: 15px; }
  .extras td.num { margin-top: 4px; text-align: left; }
}

/* Ablauf */
.steps { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.step { display: grid; gap: 10px; align-content: start; }
.step-num { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; color: var(--ink); }
.step h3 { font-size: 19px; line-height: 1.3; }
.step p { font-size: 16px; line-height: 1.5; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Über mich */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.about-text p { font-size: 18px; line-height: 1.6; }
.about-text p + p { margin-top: 14px; }
.signature { margin-top: 20px; font-weight: 700; color: var(--ink); }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* Kontakt */
.contact { background: var(--deep); color: var(--on-deep); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 72px; }
.contact .eyebrow { color: var(--accent); }
.contact h2 { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6vw, 64px); line-height: 1; color: var(--on-deep); }
.contact p { margin-top: 14px; font-size: 18px; color: var(--on-deep-muted); }
.contact-list { display: grid; gap: 14px; }
.contact-row { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid var(--deep-line); border-radius: 12px; color: var(--on-deep); text-decoration: none; }
.contact-row:hover { border-color: var(--accent); color: var(--on-deep); }
.contact-row small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-deep-muted); }
.contact-row span { display: block; font-size: clamp(19px, 2.4vw, 23px); font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 56px; } }

/* Fußzeile */
.site-foot { background: var(--deep-2); color: var(--on-deep-muted); font-size: 15px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; padding-block: 28px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot a { color: var(--on-deep); text-decoration: none; }
.site-foot a:hover { color: var(--accent); text-decoration: underline; }

/* Rechtstexte */
.legal .wrap { max-width: 780px; padding-block: 40px 72px; }
.legal h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6vw, 56px); line-height: 1; }
.legal h2 { margin-top: 36px; font-size: 22px; line-height: 1.3; }
.legal h3 { margin-top: 22px; font-size: 18px; line-height: 1.3; }
.legal p, .legal ul { margin-top: 10px; font-size: 17px; line-height: 1.65; }
.legal ul { padding-left: 22px; }
.legal address { font-style: normal; margin-top: 10px; line-height: 1.65; }
.legal .stand { margin-top: 36px; font-size: 15px; color: var(--muted); }
.back { display: inline-block; margin-bottom: 24px; font-weight: 600; text-decoration: none; }
.todo { background: var(--todo-bg); color: var(--todo-fg); padding: 1px 5px; border-radius: 4px; }

/* Drohnen-Animation: einfliegen, schweben, Rotoren, Kamerakegel */
.ill .drone { animation: drone-in 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.ill .drone-bob { animation: drone-bob 3.2s ease-in-out 1.6s infinite; }
.ill .rotor { transform-box: fill-box; transform-origin: center; animation: rotor 0.14s linear infinite; }
.ill .beam { animation: fade-in 0.5s ease-out 1.4s both, beam-pulse 2.6s ease-in-out 1.9s infinite; }
.ill .vf { animation: fade-in 0.4s ease-out 1.6s both, vf-blink 2.6s ease-in-out 2s infinite; }
@keyframes drone-in { from { transform: translate(180px, -16px); } to { transform: translate(0, 0); } }
@keyframes drone-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes rotor { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(0.5); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes beam-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes vf-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@media (prefers-reduced-motion: reduce) {
  .ill .drone, .ill .drone-bob, .ill .rotor, .ill .beam, .ill .vf { animation: none; }
}

/* Kontaktformular */
.contact-side { display: grid; gap: 24px; align-content: start; }
.contact-form { display: grid; gap: 14px; padding: 26px; border-radius: 12px; border: 1px solid var(--deep-line); background: var(--bg); color: var(--text); min-width: 0; }
.contact-form h3 { font-size: 20px; line-height: 1.3; color: var(--ink); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.4;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { width: 100%; margin-top: 4px; }
.contact .contact-form .form-note { margin-top: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.contact-form .form-note a { color: var(--accent-text); }
@media (max-width: 560px) { .form-row { grid-template-columns: minmax(0, 1fr); } .contact-form { padding: 20px; } }
