/* ============================================================
   Podium Motorsport – Meitingen · light theme
   ============================================================ */

/* ---------- brand typeface (Designer) ---------- */
@font-face {
  font-family: 'Designer';
  src: url('../fonts/Designer-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Designer';
  src: url('../fonts/Designer-Normal.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Designer';
  src: url('../fonts/Designer-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Designer';
  src: url('../fonts/Designer-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- self-hosted body/display faces (DSGVO: no Google Fonts request) ---------- */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-400.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/inter-500.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/inter-600.woff2') format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/inter-700.woff2') format('woff2')}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/spacegrotesk-500.woff2') format('woff2')}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/spacegrotesk-600.woff2') format('woff2')}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/spacegrotesk-700.woff2') format('woff2')}

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

:root {
  --bg: #ffffff;
  --bg-soft: #f4f6f7;
  --ink: #0e1620;
  --muted: #5c6772;
  --line: #e6eaee;
  --accent: #00735f;
  /* --accent: #1e4d2b; */
  --accent-d: #00735f;
  /* --accent-d: #1e4d2b; */
  --accent-ink: #04241f;
  --btn: #00735f; /* primary button background + shadow colour */
  --btn-d: #005f4e; /* primary button background on hover */
  --nav-h: 74px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(14, 22, 32, 0.08);
  --shadow-lg: 0 24px 60px rgba(14, 22, 32, 0.14);
  --t: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family:
    'Inter',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul {
  list-style: none;
}

h1,
h2,
h3,
.brand {
  font-family: 'Designer', 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.08;
  /* long German compound words must never overflow the viewport (mobile) */
  overflow-wrap: break-word;
}
h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
p {
  color: var(--muted);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
section {
  padding: 6rem 0;
}
.bg-soft {
  background: var(--bg-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-d);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.accent {
  color: var(--accent-d);
}

.lead {
  font-size: 1.12rem;
  max-width: 56ch;
}
.section-head {
  max-width: 640px;
  margin-bottom: 3.25rem;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head p {
  margin-top: 1rem;
  font-size: 1.05rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--t);
}
.btn-primary {
  background: var(--btn);
  color: #fff;
}
.btn-primary:hover {
  background: var(--btn-d);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 115, 95, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--btn);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--btn);
  color: var(--btn);
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}
.arrow {
  transition: transform var(--t);
}
.btn:hover .arrow {
  transform: translateX(3px);
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.brand {
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.brand-logo {
  height: 38px;
  width: auto;
}
.brand .dot {
  color: var(--accent);
}
.brand small {
  display: block;
  font-family: 'Inter';
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-links a {
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: var(--t);
}
.nav-links a:hover {
  color: var(--ink);
  background: var(--bg-soft);
}
.nav-links a.active {
  color: var(--accent-d);
}
.nav-links .btn {
  margin-left: 0.4rem;
  color: #fff;
}
.nav-links .btn:hover {
  color: #fff;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--t);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 6rem;
}
.hero-grid {
  display: grid;
  /* text column is deliberately the narrower one so the photo reads larger */
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.25rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.6rem;
}
.hero-badge .pin {
  color: var(--accent-d);
}
.hero h1 {
  /* smaller than the global h1 clamp so the hero photo can take more room */
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  margin-bottom: 1.4rem;
}
.hero h1 .accent {
  color: var(--accent-d);
}
.hero p {
  font-size: 1.15rem;
  max-width: 46ch;
  margin-bottom: 2.2rem;
}
.hero-ctas {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.hero-media {
  position: relative;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-lg);
}
.hero-media .float {
  position: absolute;
  left: -1.5rem;
  bottom: 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 0.85rem;
  align-items: center;
}
.hero-media .float .num {
  font-family: 'Designer', 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent-d);
  line-height: 1;
}
.hero-media .float .lbl {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.3;
}
.hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(0, 115, 95, 0.16), transparent 68%);
  z-index: -1;
  pointer-events: none;
}

/* ---------- trust row ---------- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.trust .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
}
.trust-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.trust-item .ic {
  font-size: 1.5rem;
  line-height: 1;
}
.trust-item h4 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.trust-item p {
  font-size: 0.85rem;
}

/* ---------- service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.85rem;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card .ic {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(0, 115, 95, 0.12);
  margin-bottom: 1.25rem;
}
.card h3 {
  margin-bottom: 0.6rem;
}
.card p {
  font-size: 0.92rem;
}
.card ul {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card ul li {
  font-size: 0.88rem;
  color: var(--ink);
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.card ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ---------- services closing note (homepage) ---------- */
.services-note {
  max-width: 760px;
  margin: 3.5rem auto 0;
  text-align: center;
}
.services-note p {
  font-size: 1rem;
}
.services-note p + p {
  margin-top: 1.1rem;
}
.services-tagline {
  margin-top: 1.75rem !important;
  font-family: 'Designer', 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- leistungen: tiles + detail dialog ---------- */
/* two tiles per row, natural height (no forced stretch → no empty gaps) */
.lst-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.lst-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  cursor: pointer;
  transition: var(--t);
}
.lst-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.lst-tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.lst-head {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}
.lst-ic {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(0, 115, 95, 0.12);
}
.lst-titles {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.lst-title {
  font-family: 'Designer', 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
}
/* clamp teaser to 2 lines so every tile lines up */
.lst-teaser {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lst-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-d);
  font-weight: 700;
}
.lst-topics {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.4rem;
}
.lst-topics li {
  font-size: 0.88rem;
  color: var(--ink);
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}
.lst-topics li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
/* odd number of topics → last one spans both columns, no empty cell on the right */
.lst-topics li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.lst-foot {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-d);
}
.lst-foot .chev {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform var(--t);
}
.lst-tile:hover .lst-foot .chev {
  transform: translateX(2px) rotate(-45deg);
}

