/* Dachdeckerei Auf der Beck – Stylesheet
   Farben aus dem Logo: Anthrazit und Grün. Schriften liegen lokal (keine externen Server). */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6f3ec;
  --paper-2: #ece7db;
  --white: #ffffff;
  --ink: #272624;
  --ink-soft: #57554f;
  --line: #d9d2c3;
  --green: #0a7445;
  --green-dark: #066339;
  --green-deep: #054728;
  --green-tint: #dcebe2;
  --green-light: #8fd0ab;
  --anthracite: #2e2d2b;
  --anthracite-2: #3b3a38;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-small: 10px;
  --shadow: 0 1px 2px rgba(35, 40, 42, .06), 0 12px 32px -12px rgba(35, 40, 42, .18);
  --pad: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
}

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

html {
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 4.75rem); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
address { font-style: normal; }

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

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-small);
}
.skip:focus { top: 12px; color: var(--white); }

.eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Der schräge Balken greift den grünen Streifen aus dem Logo auf */
.eyebrow::before {
  content: "";
  flex: none;
  width: 22px;
  height: 12px;
  background: var(--green);
  transform: skewX(38deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 26px;
  border: 2px solid var(--green-dark);
  border-radius: var(--radius-small);
  background: var(--green-dark);
  color: var(--white);
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--green-deep); border-color: var(--paper); }
.btn-light:hover { background: var(--white); border-color: var(--white); color: var(--green-deep); }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Kopfbereich */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(35, 40, 42, .5); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
}
.logo { flex: none; display: block; }
.logo img { width: auto; height: 68px; }

.nav ul { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; }
.nav a:not(.btn) {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 550;
  font-size: .98rem;
  text-decoration: none;
  border-radius: 8px;
}
.nav a:not(.btn):hover { color: var(--green-dark); background: rgba(6, 99, 57, .08); }
.nav .btn { margin-left: 10px; }
.nav .nav-phone a { color: var(--green-dark); font-weight: 700; white-space: nowrap; }
.nav-phone-label { display: none; }
@media (min-width: 981px) and (max-width: 1239px) { .nav-phone { display: none; } }

.nav-toggle { display: none; }

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1.5px solid var(--ink);
    border-radius: var(--radius-small);
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
  }
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .2s, opacity .2s;
  }
  .nav-toggle-bars { position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .header-inner { flex-wrap: wrap; min-height: 72px; }
  .logo img { height: 54px; }
  .nav { flex-basis: 100%; }
  .nav { display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; padding: 4px 0 20px; }
  .nav a:not(.btn) { padding: 13px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 10px 0 0; width: 100%; }
  /* Im mobilen Menü ist die Telefonnummer ein eigener Anrufen-Button, kein Menüpunkt */
  .nav .nav-phone a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-top: 18px;
    padding: 12px 20px;
    border: 2px solid var(--ink);
    border-radius: var(--radius-small);
    color: var(--ink);
    font-size: 1rem;
  }
  .nav-phone-label { display: inline; white-space: pre; }
}

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 84px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 34em;
  margin-top: 24px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-media { position: relative; }
/* grüner Streifen hinter dem Bild, parallel zur schrägen Bildkante */
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -5%;
  width: 34%;
  background: var(--green);
  clip-path: polygon(0 0, 38% 0, 100% 100%, 62% 100%);
}
.ph-hero {
  aspect-ratio: 4 / 4.6;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 22% 100%);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.hero-badge {
  position: absolute;
  left: 2%;
  bottom: 9%;
  max-width: 250px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  line-height: 1.35;
}
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; }
.hero-badge span { font-size: .93rem; color: var(--ink-soft); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .ph-hero, .photo-hero { aspect-ratio: 4 / 3; }
  .hero-media { margin-left: 6%; }
  .hero-badge { left: -6%; bottom: 8%; }
}

