/* ============================================================
   Schlotter Drone Solutions — schlotter-drone.de (v2, dunkles Design)
   Wiederhergestellte Optik der ursprünglichen Website:
   dunkler Grund, Azurblau (hsl 211 100% 50%), Inter, Radius 1rem.
   Keine externen Abhängigkeiten – Schriften lokal gehostet.
   ============================================================ */

@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap; src:url('/static/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap; src:url('/static/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap; src:url('/static/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap; src:url('/static/fonts/inter-700.woff2') format('woff2'); }

:root {
  --bg: hsl(0 0% 4%);
  --bg-alt: hsl(0 0% 7%);
  --card: hsl(0 0% 8%);
  --card-gradient: linear-gradient(135deg, hsl(0 0% 9% / .9) 0%, hsl(0 0% 6% / .9) 100%);
  --ink: hsl(0 0% 96%);
  --muted: hsl(0 0% 65%);
  --line: hsl(0 0% 18%);
  --primary: hsl(211 100% 50%);
  --primary-dark: hsl(211 100% 42%);
  --accent: hsl(211 100% 60%);
  --glow: 0 0 60px hsl(211 100% 50% / .35);
  --text-gradient: linear-gradient(135deg, hsl(211 100% 62%), hsl(211 100% 45%));
  --whatsapp: #25d366;
  --maxw: 1080px;
  --radius: 1rem;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: hsl(211 100% 70%); }

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

.skip { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* Akzentlinie im Blauverlauf des alten Designs */
.thermal { height: 4px; width: 104px; border-radius: 2px; background: var(--text-gradient); margin: 1.1rem 0 1.4rem; }

/* --- Header ------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: hsl(0 0% 4% / .88); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .5rem 1.5rem; padding-top: .65rem; padding-bottom: .65rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; line-height: 1.15; }
.brand-logo { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; color: var(--ink); text-transform: uppercase; }
.brand-sub { font-size: .68rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.site-nav { display: flex; flex-wrap: wrap; gap: .25rem .4rem; align-items: center; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; padding: .45rem .7rem; border-radius: .6rem; }
.site-nav a:hover { background: hsl(0 0% 100% / .07); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav .nav-cta { background: var(--primary); color: #fff; margin-left: .3rem; font-weight: 600; }
.site-nav .nav-cta:hover { background: var(--primary-dark); color: #fff; box-shadow: var(--glow); }

/* --- Hero --------------------------------------------------- */
.hero {
  position: relative; color: #fff; padding: 5rem 0 5.4rem; overflow: hidden;
  background:
    linear-gradient(180deg, hsl(0 0% 4% / .82) 0%, hsl(0 0% 4% / .62) 55%, hsl(0 0% 4% / .95) 100%),
    url('/images/hero-bg-thermal-drone-v2-1600.webp') center / cover no-repeat, var(--bg);
}
@media (max-width: 700px) {
  .hero { background:
    linear-gradient(180deg, hsl(0 0% 4% / .84) 0%, hsl(0 0% 4% / .66) 55%, hsl(0 0% 4% / .96) 100%),
    url('/images/hero-bg-thermal-drone-v2-640.webp') center / cover no-repeat, var(--bg); }
}
.hero .eyebrow { color: var(--accent); }
.hero h1 {
  font-size: clamp(1.9rem, 4.6vw, 3.05rem); line-height: 1.12; letter-spacing: -.015em;
  font-weight: 700; margin: .2rem 0 0; max-width: 22ch;
  background: var(--text-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: hsl(0 0% 88%); max-width: 62ch; font-size: 1.15rem; margin: 0 0 1.8rem; }
.hero .thermal { width: 140px; }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding: 0; list-style: none; }
.badges li {
  font-size: .82rem; font-weight: 500; letter-spacing: .02em;
  border: 1px solid hsl(0 0% 100% / .25); background: hsl(0 0% 0% / .35);
  color: hsl(0 0% 92%); padding: .3rem .75rem; border-radius: 999px;
}

/* --- Buttons ------------------------------------------------ */
.btn { display: inline-block; text-decoration: none; font-weight: 600; padding: .8rem 1.4rem; border-radius: .8rem; font-size: 1rem; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; box-shadow: var(--glow); }
.btn-ghost { border: 1.5px solid hsl(0 0% 100% / .5); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline { border: 1.5px solid var(--primary); color: var(--accent); }
.btn-outline:hover { background: hsl(211 100% 50% / .12); color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* --- Typo-Bausteine ----------------------------------------- */
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 600; color: var(--accent); margin: 0 0 .4rem; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 700; color: var(--ink); margin: 0 0 .8rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin: 0 0 .4rem; color: var(--ink); }
.lead { font-size: 1.12rem; color: var(--muted); }

/* --- Sektionen ----------------------------------------------- */
.section { padding: 3.4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 2rem; }

/* --- Karten --------------------------------------------------- */
.grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--card-gradient); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem; display: flex; flex-direction: column; overflow: hidden;
}
.card:hover { border-color: var(--primary); box-shadow: 0 0 34px hsl(211 100% 50% / .18); }
.card-img {
  display: block; width: calc(100% + 2.8rem); margin: -1.4rem -1.4rem 1rem;
  aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--line);
}
.card p { margin: .2rem 0 .9rem; color: var(--muted); font-size: .98rem; flex: 1; }
.card .more { font-weight: 600; text-decoration: none; font-size: .95rem; }
.card .more::after { content: " \2192"; }

/* --- Merkmalliste ---------------------------------------------- */
.facts { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); padding: 0; list-style: none; margin: 0; }
.facts li { border-left: 3px solid var(--primary); padding-left: .9rem; }
.facts strong { display: block; color: var(--ink); margin-bottom: .15rem; }
.facts span { color: var(--muted); font-size: .97rem; }