/* detail dialog – centered in the foreground */
.lst-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 12, 16, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}
.lst-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.lst-modal {
  background: #fff;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-lg);
  width: min(760px, 100%);
  max-height: 88vh;
  overflow: auto;
  position: relative;
  transform: translateY(12px) scale(0.98);
  transition: transform var(--t);
}
.lst-backdrop.open .lst-modal {
  transform: none;
}
.lst-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
}
.lst-close:hover {
  color: var(--ink);
  border-color: var(--accent);
  transform: rotate(90deg);
}
/* photo on top; hidden entirely until a service has an image */
.lst-media {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  display: block;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.lst-media[hidden] {
  display: none;
}
.lst-modal-body {
  padding: 2.5rem 2.4rem;
}
.lst-modal-body .lst-ic {
  margin-bottom: 1.1rem;
}
.lst-modal-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.lst-modal-teaser {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 1.4rem;
}
.lst-modal-body #lstText p {
  font-size: 0.94rem;
}
.lst-modal-body #lstText p + p {
  margin-top: 0.85rem;
}
.lst-modal-topics {
  border-top: 1px solid var(--line);
  margin-top: 1.6rem;
  padding-top: 1.4rem;
}

/* ---------- split / about ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.split .stack {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.split .stack p {
  font-size: 1.02rem;
}
.mini-facts {
  display: flex;
  gap: 2.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.mini-facts .n {
  font-family: 'Designer', 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
}
.mini-facts .l {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.gallery a {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  display: block;
  background: var(--bg-soft);
}
.gallery a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery a:hover img {
  transform: scale(1.06);
}
.gallery a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.18), transparent 45%);
  opacity: 0;
  transition: var(--t);
}
.gallery a:hover::after {
  opacity: 1;
}
.gallery .tall {
  grid-row: span 2;
}
.gallery .wide {
  grid-column: span 2;
}
.gallery .big {
  grid-column: span 2;
  grid-row: span 2;
}

/* lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 12, 16, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lb.open {
  display: flex;
}
.lb img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lb-close {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- cta band ---------- */
.cta-band {
  background: var(--ink);
  border-radius: calc(var(--radius) + 8px);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  color: #fff;
}
.cta-band p {
  color: #aeb8c2;
  margin: 1rem auto 2rem;
  max-width: 48ch;
}
.cta-band::before {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(0, 115, 95, 0.25), transparent 65%);
}
.cta-band > * {
  position: relative;
}

