/* Flugerfassung App – statische Website */

@font-face { font-family: "Roboto"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/roboto-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto Slab"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/roboto-slab-latin-600-normal.woff2") format("woff2"); }

:root {
  --sky-light: #5ac8fa;
  --sky-dark: #4496d8;
  --hero-top: #8ac5f7;
  --hero-bottom: #6894d6;
  --green: #28bf55;
  --text: #333;
  --muted: #6b6b6b;
  --bg-soft: #efefef;
  --line: #e2e2e2;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 17px/1.65 "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-dark); }
a:hover { color: var(--text); }
h1, h2, h3 { font-family: "Roboto Slab", Georgia, serif; font-weight: 600; line-height: 1.2; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-bottom) 100%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px;
  align-items: center; min-height: 680px; padding-top: 40px; padding-bottom: max(150px, calc(9.8vw - 20px)); }
.hero-text { padding-left: 55px; }
.hero-icon { width: 120px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(40px, 5.5vw, 54px); margin: 0 0 12px; }
.hero .sub { font-family: "Roboto Slab", Georgia, serif; font-weight: 600;
  font-size: clamp(20px, 2.6vw, 29px); line-height: 1.25; margin: 0 0 22px; }
.hero p { margin: 0 0 26px; }
.hero a { color: #fff; text-decoration: none; }
.hero a:hover { text-decoration: underline; }
.stores { display: flex; gap: 50px; flex-wrap: wrap; padding-left: 30px; }
.stores img { height: 52px; width: auto; }
.phone { justify-self: start; width: min(330px, 100%); margin-bottom: -110px; }
/* Höhe wächst mit der Breite, damit die Wolken auf breiten Bildschirmen nicht oben abgeschnitten werden */
.clouds { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: max(170px, calc(9.8vw + 2px)); }
.clouds path { fill: #fff; }

/* Abschnitte */
.section { padding: 60px 0; }
.section.soft { background: var(--bg-soft); }
.section h2 { color: var(--sky-light); text-align: center; font-size: clamp(32px, 5vw, 52px); margin: 0 0 28px; }
.lead { max-width: 820px; margin: 0 auto; text-align: center; color: var(--muted); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border-radius: 6px; margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; position: relative;
  font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--sky-dark); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 20px 16px; color: var(--muted); }
.faq .answer p { margin: 0 0 10px; }

/* Hilfe-Aufruf */
.cta { color: #fff; text-align: center; padding: 70px 0;
  background: linear-gradient(180deg, var(--hero-bottom) 0%, var(--hero-top) 100%); }
.cta h2 { color: #fff; font-size: clamp(30px, 5vw, 52px); margin: 0 0 18px; }
.cta p { max-width: 700px; margin: 0 auto 28px; }
.btn { display: inline-block; background: #fff; color: var(--green); font-size: 19px; font-weight: 600;
  text-decoration: none; padding: 14px 30px; border-radius: 6px; border: 0; cursor: pointer; }
.btn:hover { color: #fff; background: var(--green); }
.btn.green { background: var(--green); color: #fff; }
.btn.green:hover { background: #1f9c45; }

/* Unterseiten: Kopfbereich im Stil der Startseite */
.page-head { position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-bottom) 100%); }
.page-head .wrap { position: relative; z-index: 1; max-width: 860px; padding-top: 22px; padding-bottom: calc(9.8vw + 10px); }
.back { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none;
  font-family: "Roboto Slab", Georgia, serif; font-weight: 600; font-size: 20px; }
.back:hover { color: #fff; opacity: .85; }
.back img { width: 36px; height: auto; }
.page-head h1 { font-size: clamp(30px, 5vw, 46px); margin: 26px 0 0; }
.page-head .clouds { height: calc(9.8vw + 2px); }
.content { max-width: 860px; margin: 0 auto; padding: 20px 20px 70px; }
.content h2 { font-size: 26px; margin: 36px 0 12px; }
.content h3 { font-size: 20px; margin: 26px 0 8px; }
.content h4 { font-size: 17px; margin: 20px 0 6px; }
.legal { overflow-wrap: anywhere; }

/* Formular */
.form { display: grid; gap: 16px; margin-top: 10px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 10px 12px;
  border: 1px solid #ccc; border-radius: 6px; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--sky-light); border-color: var(--sky-light); }
.form textarea { min-height: 160px; resize: vertical; }
.form .hint { font-size: 14px; color: var(--muted); }
/* Für Menschen unsichtbares Zusatzfeld (Spam-Falle) */
.feld-zusatz { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.notice { padding: 14px 18px; border-radius: 6px; margin: 0 0 20px; }
.notice.ok { background: #e6f7eb; border: 1px solid var(--green); }
.notice.err { background: #fdecea; border: 1px solid #d93025; }

/* Fußzeile */
.site-footer { background: #24364d; color: #b9c6d6; font-size: 14px; padding: 28px 0; }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none;
  font-family: "Roboto Slab", Georgia, serif; font-weight: 600; font-size: 16px; }
.foot-brand img { width: 26px; height: auto; }
.foot-links { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.foot-links a { color: #dce6f2; text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-bottom: 110px; text-align: left; }
  .stores { gap: 16px; padding-left: 0; }
  .hero-text { padding-left: 0; }
  .clouds { height: 100px; }
  .phone { justify-self: center; width: min(220px, 70%); margin-bottom: -60px; }
  .form .row { grid-template-columns: 1fr; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
  .page-head .wrap { padding-bottom: 50px; }
  .page-head .clouds { height: 45px; }
}

.form .check { display: flex; gap: 10px; align-items: flex-start; }
.form .check input { width: auto; margin-top: 5px; }
.form .check label { font-weight: 400; font-size: 15px; }

/* Tabellen in Rechtstexten */
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.legal td { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.legal td p { margin: 0 0 4px; }
.legal .table-wrap { overflow-x: auto; }
.legal .meta { color: var(--muted); font-size: 15px; }