/* --- Unterseiten-Kopf ------------------------------------------ */
.page-head { padding: 3rem 0 0; }
.page-head h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 700; color: var(--ink); margin: 0; max-width: 28ch; }
.page-head .lead { max-width: 66ch; margin: 0; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin: 0 0 .8rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* --- Leistungsbild auf Detailseiten ----------------------------- */
.service-figure { margin: 2rem auto 0; }
.service-figure img { width: 100%; max-height: 400px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }

/* --- Fließtext ---------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .35rem 0; }
.prose li::marker { color: var(--primary); }

.note { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--primary); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 1.6rem 0; }
.note strong { color: var(--ink); }

/* --- FAQ ----------------------------------------------------------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 1.15rem 0; max-width: 760px; }
.faq-item h2 { font-size: 1.12rem; margin: 0 0 .45rem; }
.faq-item p { margin: 0; color: var(--muted); }

/* --- Kontakt --------------------------------------------------------- */
.contact-band {
  background: linear-gradient(135deg, hsl(211 100% 50% / .14), hsl(211 100% 40% / .06));
  border: 1px solid hsl(211 100% 50% / .4);
  color: var(--ink); border-radius: var(--radius); padding: 2.4rem 2rem;
}
.contact-band h2 { color: var(--ink); }
.contact-band p { color: var(--muted); max-width: 60ch; }
.contact-band .btn-ghost { border-color: hsl(0 0% 100% / .4); }
.contact-card { background: var(--card-gradient); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.contact-card p { margin: .3rem 0; }
.contact-card .big { font-size: 1.25rem; font-weight: 700; text-decoration: none; color: var(--accent); }
.contact-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
address { font-style: normal; }
table.hours { border-collapse: collapse; }
table.hours td { padding: .2rem 1.2rem .2rem 0; }

/* --- Stadt-Verweise --------------------------------------------------- */
.city-links { display: flex; flex-wrap: wrap; gap: .55rem; padding: 0; list-style: none; margin: 1rem 0 0; }
.city-links a {
  display: inline-block; text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500;
  border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: .4rem .95rem;
}
.city-links a:hover { border-color: var(--primary); color: var(--accent); }

/* --- WhatsApp-Button ---------------------------------------------------- */
.whatsapp {
  position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .5);
}
.whatsapp svg { width: 32px; height: 32px; fill: #fff; }
.whatsapp:hover { transform: scale(1.06); box-shadow: 0 6px 26px rgba(37, 211, 102, .55); }

/* --- Footer --------------------------------------------------------------- */
.site-footer {
  margin-top: 3.5rem; background: hsl(0 0% 3%); color: var(--muted);
  border-top: 1px solid var(--line); padding: 2.8rem 0 5.5rem; font-size: .95rem;
}
.site-footer h3 { color: var(--ink); font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.site-footer a { color: hsl(0 0% 80%); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .3rem 0; }
.footer-bottom {
  margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .87rem; color: hsl(0 0% 55%);
}

@media (max-width: 640px) {
  .site-header .container { justify-content: center; text-align: center; }
  .hero { padding: 3.2rem 0 3.6rem; }
  .section { padding: 2.6rem 0; }
}

/* ============ v3-Ergänzungen ============ */

/* Header-Wortmarke wie im Logo: beide Zeilen kräftig, einfarbig */
.brand-name { font-weight: 800; }
.brand-sub { color: var(--ink); font-weight: 700; letter-spacing: .13em; font-size: .67rem; }

/* Logo auf dunklem Grund lesbar: heller Kachel-Hintergrund */
.brand-logo, .hero-logo { background: #fff; border-radius: .8rem; padding: 3px; }

/* Hero mit prominentem Logo */
.hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center; }
.hero-logo { width: min(270px, 34vw); height: auto; padding: 14px; border-radius: 1.4rem; box-shadow: var(--glow); justify-self: end; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { justify-self: center; width: 190px; order: -1; }
}

/* Aufklappbare Leistungs-Abschnitte */
.acc { background: var(--card-gradient); border: 1px solid var(--line); border-radius: var(--radius); margin: 0 0 .9rem; overflow: hidden; }
.acc summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: 1.12rem; font-weight: 600; color: var(--ink); padding: 1.05rem 1.3rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "\25BE"; color: var(--accent); font-size: 1.1rem; transition: transform .2s; flex-shrink: 0; }
.acc[open] summary::after { transform: rotate(180deg); }
.acc summary:hover { color: var(--accent); }
.acc[open] { border-color: var(--primary); }
.acc-body { padding: 0 1.3rem 1.2rem; }
.acc-body img { width: 100%; max-height: 340px; object-fit: cover; border-radius: .8rem; border: 1px solid var(--line); margin-bottom: .9rem; }
.acc-body p { color: var(--muted); }

/* FAQ aufklappbar */
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-size: 1.1rem; font-weight: 600; color: var(--ink); padding: .15rem 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "\25BE"; color: var(--accent); transition: transform .2s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p { margin: .6rem 0 0; }

/* WhatsApp-Button in Blau */
.whatsapp { background: var(--primary); }
.whatsapp:hover { transform: scale(1.06); box-shadow: var(--glow); }

/* ============ v4-Ergänzungen ============ */
/* Logo ohne weiße Kachel – Leuchtschein ist ins Bild eingebacken */
.brand-logo, .hero-logo { background: none; border-radius: 0; padding: 0; box-shadow: none; }
.brand-logo { height: 52px; }
.hero-logo { width: min(300px, 38vw); }