/* Platzhalter für Fotos: werden später durch <img> ersetzt */
.ph {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 18px;
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(128deg, rgba(35, 40, 42, .05) 0 2px, transparent 2px 22px);
  border-radius: var(--radius);
  overflow: hidden;
}
.ph-label {
  max-width: 250px;
  margin: 0;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .88);
  border-radius: 10px;
  font-size: .88rem;
  line-height: 1.35;
  color: var(--ink-soft);
}
.ph-label span {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.ph-hero { align-items: flex-start; }
.ph-wide { aspect-ratio: 5 / 4; }
.ph-portrait { aspect-ratio: 4 / 5; }
.ph-dark {
  background-color: var(--anthracite-2);
  background-image: repeating-linear-gradient(128deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 22px);
}
.ph-dark .ph-label { background: rgba(46, 45, 43, .85); color: #d5d9da; }
.ph-dark .ph-label span { color: var(--green-light); }

/* Fotos */
.photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.photo picture { display: block; width: 100%; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-hero {
  aspect-ratio: 4 / 4.6;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 22% 100%);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.photo-hero img { object-position: 58% 50%; }
.photo-wide { aspect-ratio: 5 / 4; }
.photo-portrait { aspect-ratio: 4 / 5; }
.photo-dark { background: #000; }
.photo-note { margin: 12px 0 0; font-size: .9rem; color: #a9a8a4; }

.gallery { display: grid; grid-template-columns: 1.35fr .8fr 1.35fr; gap: 28px 20px; }
.gallery-item { margin: 0; min-width: 0; }
.gallery .photo { height: clamp(240px, 29vw, 400px); }
.gallery img.focus-house { object-position: 48% 50%; }
.gallery figcaption { margin-top: 12px; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px 12px; }
  .gallery-item:nth-child(3n+1) { grid-column: 1 / -1; }
  .gallery .photo { height: auto; aspect-ratio: 4 / 5; }
  .gallery-item:nth-child(3n+1) .photo { aspect-ratio: 4 / 3; }
  .gallery figcaption { margin-top: 8px; font-size: .88rem; line-height: 1.4; }
}

/* Kurzfakten */
.facts { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .5); }
.facts-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-list li { padding: 28px 24px; border-left: 1px solid var(--line); }
.facts-list li:first-child { border-left: 0; padding-left: 0; }
.facts-list strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4px;
}
.facts-list span { display: block; font-size: .95rem; line-height: 1.45; color: var(--ink-soft); }
.facts-list span + span { margin-top: 4px; }
@media (max-width: 860px) {
  .facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-list li { padding: 20px 16px; }
  .facts-list li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 460px) {
  .facts-list { grid-template-columns: 1fr; }
  .facts-list li { border-left: 0; padding-left: 0; }
  .facts-list li + li { border-top: 1px solid var(--line); }
}

/* Abschnitte */
.section { padding-block: var(--section); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 + p { margin-top: 18px; color: var(--ink-soft); font-size: 1.12rem; }
.section-tint { background: var(--paper-2); }
.section-dark { background: var(--anthracite); color: #e9ebeb; }
.section-dark h2 { color: var(--white); }
.section-dark .eyebrow { color: var(--green-light); }
.section-dark .eyebrow::before { background: var(--green-light); }

/* Leistungen */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  padding: 30px 28px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
}
.card .icon {
  width: 60px;
  height: 60px;
  padding: 10px;
  margin-bottom: 22px;
  color: var(--green-dark);
  background: var(--green-tint);
  border-radius: 12px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Drohne */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split-text h2 { margin-bottom: 22px; }
.steps-inline { margin: 28px 0; display: grid; gap: 12px; }
.steps-inline li { display: flex; align-items: center; gap: 14px; font-weight: 550; color: var(--white); }
.steps-inline span {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
}
.note { color: #b9bfc1; font-size: 1rem; border-left: 3px solid var(--green); padding-left: 16px; }
.steps-inline li { align-items: flex-start; line-height: 1.45; }
.steps-inline li > span { margin-top: -4px; }
.drone-more {
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(24px, 4vw, 40px);
  border-left: 3px solid var(--green);
  background: rgba(255, 255, 255, .04);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.drone-more h3 { color: var(--white); font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin-bottom: 14px; }
.drone-more p { color: #c9cccd; max-width: 62em; margin: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Über uns */
.about {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-text h2 { margin-bottom: 22px; }
.about-text p { color: var(--ink-soft); }
.about-highlight {
  margin: 22px 0 !important;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--green);
  font-family: var(--font-head);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--ink) !important;
}
.checks-title { margin-top: 30px; font-size: 1.15rem; }
.checks-title + .checks { margin-top: 14px; }
.checks { margin-top: 26px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 34px; font-weight: 550; }
.partner-badge {
  display: inline-block;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
}
.partner-badge:hover { border-color: var(--green-dark); }
.badges { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; margin-top: 26px; }
.badges .partner-badge { margin-top: 0; }
.partner-badge img { height: 110px; width: auto; }
.partner-badge-innung { background: #fff; padding: 8px 12px; display: inline-flex; align-items: center; }
.partner-badge-innung img { height: 92px; }
.partner-badge-logo { background: #fff; padding: 8px 14px; display: inline-flex; align-items: center; }
.partner-badge-logo img { height: 92px; max-width: 100%; object-fit: contain; }
@media (max-width: 520px) {
  .badges { gap: 10px; }
  .partner-badge img { height: 84px; }
  .partner-badge-innung img, .partner-badge-logo img { height: 66px; }
}
.photo-portrait img { object-position: 50% 45%; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-tint);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: calc(.2em + 5px);
  width: 8px;
  height: 11px;
  border: solid var(--green-dark);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(40deg) scale(.85);
}
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-media { max-width: 360px; }
}

.quote {
  position: relative;
  margin: clamp(56px, 8vw, 104px) 0 0;
  padding-left: clamp(44px, 7vw, 96px);
  max-width: 980px;
}
.quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: clamp(26px, 4vw, 54px);
  background: var(--green);
  clip-path: polygon(0 0, 40% 0, 100% 100%, 60% 100%);
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  font-weight: 420;
  line-height: 1.32;
  letter-spacing: -0.01em;
  quotes: "„" "“";
}
.quote blockquote p::before { content: open-quote; }
.quote blockquote p::after { content: close-quote; }
.quote figcaption { margin-top: 20px; color: var(--ink-soft); font-size: .98rem; }
.quote figcaption strong { display: block; color: var(--ink); }

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.values h3 { margin-bottom: 8px; }
.values p { color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* Ablauf */
.process {
  counter-reset: schritt;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
}
.process li { counter-increment: schritt; position: relative; padding-top: 22px; border-top: 2px solid var(--ink); }
.process li::before {
  content: "0" counter(schritt);
  display: block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
  color: var(--green-dark);
  margin-bottom: 16px;
}
.process h3 { margin-bottom: 8px; }
.process p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
@media (max-width: 960px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* Karriere */
.section-career { background: var(--green-deep); color: #e2efe9; padding-block: clamp(56px, 7vw, 88px); }
.section-career h2 { color: var(--white); margin-bottom: 18px; }
.section-career .eyebrow { color: var(--green-light); }
.section-career .eyebrow::before { background: var(--green-light); }
.career {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.career p { max-width: 44em; }
@media (max-width: 760px) { .career { grid-template-columns: 1fr; } .career .btn { justify-self: start; } }

/* Kontakt */
.contact {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.contact-info h2 { margin-bottom: 20px; }
.contact-info > p { color: var(--ink-soft); }
.contact-info address { margin-top: 30px; line-height: 1.6; }
.contact-info address strong { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; }
.contact-list { margin: 26px 0 0; border-top: 1px solid var(--line); }
.contact-list div { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { flex: none; width: 118px; color: var(--ink-soft); }
.contact-list dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
/* Markierung für Angaben, die vor dem Livegang ergänzt werden müssen */
.todo {
  display: inline-block;
  padding: 1px 9px;
  background: #fdf0c4;
  border: 1px dashed #b98f12;
  border-radius: 6px;
  color: #5d4700;
  font-weight: 600;
  font-size: .93em;
}

.form {
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; }
.optional { font-weight: 400; color: var(--ink-soft); font-size: .88rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1.5px solid #c9c2b2;
  border-radius: var(--radius-small);
  background: #fdfcfa;
  color: var(--ink);
  font: inherit;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(6, 99, 57, .18);
  background: var(--white);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 22px; font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--green-dark); }
.form .btn { width: 100%; }
.form-status { margin: 14px 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--green-dark); }
.form-status.is-error { color: #a3271b; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* Fußbereich */
.site-footer { background: var(--anthracite); color: #b9bfc1; padding-block: 44px; font-size: .97rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand img { flex: none; width: 72px; height: 72px; opacity: .8; }
.footer-brand a { color: #e9ebeb; text-decoration: none; }
.footer-brand a:hover { color: var(--green-light); text-decoration: underline; }
.footer-brand p { margin-bottom: 2px; }
.footer-name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-links a { color: #e9ebeb; text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-links a:hover { color: var(--green-light); text-decoration: underline; }

/* Einfache Unterseiten (Impressum, Datenschutz, 404) */
.page { padding-block: clamp(48px, 8vw, 110px); min-height: 55vh; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 24px; }
.page h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.page p { color: var(--ink-soft); }

/* ---------- Smartphone ---------- */
.mobile-bar { display: none; }

@media (max-width: 760px) {
  :root { --section: 56px; }
  body { font-size: 1rem; }
  p, li, dd, h3 { hyphens: auto; overflow-wrap: break-word; }
  a[href^="mailto:"] { hyphens: none; }

  .hero { padding-top: 28px; }
  .lead { margin-top: 18px; }
  .hero-actions { margin-top: 26px; }
  .hero-actions .btn { flex: 1 1 100%; }

  .facts-list li { padding-block: 16px; }
  .facts-list strong { font-size: 1.2rem; }

  /* Leistungen: Symbol links, Text rechts. Spart viel Scrollen. */
  .cards { gap: 12px; }
  .card { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 20px 18px; }
  .card .icon { grid-row: span 2; width: 48px; height: 48px; padding: 8px; margin: 0; }
  .card h3 { font-size: 1.15rem; margin-bottom: 6px; }
  .card p { grid-column: 2; font-size: .96rem; line-height: 1.55; }

  .steps-inline { margin: 22px 0; }
  .about-media { max-width: 280px; }
  .quote blockquote p { font-size: 1.3rem; }
  .values { gap: 22px; }

  .contact-list dt { width: 104px; }
  .form { padding: 20px 18px; }
  .footer-inner { align-items: flex-start; }
  .footer-links a { padding: 10px 0; }
  .footer-brand { align-items: flex-start; gap: 14px; }
  .footer-brand img { width: 52px; height: 52px; }
  .footer-brand a { display: block; padding: 4px 0; }
  .footer-brand .sep { display: none; }

  /* Schnellkontakt: erscheint nach dem ersten Abschnitt, verschwindet beim Kontaktformular */
  .mobile-bar {
    display: flex;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
    background: rgba(246, 243, 236, .96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -16px rgba(35, 40, 42, .45);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform .25s, visibility 0s .25s;
  }
  .mobile-bar.is-visible { transform: none; visibility: visible; transition: transform .25s; }
  .mobile-bar .btn { flex: 1 1 auto; min-height: 48px; padding: 10px 16px; }
  .mobile-bar .btn-ghost { flex: 0 0 auto; background: var(--white); }
}

@media (max-width: 520px) {
  /* Ablauf: Nummer links neben dem Text */
  .process { row-gap: 0; }
  .process li { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 10px; padding-block: 18px; border-top-width: 1px; }
  .process li:first-child { border-top-width: 2px; }
  .process li::before { grid-row: span 2; font-size: 2rem; margin: 2px 0 0; }
  .process h3 { margin-bottom: 4px; }
}

/* Handy im Querformat: Kopfzeile scrollt mit, damit mehr Inhalt sichtbar ist */
@media (max-height: 480px) and (orientation: landscape) {
  .site-header { position: static; }
  html { scroll-padding-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
