/*
Theme Name: Rohrberg & Theile
Author: Rohrberg & Theile GbR
Description: Schlankes Theme für rohrberg-theile.de, gebaut nach dem Relaunch-Entwurf. Inhalte bleiben mit WPBakery bearbeitbar.
Version: 1.0.7
Requires PHP: 8.1
Text Domain: rohrberg-theile
*/
/* Layout: dunkler Punkt-Hero (Corporate Design) → helle, ruhige Inhaltsbänder mit Markenblau als einzigem Akzent; Punktmuster kehrt im Footer wieder.
   Bewusst nur helles Thema: der Prototyp zeigt die echte Website, nicht eine Dark-Mode-Variante. */
:root {
  color-scheme: light;
  --navy-deep: #13214a;
  --navy: #1c2f66;
  --brand: #325196;          /* Markenblau der bestehenden Seite */
  --brand-soft: #e8edf7;
  --dot: #7d9be0;
  --ink: #0d1317;
  --ink-soft: #46505c;
  --line: #d9dee8;
  --paper: #ffffff;
  --paper-2: #f4f6fa;
  --note-bg: #fff6d6;
  --note-ink: #5a4500;
  --note-line: #e7c862;

  --f-display: "Baskervville", "Baskerville Old Face", Baskerville, Georgia, serif;
  --f-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem;
  --maxw: 72rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 1rem; line-height: 1.6;
  padding-bottom: 4.5rem; /* Platz für die mobile Anfrageleiste */
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
h1, h2, h3 { text-wrap: balance; line-height: 1.2; margin: 0; }
p { margin: 0; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--dot); outline-offset: 2px; border-radius: 2px; }

.wrap {
  max-width: var(--maxw); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
@media (min-width: 768px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.75rem); letter-spacing: -.01em; }
.lead { font-size: 1.125rem; color: var(--ink-soft); max-width: 62ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px; padding: 0 var(--s5); border-radius: 4px;
  font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--brand-soft); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(19,33,74,.82); }
.btn-ghost:hover { border-color: #fff; background: var(--navy); }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--navy); }
.btn-outline { color: var(--brand); border-color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand-soft); }

/* Planungsnotizen */
.note {
  display: flex; gap: var(--s3); align-items: flex-start;
  background: var(--note-bg); color: var(--note-ink); border: 1px dashed var(--note-line);
  font-size: .85rem; line-height: 1.5; padding: var(--s3) var(--s4); border-radius: 4px; max-width: 70ch;
  overflow-wrap: anywhere;
}
@media (max-width: 599px) { .note { flex-direction: column; gap: var(--s1); } }
.note b { font-weight: 700; white-space: nowrap; }
body.hide-notes .note, body.hide-notes .ph { display: none; }
.ph { background: var(--note-bg); color: var(--note-ink); font-size: .85em; padding: 0 .3em; border-radius: 2px; border: 1px dashed var(--note-line); }
.notes-toggle {
  position: fixed; z-index: 40;
  right: calc(12px + env(safe-area-inset-right, 0px)); top: calc(72px + env(safe-area-inset-top, 0px));
  font: 600 .8rem/1 var(--f-body); padding: .6rem .8rem; border-radius: 99px; cursor: pointer;
  background: var(--note-bg); color: var(--note-ink); border: 1px solid var(--note-line); box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
@media (max-width: 1023px) { .notes-toggle { top: auto; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* Kopfzeile */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--navy-deep); }
.topbar { background: var(--navy-deep); color: #c9d4ee; font-size: .8rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); padding-block: var(--s2); }
.topbar span { white-space: nowrap; }
@media (max-width: 599px) { .topbar span:last-child { display: none; } }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 64px; }
.brand { display: block; color: #fff; text-decoration: none; }
.brand svg { display: block; height: 1.55rem; width: auto; aspect-ratio: 1524 / 184; }
.nav-toggle { background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; min-width: 48px; min-height: 44px; border-radius: 4px; cursor: pointer; font: 600 .85rem var(--f-body); }
.nav { display: none; }
.nav.open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); padding-block: var(--s2) var(--s4); }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: block; color: #fff; text-decoration: none; font-weight: 500; padding: .8rem max(16px, env(safe-area-inset-left, 0px)); }
.nav a:hover { color: var(--dot); }
.nav .nav-cta { display: none; }
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav, .nav.open { display: flex; align-items: center; gap: var(--s5); position: static; padding: 0; border: 0; background: none; }
  .nav ul { display: flex; gap: var(--s4); }
  .nav a { padding: .5rem 0; font-size: .92rem; white-space: nowrap; }
  /* Am Desktop übernimmt der Anfrage-Button den Kontakt-Link */
  .nav .nav-kontakt { display: none; }
  .nav .nav-cta { display: inline-flex; min-height: 42px; padding: 0 var(--s4); color: var(--navy); }
}

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff;
  /* Original-Hintergrund der bisherigen Website (bg-v1.jpg), Verlauf als Fallback */
  background: url(assets/hero-bg.jpg) 50% 50% / cover no-repeat, #1d3d82; }