/* ---------- page header ---------- */
.page-head {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  hyphens: auto; /* nicely hyphenate long titles (html lang="de") instead of overflowing */
}
.page-head p {
  margin-top: 0.8rem;
  font-size: 1.08rem;
  max-width: 56ch;
}

/* ---------- legal pages (impressum / datenschutz) ---------- */
.legal {
  max-width: 820px;
}
.legal h2 {
  font-size: 1.35rem;
  margin-top: 2.75rem;
  margin-bottom: 0.7rem;
}
.legal h2:first-child {
  margin-top: 0;
}
.legal h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}
.legal p {
  font-size: 0.96rem;
  margin-bottom: 0.9rem;
  max-width: 75ch;
}
.legal address {
  font-style: normal;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 0.9rem;
}
.legal a {
  color: var(--accent-d);
  word-break: break-word;
}
.legal a:hover {
  text-decoration: underline;
}
.legal ul {
  list-style: disc;
  padding-left: 1.3rem;
  margin: 0 0 1.1rem;
  color: var(--muted);
}
.legal ul li {
  font-size: 0.96rem;
  margin-bottom: 0.35rem;
}
.legal .ph {
  color: var(--accent-d);
  background: rgba(0, 115, 95, 0.1);
  border-radius: 4px;
  padding: 0.05rem 0.35rem;
  font-size: 0.9em;
}
.legal-stand {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* footer legal links */
.footer-bottom a {
  color: var(--muted);
  transition: var(--t);
}
.footer-bottom a:hover {
  color: var(--accent-d);
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-item .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 115, 95, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex: none;
}
.contact-item h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.contact-item p {
  color: var(--ink);
  font-size: 0.98rem;
}
.contact-item a {
  color: var(--accent-d);
}
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  transition: var(--t);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}
/* Honeypot: für Besucher unsichtbar, für Bots im DOM sichtbar (Spamschutz).
   Bewusst nicht display:none – manche Bots ignorieren solche Felder. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.8rem;
  text-align: center;
}
.form-ok {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  text-align: center;
  background: rgba(0, 115, 95, 0.12);
  border: 1px solid rgba(0, 115, 95, 0.35);
  color: var(--accent-ink);
  font-size: 0.9rem;
}
.map {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius);
  filter: grayscale(0.15);
}

/* ---------- footer ---------- */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 1.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.footer-logo {
  height: 44px;
  width: auto;
}
.footer-brand p {
  font-size: 0.9rem;
  margin-top: 0.9rem;
  max-width: 34ch;
}
.footer h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer ul a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: var(--t);
}
.footer ul a:hover {
  color: var(--accent-d);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted);
  padding-top: 1.5rem;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-media {
    order: -1;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .trust .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery .wide {
    grid-column: span 1;
  }
  .gallery .big {
    grid-column: span 2;
    grid-row: span 1;
  }
}
@media (max-width: 640px) {
  section {
    padding: 4rem 0;
  }
  .page-head h1 {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    width: 100%;
    padding: 0.8rem 1rem;
  }
  .nav-links .btn {
    margin-left: 0;
    justify-content: center;
  }
  .nav-toggle {
    display: flex;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .cta-band {
    padding: 2.5rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .gallery .tall {
    grid-row: span 1;
  }
  .gallery .big {
    grid-column: span 1;
    grid-row: span 1;
  }
  .lst-grid {
    grid-template-columns: 1fr;
  }
  .lst-topics {
    grid-template-columns: 1fr;
  }
  .lst-tile {
    padding: 1.5rem 1.35rem;
  }
  .lst-head {
    gap: 0.9rem;
  }
  .lst-ic {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
  /* dialog becomes a full-screen sheet on phones */
  .lst-backdrop {
    padding: 0;
  }
  .lst-modal {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }
  .lst-media {
    aspect-ratio: 16/9;
  }
  .lst-modal-body {
    padding: 1.75rem 1.35rem;
  }
}
