/*
Theme Name: Neuhoff & Brundiek
Description: Theme für die Kanzlei Neuhoff & Brundiek, Osnabrück. Version 4: neues, responsives Layout. Schriften (Newsreader, Source Sans 3) liegen im Theme, es werden keine externen Dienste geladen.
Version: 4.0
Author: Kanzlei Neuhoff & Brundiek
Text Domain: neuhoff-brundiek
Requires at least: 6.0
Requires PHP: 7.4
*/

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-var.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/sourcesans3-var.woff") format("woff");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #14232f;
  --text: #1f2937;
  --muted: #586377;
  --brand: #007dc3;       /* Logo-Blau: Linien, Rahmen, Akzente */
  --brand-text: #00639c;  /* gleicher Farbton, dunkler: Links und Schaltflächen (Kontrast 6,4:1) */
  --brand-dark: #004a73;  /* Hover, Termin-Banner */
  --tint: #e6f2fa;
  --mist: #f3f8fc;
  --line: #d6e3ee;
  --wrap: 70rem;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--brand-text); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: #fff; color: var(--ink); padding: 0.75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Kopfbereich ---------- */
.topbar { background: var(--ink); color: #dbe4f3; font-size: 0.9375rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.45rem 0; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar-links { display: flex; gap: 1.5rem; margin-left: auto; }
.topbar :focus-visible { outline-color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; }
.brand { display: block; line-height: 0; }
.brand img { width: 170px; height: auto; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav > ul { display: flex; gap: 0.15rem; }
.primary-nav li { position: relative; }
.primary-nav a {
  display: block;
  padding: 0.7rem 0.95rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover, .primary-nav li:focus-within > a { color: var(--brand-text); border-bottom-color: var(--brand); }
.primary-nav .current_page_item > a, .primary-nav .current_page_ancestor > a,
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: var(--brand-text); border-bottom-color: var(--brand); }

.primary-nav ul ul {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 17rem;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(20, 33, 58, 0.14);
  z-index: 60;
}
.primary-nav ul ul:has(> li:nth-child(7)) { min-width: 38rem; column-count: 2; column-gap: 0.5rem; }
.primary-nav li:hover > ul, .primary-nav li:focus-within > ul { display: block; }
.primary-nav ul ul li { break-inside: avoid; }
.primary-nav ul ul a { font-weight: 400; padding: 0.5rem 0.8rem; border-bottom: 0; border-radius: 2px; }
.primary-nav ul ul a:hover, .primary-nav ul ul li:focus-within > a { background: var(--tint); color: var(--brand-dark); }
.primary-nav ul ul .current_page_item > a, .primary-nav ul ul .current-menu-item > a { font-weight: 600; }

.nav-toggle { display: none; align-items: center; gap: 0.6rem; background: transparent; border: 1px solid var(--line); border-radius: 3px;
  padding: 0.55rem 0.9rem; font: 600 1rem var(--sans); color: var(--ink); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 1.1rem; height: 2px; background: currentColor; content: ""; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

/* ---------- Seitenkopf und Inhalt ---------- */
.page-head { background: var(--mist); border-bottom: 1px solid var(--line); padding: 1.6rem 0 2rem; }
.crumbs { font-size: 0.9375rem; color: var(--muted); margin: 0 0 0.9rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-text); }
.crumbs span[aria-hidden] { margin: 0 0.45rem; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; }
.page-head h1 { margin: 0; font-size: clamp(2rem, 4.4vw, 3rem); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: 4rem; padding: 3rem 0 4.5rem; align-items: start; }
.layout--single { grid-template-columns: minmax(0, 46rem); }
.entry { max-width: 46rem; }
.entry > :first-child { margin-top: 0; }
.entry p { margin: 0 0 1.1rem; }
.entry h2 { font-size: 1.75rem; margin: 2.4rem 0 0.8rem; }
.entry h3 { font-size: 1.35rem; margin: 1.8rem 0 0.6rem; }
.entry ul, .entry ol { padding-left: 1.3rem; margin: 0 0 1.3rem; }
.entry li { margin: 0.35rem 0; padding-left: 0.2rem; }
.entry li::marker { color: var(--brand); }
.entry blockquote { margin: 1.4rem 0; padding: 0.2rem 0 0.2rem 1.25rem; border-left: 3px solid var(--brand); }
.entry blockquote p { margin: 0 0 0.6rem; }
.entry address { font-style: normal; margin: 0 0 1.2rem; }
.entry img { border-radius: 2px; }
.entry > .portrait:first-child { float: right; margin: 0 0 1.2rem 2rem; max-width: 40%; }
.entry > .portrait:first-child + * { margin-top: 0; }
.entry p[style*="text-align:center"] { text-align: center; }
.entry::after { content: ""; display: table; clear: both; }

.rechtsanwalt { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1.75rem; align-items: start; padding: 0 0 2rem; margin: 0 0 2rem; border-bottom: 1px solid var(--line); }
.rechtsanwalt:last-of-type { border-bottom: 0; }
.rechtsanwalt .portrait { grid-row: 1 / span 3; margin: 0; }
.rechtsanwalt h3 { margin: 0.2rem 0 0.4rem; }
.rechtsanwalt p:not(.portrait) { margin: 0; }
.entry br.clear { display: none; }

.side { position: sticky; top: 6.5rem; border-left: 1px solid var(--line); padding-left: 1.5rem; }
.side-title { margin: 0 0 0.6rem; font-family: var(--serif); font-size: 1.25rem; }
.side-title a { color: var(--ink); text-decoration: none; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li a { display: block; padding: 0.3rem 0; color: var(--text); text-decoration: none; line-height: 1.35; }
.side li a:hover { color: var(--brand-text); }
.side .current_page_item > a { color: var(--brand-text); font-weight: 600; }

.index { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr; column-gap: 4rem; }
.index li { border-bottom: 1px solid var(--line); }
.index li:first-child { border-top: 1px solid var(--line); }
.index a { display: block; padding: 0.95rem 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; color: var(--ink); text-decoration: none; transition: padding-left 0.15s ease, color 0.15s ease; }
.index a:hover { color: var(--brand-text); padding-left: 0.6rem; }
.entry .index { margin-top: 2.5rem; }
@media (min-width: 46rem) {
  .index { grid-template-columns: 1fr 1fr; }
  .index li:nth-child(2) { border-top: 1px solid var(--line); }
}

.map-placeholder { border: 1px solid var(--line); background: var(--mist); padding: 1.5rem; text-align: center; border-radius: 3px; margin: 1.5rem 0 0; }
.map-placeholder p { margin: 0 0 0.8rem; }
.map-placeholder .note { font-size: 0.9375rem; color: var(--muted); margin: 0; }
.map-placeholder button { font: 600 1rem var(--sans); color: #fff; background: var(--brand-text); border: 0; border-radius: 3px; padding: 0.75rem 1.3rem; cursor: pointer; }
.map-placeholder button:hover { background: var(--brand-dark); }
.map-placeholder iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- Startseite ---------- */
.hero { position: relative; isolation: isolate; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); background: #fff var(--hero-bg) center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.5) 55%, rgba(255, 255, 255, 0.15) 100%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin: 0 0 1.5rem; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -0.02em; }
.hero .lead { margin: 0 0 2rem; font-size: 1.25rem; line-height: 1.55; max-width: 38rem; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-visual { margin: 0; }
.hero-visual img { display: block; width: 100%; height: auto; border: 6px solid #fff; border-radius: 3px; box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px rgba(20, 35, 47, 0.45); }
.hero-bar { background: var(--mist); border-block: 1px solid var(--line); }
.hero-bar .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hero-bar__item { padding: 1.1rem 1.5rem 1.2rem; border-left: 3px solid var(--brand); }
.hero-bar h2 { margin: 0 0 0.35rem; font: 600 1rem/1.3 var(--sans); color: var(--brand-text); }
.hero-bar p { margin: 0; font-size: 1rem; color: var(--muted); line-height: 1.45; }
.hero-bar__zweite { margin-top: 0.5rem !important; }
.hero-bar strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--ink); line-height: 1.25; margin-bottom: 0.15rem; }
.hero-bar a { color: inherit; text-decoration: none; }
.hero-bar a:hover { color: var(--brand-text); text-decoration: underline; }

.btn { display: inline-block; padding: 0.8rem 1.5rem; border: 2px solid var(--brand-text); border-radius: 3px; background: var(--brand-text); color: #fff; font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--brand-text); }
.btn--ghost:hover { background: var(--tint); color: var(--brand-dark); }
.btn--light { background: #fff; border-color: #fff; color: var(--brand-dark); }
.btn--light:hover { background: var(--tint); border-color: var(--tint); color: var(--brand-dark); }

.band { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.band--mist { background: var(--mist); border-block: 1px solid var(--line); }
.band h2 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.band-more { margin: 1.6rem 0 0; }

.anwaelte { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-top: 2rem; }
.anwalt { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; }
.anwalt .foto { margin: 0; }
.anwalt img { display: block; width: 220px; border-radius: 2px; }
.anwalt h3 { margin: 0 0 0.5rem; font-size: 1.6rem; }
.anwalt p { margin: 0 0 0.8rem; color: var(--text); }
.home-people h2 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
@media (min-width: 62rem) { .anwaelte { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.cta { background: var(--brand-dark); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 2rem; align-items: center; }
.cta h2 { margin: 0 0 0.5rem; color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.cta p { margin: 0; max-width: 36rem; color: #e3ebf8; }
.cta-phone { display: block; margin-bottom: 0.8rem; color: #fff; font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); text-decoration: none; line-height: 1.1; }
.cta-phone:hover { color: #fff; text-decoration: underline; }
.cta :focus-visible { outline-color: #fff; }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--ink); color: #d3dcec; padding: 3rem 0 1.5rem; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.7fr 1.1fr 1fr; gap: 2.5rem; }
.footer-areas ul { columns: 2; column-gap: 1.5rem; }
.footer-areas li { break-inside: avoid; }
.footer-grid h2 { margin: 0 0 0.7rem; color: #fff; font-size: 1.2rem; }
.footer-grid p, .footer-grid address { margin: 0; font-style: normal; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0 0 0.35rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.9375rem; color: #b9c5db; }

/* ---------- Tablet und Handy ---------- */
@media (max-width: 62rem) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .side { position: static; border-left: 0; border-top: 1px solid var(--line); padding: 1.5rem 0 0; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero::before { background: rgba(255, 255, 255, 0.6); }
  .hero-bar .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-bar__item { padding: 0.9rem 0 0.9rem 1.25rem; }
  .cta .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 56rem) {
  .topbar-addr { display: none; }
  .topbar-links { margin-left: 0; width: 100%; justify-content: space-between; }
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 7rem); overflow-y: auto; box-shadow: 0 14px 24px rgba(20, 33, 58, 0.12); }
  .nav-open .primary-nav { display: block; }
  .primary-nav > ul { display: block; padding: 0.5rem 1.25rem 1rem; }
  .primary-nav li { border-bottom: 1px solid var(--line); }
  .primary-nav li:last-child { border-bottom: 0; }
  .primary-nav a { padding: 0.85rem 0; border-bottom: 0; }
  .primary-nav ul ul { display: block; position: static; min-width: 0; padding: 0 0 0.6rem 1rem; border: 0; box-shadow: none; column-count: 1; }
  .primary-nav ul ul:has(> li:nth-child(7)) { min-width: 0; column-count: 1; }
  .primary-nav ul ul a { padding: 0.6rem 0; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .primary-nav { display: block; position: static; max-height: none; box-shadow: none; }
}
@media (max-width: 40rem) {
  body { font-size: 1.03rem; }
  .rechtsanwalt, .anwalt { grid-template-columns: minmax(0, 1fr); }
  .rechtsanwalt .portrait { grid-row: auto; }
  .anwalt img { width: 100%; max-width: 300px; }
  .entry > .portrait:first-child { float: none; margin: 0 0 1.2rem; max-width: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .footer-bottom { flex-direction: column; }
  .brand img { width: 140px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.screen-reader-text { position: absolute; left: -9999px; }

/* Lange Wörter, URLs und E-Mail-Adressen dürfen umbrechen (schmale Handys) */
.entry, .entry a, .page-body, .site-footer { overflow-wrap: anywhere; }

@media (min-width: 40.0625rem) and (max-width: 1050px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .footer-areas ul { columns: 1; } }

/* Hinweiskasten ("Gut zu wissen") und Überschriften in den Anwaltskarten */
.entry .hinweis { margin: 2.2rem 0; padding: 1.2rem 1.4rem 0.6rem; background: var(--mist); border-left: 4px solid var(--brand); }
.entry .hinweis h2 { margin: 0 0 0.6rem; font-size: 1.35rem; }
.entry .hinweis .small { font-size: 0.9375rem; color: var(--muted); }
.rechtsanwalt h2 { margin: 0.2rem 0 0.4rem; font-size: 1.5rem; }
.rechtsanwalt .profil-link { grid-column: 2; margin-top: 1.3rem; }
.rechtsanwalt .profil-link .btn { padding: 0.6rem 1.2rem; text-decoration: none; }
@media (max-width: 40rem) { .rechtsanwalt .profil-link { grid-column: auto; } }

/* Kontaktseite */
.seite-kontakt .layout--single { grid-template-columns: minmax(0, 1fr); }
.seite-kontakt .entry { max-width: none; }
.kontakt-intro { font-size: 1.25rem; max-width: 40rem; margin-bottom: 2.2rem !important; }
.kontakt-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: start; }
.kontakt h2 { margin-top: 0; }
.kontakt-form { background: var(--mist); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 3px; padding: clamp(1.4rem, 3.5vw, 2.4rem); }
.kontakt-form > h2 { font-size: 1.9rem; }
.kontakt-card { background: var(--ink); color: #dbe6ee; border-radius: 3px; padding: clamp(1.4rem, 3vw, 2.2rem); position: sticky; top: 6.5rem; }
.kontakt-card h2 { color: #fff; font-size: 1.5rem; margin-bottom: 0.9rem; }
.kontakt-card h3 { color: #fff; font-size: 1.1rem; margin: 1.6rem 0 0.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.kontakt-card a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.5); }
.kontakt-card a:hover { color: #fff; text-decoration-color: #fff; }
.kontakt-card address { margin: 0 0 1rem; line-height: 1.6; }
.kontakt-card .org { color: #fff; font-weight: 600; }
.kontakt-tel { margin: 0 0 1.1rem !important; font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.4rem); white-space: nowrap; line-height: 1.1; }
.kontakt-tel a { text-decoration: none; border-bottom: 3px solid var(--brand); padding-bottom: 0.1rem; }
.kontakt-tel a:hover { border-bottom-color: #fff; }
.kontakt-zeilen { margin: 0 0 0.6rem !important; font-size: 1rem; }
.kontakt-zeiten { margin: 0 0 0.9rem; }
.kontakt-zeiten dt { font-weight: 600; color: #fff; }
.kontakt-zeiten dd { margin: 0 0 0.6rem; }
.kontakt-hinweis { margin: 1.4rem 0 0 !important; font-size: 0.9375rem; color: var(--muted); }
.kontakt-anfahrt { margin-top: clamp(2.5rem, 6vw, 4rem); }
.kontakt-anfahrt > p { max-width: 42rem; }

/* Contact Form 7 */
.wpcf7 form { margin: 0; }
.wpcf7 form > p, .wpcf7 .nb-zeile > p { margin: 0 0 1.15rem; }
.wpcf7 .nb-zeile { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.2rem; }
.wpcf7 label { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.wpcf7 label br { display: none; }
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 0.35rem; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 select, .wpcf7 textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff;
  border: 1px solid #8ea3b5; border-radius: 3px; padding: 0.75rem 0.9rem; min-height: 3.1rem; appearance: none; -webkit-appearance: none;
}
.wpcf7 select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.15rem) 1.35rem, calc(100% - 0.8rem) 1.35rem; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.4rem; }
.wpcf7 textarea { min-height: 11rem; resize: vertical; }
.wpcf7 input:hover, .wpcf7 select:hover, .wpcf7 textarea:hover { border-color: var(--brand-text); }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--brand-text); box-shadow: 0 0 0 3px var(--brand); }
.wpcf7 .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-acceptance label { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.7rem; align-items: start; font-weight: 400; font-size: 0.9375rem; color: var(--text); }
.wpcf7 .wpcf7-acceptance input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--brand-text); }
.wpcf7 input[type=submit] { font: 600 1.0625rem var(--sans); color: #fff; background: var(--brand-text); border: 0; border-radius: 3px; padding: 0.9rem 2rem; min-height: 3.1rem; cursor: pointer; }
.wpcf7 input[type=submit]:hover { background: var(--brand-dark); }
.wpcf7 input[type=submit]:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.wpcf7 .wpcf7-spinner { margin: 0 0 0 0.8rem; vertical-align: middle; }
.wpcf7-not-valid-tip { color: #a31515; font-size: 0.9rem; font-weight: 600; margin-top: 0.3rem; display: block; }
.wpcf7 .wpcf7-not-valid { border-color: #a31515 !important; }
.wpcf7 form .wpcf7-response-output:empty { display: none; }
.wpcf7 form .wpcf7-response-output { margin: 1.2rem 0 0; padding: 0.8rem 1rem; background: #fff; border: 2px solid var(--brand-text); border-radius: 3px; font-size: 0.9375rem; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #a31515; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #1b6b3a; }

@media (max-width: 52rem) {
  .kontakt-grid { grid-template-columns: minmax(0, 1fr); }
  .kontakt-card { position: static; order: -1; }
}
@media (max-width: 36rem) {
  .wpcf7 .nb-zeile { grid-template-columns: 1fr; }
  .wpcf7 input[type=submit] { width: 100%; }
}

/* Seiten mit Kontaktkarte, Textseiten, Seitenbild */
.seite-impressum .page-head .wrap, .seite-datenschutz .page-head .wrap, .layout--text.wrap { width: min(100% - 2.5rem, 46rem); }
.layout--text { grid-template-columns: minmax(0, 1fr); }
.kontakt-card--seite { padding: 1.5rem; }
.kontakt-card--seite .kontakt-tel { font-size: 1.9rem; }
.kontakt-card--seite h3 { margin-top: 1.2rem; padding-top: 1.1rem; }
.kontakt-card__button { margin: 1.3rem 0 0 !important; }
.kontakt-card .btn--hell, .btn--hell { background: #fff; color: var(--ink); border-color: #fff; text-decoration: none; }
.kontakt-card .btn--hell:hover { background: var(--tint); color: var(--ink); border-color: var(--tint); }
.seitenbild { margin: 0 0 2rem; }
.seitenbild img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 30%; border-radius: 3px; }
@media (max-width: 52rem) { .kontakt-card--seite { position: static; } }
.kontakt-card address { font-style: normal; }

/* Formulare: Einleitung auf Unterseiten und Download-Karten */
.entry .lead { margin: 0 0 2rem; font-size: 1.25rem; line-height: 1.55; }
.download-list { display: grid; gap: 1rem; margin: 1.3rem 0 2.2rem; }
.download-item { background: var(--mist); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 3px; padding: 1.1rem 1.4rem 1.2rem; }
.download-item h3 { margin: 0 0 0.35rem; font-size: 1.3rem; }
.download-item p { margin: 0; color: var(--text); }
.download-item .download-action { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.download-item .btn { color: #fff; text-decoration: none; }
.download-item .btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.download-meta { font-size: 0.9375rem; color: var(--muted); }