.hero .wrap { position: relative; padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5.5rem); text-align: center; display: grid; justify-items: center; gap: var(--s5); }
.wordmark { display: block; width: min(100%, 44rem); color: #fff; filter: drop-shadow(0 0 14px rgba(13,24,60,.85)); }
.wordmark svg { display: block; width: 100%; height: auto; aspect-ratio: 1524 / 316; }
.wordmark svg, .brand svg { fill: currentColor; }
/* Einflug wie auf der bisherigen Seite: Rohrberg, &, Theile, Strich, Claim nacheinander */
.wordmark .lg { transform-box: fill-box; animation: lg-in .9s cubic-bezier(.2,.7,.2,1) both; }
.wordmark .lg-1 { --from: translateX(-60px); animation-delay: .15s; }
.wordmark .lg-2 { --from: translateY(-40px); animation-delay: .55s; }
.wordmark .lg-3 { --from: translateX(60px); animation-delay: .95s; }
.wordmark .lg-r { --from: scaleX(0); transform-origin: 50% 50%; animation-delay: 1.4s; }
.wordmark .lg-c { --from: translateY(30px); animation-delay: 1.8s; }
@keyframes lg-in { from { opacity: 0; transform: var(--from); } to { opacity: 1; transform: none; } }
.hero .wrap > :not(.wordmark) { animation: fade-in .8s ease-out 2.4s both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; left: 50%; bottom: .75rem; width: 2.75rem; height: 2.75rem; margin-left: -1.375rem;
  display: grid; place-items: center; color: #fff; opacity: .85; border-radius: 50%;
  animation: fade-in .8s ease-out 2.8s both; }
.scroll-cue svg { width: 1.9rem; height: 1.9rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  animation: cue-bob 1.8s ease-in-out 3.6s infinite; }
.scroll-cue:hover, .scroll-cue:focus-visible { opacity: 1; }
@keyframes cue-bob { 0%, 100% { transform: none; } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  .wordmark .lg, .hero .wrap > *, .scroll-cue, .scroll-cue svg { animation: none; }
}
.hero h1 { text-shadow: 0 0 12px rgba(13,24,60,.9); }
.hero h1 { font-family: var(--f-body); font-weight: 500; font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); max-width: 40ch; color: #dfe6f7; margin-top: var(--s4); }
.hero-ctas { display: grid; gap: var(--s3); width: 100%; max-width: 26rem; }
@media (min-width: 560px) { .hero-ctas { grid-template-columns: 1fr 1fr; max-width: 34rem; } }
.hero .note { text-align: left; }

/* Positionierung */
section { padding-block: clamp(3rem, 7vw, 5.5rem); }
/* Eine Lesespalte: Überschrift über dem Text */
.position .wrap { display: grid; gap: var(--s5); max-width: 46rem; }
.position-head { display: grid; gap: var(--s3); }
.position-text { display: grid; gap: var(--s4); min-width: 0; }
.position-text p:not(.lead):not(.note) { color: var(--ink-soft); max-width: 65ch; }
.position-text h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); line-height: 1.25; color: var(--ink); max-width: 42ch; margin-top: var(--s4); }
.position-text .position-close { font-family: var(--f-display); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); line-height: 1.35; color: var(--ink); margin-top: var(--s4); padding-left: var(--s4); border-left: 3px solid var(--brand); }
.position-close span { display: inline-block; margin-top: var(--s2); font-style: italic; color: var(--brand); }
.calc { border: 1px solid var(--line); border-radius: 6px; background: var(--paper-2); padding: var(--s5); display: grid; gap: var(--s4); min-width: 0; }
.calc-label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); font-size: 1rem; }
.frac { display: inline-grid; text-align: center; }
.frac span:first-child { border-bottom: 1.5px solid var(--ink); padding: 0 .4em .15em; }
.frac span:last-child { padding: .15em .4em 0; }
.calc dl { display: grid; grid-template-columns: 1fr auto; gap: var(--s1) var(--s4); margin: 0; font-variant-numeric: tabular-nums; font-size: .95rem; }
.calc dt { color: var(--ink-soft); }
.calc dd { margin: 0; text-align: right; font-weight: 600; }
.calc .result { border-top: 1px solid var(--line); padding-top: var(--s3); display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); }
.calc .result strong { font-family: var(--f-display); font-size: 2.4rem; font-weight: 500; color: var(--brand); font-variant-numeric: tabular-nums; }

/* Leistungen */
.services { background: var(--paper-2); }
.section-head { display: grid; gap: var(--s3); margin-bottom: var(--s6); }
.service-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 720px) { .service-grid { grid-template-columns: 1fr 1fr; } .service.wide { grid-column: 1 / -1; } }
.service { background: var(--paper); padding: var(--s5); display: grid; gap: var(--s3); align-content: start; min-width: 0; }
@media (min-width: 720px) { .service { padding: var(--s6); } }
.service h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.55rem; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.tag { font: 600 .7rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: .35rem .5rem; border-radius: 3px; background: var(--brand-soft); color: var(--brand); }
.tag.later { background: #eef0f3; color: var(--ink-soft); }
.service p { color: var(--ink-soft); }
.service ul { list-style: none; margin: var(--s2) 0 0; padding: 0; border-top: 1px solid var(--line); }
.service li { border-bottom: 1px solid var(--line); }
.service li a { display: flex; justify-content: space-between; gap: var(--s3); padding: .7rem 0; min-height: 44px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 500; }
.service li a::after { content: "→"; color: var(--brand); }
.service li a:hover { color: var(--brand); }

/* Weiche */
.paths-grid { display: grid; gap: var(--s4); }
@media (min-width: 900px) { .paths-grid { grid-template-columns: repeat(3, 1fr); } }
.path { border: 1px solid var(--line); border-top: 4px solid var(--brand); padding: var(--s5); display: grid; gap: var(--s3); grid-template-rows: auto auto 1fr auto; min-width: 0; }
.path.alt { border-top-color: var(--navy-deep); }
.path h3 { font-size: 1.25rem; font-weight: 700; }
.path .who { font-size: .9rem; color: var(--ink-soft); }
.path ul { margin: 0; padding-left: 1.1rem; display: grid; gap: var(--s1); }
.path .btn { width: 100%; margin-top: var(--s3); }

/* FAQ */
.faq { background: var(--paper-2); }
.faq .wrap { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .faq .wrap { grid-template-columns: .8fr 1.2fr; gap: var(--s8); } }
.faq-list { border-top: 1px solid var(--line); min-width: 0; }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s4) 0; font-weight: 600; font-size: 1.05rem; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--f-display); font-size: 1.6rem; line-height: 1; color: var(--brand); }
details[open] summary::after { content: "−"; }
details > div { padding-bottom: var(--s5); color: var(--ink-soft); display: grid; gap: var(--s3); max-width: 62ch; }

/* Über uns */
.about .wrap { display: grid; gap: var(--s6); }
.team { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .team { grid-template-columns: minmax(0, 24rem) 1fr; gap: var(--s7); } }
/* Hochformat-Foto, unten leicht beschnitten, damit es am Handy nicht zu lang wird */
.team-photo { margin: 0; width: 100%; max-width: 24rem; justify-self: center; }
.team-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: 6px; background: #e9e6e1; }
.team-people { display: grid; gap: var(--s5); min-width: 0; }
.team-person { display: grid; gap: var(--s1); padding-bottom: var(--s5); border-bottom: 1px solid var(--line); }
.team-person:last-child { border-bottom: 0; padding-bottom: 0; }
.team-person h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; }
.team-person .role { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.team-person ul { margin: var(--s1) 0 0; padding-left: 1.1rem; color: var(--ink-soft); }

/* Kontakt */
.contact { background: var(--navy); color: #fff; }
.contact .wrap { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .contact .wrap { grid-template-columns: .9fr 1.1fr; gap: var(--s8); } }
.contact .eyebrow { color: var(--dot); }
.contact .lead { color: #c9d4ee; }
.facts { display: grid; gap: var(--s4); margin-top: var(--s5); }
.fact span { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dot); font-weight: 600; }
.fact strong, .fact a { font-size: 1.15rem; font-weight: 500; color: #fff; user-select: all; }
.fact a { text-decoration: none; }
.contact form { background: #fff; color: var(--ink); border-radius: 6px; padding: var(--s5); display: grid; gap: var(--s4); min-width: 0; }
.row2 { display: grid; gap: var(--s4); }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.contact label { display: grid; gap: var(--s1); font-size: .88rem; font-weight: 600; }
.contact input, .contact select, .contact textarea { font: 1rem var(--f-body); color: var(--ink); background: #fff; border: 1px solid #b9c1cf; border-radius: 4px; padding: .7rem .8rem; min-height: 48px; width: 100%; }
.contact textarea { min-height: 7rem; resize: vertical; }
.hint { font-size: .82rem; font-weight: 400; color: var(--ink-soft); }
.privacy { font-size: .85rem; color: var(--ink-soft); background: var(--paper-2); padding: var(--s3); border-radius: 4px; }
.form-msg { font-size: .92rem; font-weight: 600; color: var(--brand); }

/* Footer */
footer { background: var(--navy-deep); color: #9fb0d6; font-size: .88rem; position: relative; overflow: hidden; }
footer canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
footer .wrap { position: relative; display: grid; gap: var(--s4); padding-block: var(--s7); }
footer .brand svg.foot-logo { height: auto; width: min(100%, 15rem); aspect-ratio: 1524 / 316; }
footer nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
footer a { color: #dfe6f7; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* Mobile Anfrageleiste */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: #fff; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2);
  padding: var(--s2) max(12px, env(safe-area-inset-right, 0px)) calc(var(--s2) + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  box-shadow: 0 -4px 16px rgba(13,19,23,.08);
}
.mobile-bar .btn { padding: 0 var(--s3); font-size: .95rem; }
@media (min-width: 1024px) { .mobile-bar { display: none; } }

/* Leistungsseite (Muster) */
.page-hero { position: relative; overflow: hidden; color: #fff; padding: 0;
  background: radial-gradient(ellipse 60% 90% at 85% 50%, #2c4a94 0%, var(--navy) 55%, var(--navy-deep) 100%); }
.page-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.page-hero .wrap { position: relative; padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2.5rem, 6vw, 4rem); display: grid; gap: var(--s4); }
.crumbs { font-size: .85rem; color: #b9c7e8; display: flex; flex-wrap: wrap; gap: var(--s2); }
.crumbs a { color: #dfe6f7; }
.page-hero h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.75rem, 1.2rem + 3.6vw, 3.4rem); max-width: 30ch; }
.page-hero .answer { font-size: 1.125rem; color: #dfe6f7; max-width: 60ch; }
.page-hero .hero-ctas { justify-self: start; }
.hero-aside { color: #dfe6f7; font-size: .95rem; }
.hero-aside a { color: #fff; text-underline-offset: 3px; }

.keyfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--line); gap: 1px; }
@media (min-width: 900px) { .keyfacts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.keyfact { background: var(--paper); padding: var(--s4); display: grid; gap: var(--s1); align-content: start; min-width: 0; }
.keyfact span { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.keyfact strong { font-family: var(--f-display); font-weight: 500; font-size: 1.35rem; line-height: 1.25; }
.keyfacts-sec { padding-block: var(--s6) 0; }

.fev-body .wrap { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.block { display: grid; gap: var(--s4); min-width: 0; }
.block > p { max-width: 65ch; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .95rem; }
th, td { text-align: left; padding: .8rem var(--s4); border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--paper-2); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 700; white-space: nowrap; }
.cls { display: inline-block; font: 600 .78rem/1 var(--f-body); background: var(--brand-soft); color: var(--brand); padding: .3rem .4rem; border-radius: 3px; margin: 0 .2rem .25rem 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; border-left: 2px solid var(--brand-soft); }
.steps li { counter-increment: step; position: relative; padding: 0 0 var(--s5) var(--s6); }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(step); position: absolute; left: -1.05rem; top: -.1rem; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--brand); color: #fff; font: 600 .95rem/2rem var(--f-body); text-align: center; }
.steps h3 { font-size: 1.05rem; margin-bottom: var(--s1); }
.steps p { color: var(--ink-soft); max-width: 60ch; }

.two-col { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: var(--s7); } }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.checklist li { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s3) var(--s4); background: var(--paper-2); border-radius: 4px; }
.checklist li::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; margin-top: .25rem; border: 2px solid var(--brand); border-radius: 3px; }
.callout { border: 1px solid var(--line); border-left: 4px solid var(--navy-deep); padding: var(--s5); display: grid; gap: var(--s3); align-content: start; }
.callout h3 { font-size: 1.2rem; }
.callout p { color: var(--ink-soft); }
.callout .btn { justify-self: start; }
.fev-faq { border-top: 1px solid var(--line); max-width: 52rem; }
.situations { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
@media (min-width: 720px) { .situations { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .situations { grid-template-columns: repeat(3, 1fr); } }
.situations li { display: grid; gap: var(--s2); align-content: start; padding: var(--s4); background: var(--paper-2); border-radius: 4px; min-width: 0; }
.situations strong { font-size: 1.05rem; line-height: 1.4; }
.situations span { justify-self: start; font: 600 .78rem/1.2 var(--f-body); background: var(--brand-soft); color: var(--brand); padding: .35rem .5rem; border-radius: 3px; }
[id] { scroll-margin-top: calc(80px + env(safe-area-inset-top, 0px)); }

/* ---- WordPress-Theme ---- */
.contact .wpcf7 form { margin: 0; }
.contact .wpcf7-form-control-wrap { display: block; }
.contact .wpcf7-list-item { margin: 0; }
.contact .wpcf7-acceptance label { display: flex; gap: var(--s2); align-items: flex-start; font-weight: 400; font-size: .88rem; }
.contact .wpcf7-acceptance input { width: auto; min-height: 0; margin-top: .2rem; }
.contact .wpcf7-not-valid-tip { color: #b42318; font-size: .85rem; font-weight: 500; margin-top: var(--s1); }
.contact .wpcf7-response-output { margin: 0 !important; border-radius: 4px; font-size: .92rem; }
.contact .wpcf7-spinner { margin: 0 0 0 var(--s3); }
.contact input[type=submit] { width: auto; min-height: 48px; cursor: pointer; }
.rt-legacy { max-width: 72ch; }
.rt-legacy h2, .rt-legacy h3 { margin: var(--s5) 0 var(--s3); }
.rt-legacy p, .rt-legacy ul { margin: 0 0 var(--s3); }
/* Alte WPBakery-Zeilen ohne das Unta-Theme: deren Abstände und Hintergründe zurücksetzen */
.rt-legacy .vc_row, .rt-legacy .vc_column-inner, .rt-legacy .wpb_wrapper { padding: 0 !important; margin-top: 0 !important; background: none !important; }
.rt-legacy .vc_row[data-vc-full-width] { left: auto !important; width: auto !important; }
/* WPForms-Kontaktformular im Stil des Entwurfs */
.contact .wpforms-container { background: #fff !important; color: var(--ink); border-radius: 6px !important; padding: var(--s5) !important; margin: 0 !important; }
.contact .wpforms-container .wpforms-form { background: none; padding: 0; }
.contact .wpforms-field { padding: 0 0 var(--s4) !important; }
.contact .wpforms-field-label, .contact .wpforms-field-label-inline { color: var(--ink) !important; font-size: .88rem !important; font-weight: 600 !important; }
.contact .wpforms-field input, .contact .wpforms-field select, .contact .wpforms-field textarea { width: 100% !important; max-width: 100% !important; }
.contact .wpforms-field-description { font-size: .85rem !important; color: var(--ink-soft) !important; }
.contact .wpforms-submit { background: var(--brand) !important; color: #fff !important; border: 0 !important; border-radius: 4px !important; min-height: 48px; padding: 0 var(--s5) !important; font-weight: 600 !important; }
.contact .wpforms-confirmation-container-full { background: var(--paper-2) !important; border: 0 !important; color: var(--ink) !important; }
