/*
Theme Name:   Neidert & Knapp Kanzlei
Theme URI:    https://neidert-knapp.de
Author:       Kanzlei Neidert & Knapp
Author URI:   https://neidert-knapp.de
Description:  Professionelles Theme für Kanzlei Neidert & Knapp, Fulda. Spezialisiert auf Arbeitsrecht.
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  neidert-knapp
Tags:         law, legal, professional, blue, responsive
*/

/* ================================================
   DESIGN TOKENS
   ================================================ */
:root {
  --blau:        #1a3a6b;
  --blau-hell:   #2258a8;
  --blau-mid:    #2d6cb5;
  --blau-light:  #e8f0fb;
  --akzent:      #c8a04a;
  --akzent-hell: #f0d080;
  --grau-hell:   #f6f8fb;
  --grau-mid:    #e2e8f0;
  --grau-dark:   #8a9ab0;
  --text:        #1c2535;
  --text-mid:    #485a72;
  --weiss:       #ffffff;

  --shadow-s:  0 2px 8px rgba(26,58,107,.08);
  --shadow-m:  0 6px 24px rgba(26,58,107,.12);
  --shadow-l:  0 16px 48px rgba(26,58,107,.16);
  --radius-s:  6px;
  --radius-m:  12px;
  --radius-l:  20px;

  --font-serif: 'Cormorant Garamond', 'Palatino Linotype', Georgia, serif;
  --font-sans:  'Outfit', 'Segoe UI', system-ui, sans-serif;

  --max-w: 1160px;
  --header-h: 80px;
}

/* ================================================
   RESET & BASE
   ================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--weiss);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ================================================
   TYPOGRAPHY
   ================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--blau);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-mid); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.wp-block-paragraph { color: var(--text-mid); }

/* ================================================
   LAYOUT UTILITIES
   ================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; }
.section--sm { padding: 60px 0; }
.section--lg { padding: 120px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--akzent);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--akzent);
}

.section-title {
  font-family: var(--font-serif);
  color: var(--blau);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 620px;
  margin-bottom: 48px;
}

.text-center { text-align: center; }
.text-center .section-lead { margin-left: auto; margin-right: auto; }
.text-center .section-label { justify-content: center; }

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: var(--radius-s);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--akzent);
  color: var(--blau);
  border-color: var(--akzent);
}
.btn-primary:hover {
  background: #b8903a;
  border-color: #b8903a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,160,74,.35);
}

.btn-dark {
  background: var(--blau);
  color: var(--weiss);
  border-color: var(--blau);
}
.btn-dark:hover {
  background: var(--blau-hell);
  border-color: var(--blau-hell);
  transform: translateY(-2px);
  box-shadow: var(--shadow-m);
}

.btn-outline {
  background: transparent;
  color: var(--weiss);
  border-color: rgba(255,255,255,.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.9);
}

.btn-outline-dark {
  background: transparent;
  color: var(--blau);
  border-color: var(--blau);
}
.btn-outline-dark:hover {
  background: var(--blau);
  color: var(--weiss);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ================================================
   SITE HEADER
   ================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grau-mid);
  transition: box-shadow .3s;
}
#site-header.scrolled {
  box-shadow: 0 4px 24px rgba(26,58,107,.10);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text .name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blau);
}
.logo-text .tagline {
  font-size: .72rem;
  color: var(--grau-dark);
  letter-spacing: .04em;
  text-transform: uppercase;
}
/* Logo icon smaller on mobile */
@media (max-width: 600px) {
  .logo-icon { width: 34px; height: 34px; }
  .logo-text .name { font-size: .95rem; }
  .logo-text .tagline { display: none; }
  .site-logo { gap: 9px; }
}

/* Nav */
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: var(--radius-s);
  transition: all .2s;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a.current-menu-item { color: var(--blau); background: var(--blau-light); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--blau);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-s);
  transition: background .2s;
}
.header-phone:hover { background: var(--blau-light); }

/* Burger */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blau);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--weiss);
  border-bottom: 1px solid var(--grau-mid);
  padding: 20px 24px 28px;
  box-shadow: var(--shadow-l);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-weight: 600;
  color: var(--text);
  padding: 12px 16px;
  border-radius: var(--radius-s);
  font-size: 1rem;
  border-bottom: 1px solid var(--grau-mid);
}
.mobile-menu a:last-child { border: none; }
.mobile-menu a:hover { background: var(--blau-light); color: var(--blau); }
.mobile-menu .mobile-cta {
  margin-top: 12px;
  background: var(--blau);
  color: var(--weiss);
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-s);
  font-weight: 700;
}

/* ================================================
   MAIN CONTENT OFFSET
   ================================================ */
#page { padding-top: var(--header-h); }

/* ================================================
   HERO (Frontpage)
   ================================================ */
.hero {
  position: relative;
  min-height: calc(92vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(125deg, var(--blau) 0%, #0f2347 40%, #1e3d6e 75%, #2a5298 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,.6) 40px, rgba(255,255,255,.6) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,.6) 40px, rgba(255,255,255,.6) 41px);
}
.hero-glow {
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,160,74,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -100px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44,108,181,.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,160,74,.18);
  border: 1px solid rgba(200,160,74,.4);
  color: var(--akzent-hell);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 40px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-serif);
  color: var(--weiss);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--akzent-hell);
}

.hero-lead {
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
}
.hero-trust-item .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--akzent);
  flex-shrink: 0;
}

/* Hero Right – Karte */
.hero-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-l);
  padding: 36px 32px;
}
.hero-card-title {
  font-family: var(--font-serif);
  color: var(--weiss);
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.hero-card-sub {
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  margin-bottom: 28px;
}
.hero-card-items { display: flex; flex-direction: column; gap: 12px; }
.hero-card-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-s);
  padding: 14px 16px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.hero-card-item:hover {
  background: rgba(255,255,255,.12);
  transform: translateX(4px);
}
.hero-card-item-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(200,160,74,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-card-item-text strong {
  display: block;
  color: var(--weiss);
  font-size: .92rem;
  font-weight: 600;
}
.hero-card-item-text span {
  color: rgba(255,255,255,.55);
  font-size: .78rem;
}
.hero-card-divider {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: 20px 0;
}
.hero-card-contact { display: flex; flex-direction: column; gap: 8px; }
.hero-card-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}
.hero-card-contact a:hover { color: var(--akzent-hell); }

/* ================================================
   URGENCY BAR
   ================================================ */
.urgency-bar {
  background: linear-gradient(90deg, #7c3d0a, #c8600a, #7c3d0a);
  background-size: 200% 100%;
  animation: urgency-shift 4s ease infinite;
  color: var(--weiss);
  padding: 14px 24px;
  text-align: center;
  font-size: .9rem;
  font-weight: 600;
}
@keyframes urgency-shift {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
}
.urgency-bar strong { color: #ffd080; }
.urgency-bar a {
  color: #ffd080;
  text-decoration: underline;
  font-weight: 700;
}

/* ================================================
   STATS BAR
   ================================================ */
.stats-bar {
  background: var(--blau);
  padding: 36px 0;
}
.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  text-align: center;
}
.stat-item {
  flex: 1;
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--akzent-hell);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.stats-divider {
  width: 1px;
  background: rgba(255,255,255,.15);
  align-self: stretch;
}

/* ================================================
   LEISTUNGEN
   ================================================ */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.leistung-card {
  background: var(--weiss);
  border-radius: var(--radius-m);
  padding: 32px 28px;
  box-shadow: var(--shadow-s);
  border: 1px solid var(--grau-mid);
  border-top: 4px solid var(--blau-mid);
  transition: all .3s;
  text-decoration: none;
  display: block;
}
.leistung-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-l);
  border-top-color: var(--akzent);
}
.leistung-icon {
  width: 52px; height: 52px;
  background: var(--blau-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: background .3s;
}
.leistung-card:hover .leistung-icon { background: rgba(200,160,74,.15); }
.leistung-card h3 {
  font-size: 1.1rem;
  color: var(--blau);
  margin-bottom: 10px;
}
.leistung-card p {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}
.leistung-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--blau-mid);
  margin-top: 16px;
}

/* ================================================
   FRIST BOX
   ================================================ */
.frist-box {
  background: linear-gradient(135deg, #7c2d12, #c2410c);
  border-radius: var(--radius-m);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  color: var(--weiss);
}
.frist-icon {
  font-size: 3rem;
  flex-shrink: 0;
}
.frist-box h2 {
  color: var(--weiss);
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.frist-box p {
  color: rgba(255,255,255,.82);
  font-size: .95rem;
  margin: 0;
}
.frist-days {
  text-align: center;
  flex-shrink: 0;
}
.frist-days .num {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: #fbbf24;
  line-height: 1;
}
.frist-days .lbl {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Mobile: Frist-Box gestapelt ─────────────────────────── */
@media (max-width: 700px) {
  .frist-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 26px 22px 30px;
  }
  .frist-icon { display: none; }
  .frist-days {
    display: flex !important;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
  }
  .frist-days .num { font-size: 3.2rem; }
  .frist-days .lbl {
    font-size: .85rem;
    text-align: left;
    line-height: 1.3;
  }
  .frist-box h2 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.35;
  }
  .frist-box p {
    font-size: .88rem;
    margin-bottom: 20px;
  }
  .frist-box .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ================================================
   TEAM
   ================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.team-card {
  background: var(--weiss);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-m);
  border: 1px solid var(--grau-mid);
  display: flex;
  flex-direction: column;
}
/* Body wächst, Footer klebt immer unten */
.team-card-body {
  flex: 1;
}
.team-card-header {
  background: linear-gradient(135deg, var(--blau) 0%, var(--blau-mid) 100%);
  padding: 36px 32px 28px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.team-photo {
  width: 100px; height: 100px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.3);
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem;
  color: rgba(255,255,255,.6);
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-info {}
.team-info h3 {
  font-family: var(--font-serif);
  color: var(--weiss);
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.team-title {
  display: inline-block;
  background: rgba(200,160,74,.25);
  border: 1px solid rgba(200,160,74,.4);
  color: var(--akzent-hell);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.team-since {
  color: rgba(255,255,255,.65);
  font-size: .82rem;
}

.team-card-body { padding: 28px 32px; flex: 1; }
.team-card-body p {
  font-size: .93rem;
  color: var(--text-mid);
  margin-bottom: 20px;
  line-height: 1.75;
}
.team-facts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.team-fact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-mid);
}
.team-fact .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blau-light);
  color: var(--blau-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.team-card-footer {
  padding: 18px 32px;
  background: var(--grau-hell);
  border-top: 1px solid var(--grau-mid);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 80px;
  justify-content: center;
}
.team-contact-link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .87rem;
  font-weight: 600;
  color: var(--blau);
  text-decoration: none;
  transition: color .2s;
  line-height: 1.4;
  white-space: nowrap;
}
.team-contact-link:hover { color: var(--blau-mid); text-decoration: underline; }

/* ================================================
   PROZESS
   ================================================ */
.prozess-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.prozess-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 18px);
  right: calc(12.5% + 18px);
  height: 2px;
  background: linear-gradient(90deg, var(--blau-mid), var(--akzent));
  z-index: 0;
}
.prozess-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px 0;
  position: relative;
  z-index: 1;
}
.prozess-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--blau);
  color: var(--weiss);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 0 6px var(--blau-light), var(--shadow-m);
  flex-shrink: 0;
}
.prozess-step:nth-child(4) .prozess-num { background: var(--akzent); color: var(--blau); }
.prozess-step h3 {
  font-size: 1rem;
  color: var(--blau);
  margin-bottom: 8px;
}
.prozess-step p {
  font-size: .84rem;
  color: var(--text-mid);
  margin: 0;
}

/* ================================================
   FAQ
   ================================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--grau-mid);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--blau);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blau-mid); }
.faq-arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--blau-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--blau);
  transition: all .25s;
}
.faq-item[open] .faq-arrow {
  background: var(--blau);
  color: var(--weiss);
  transform: rotate(45deg);
}
.faq-body {
  padding: 0 0 22px;
  color: var(--text-mid);
  font-size: .93rem;
  line-height: 1.78;
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--blau) 0%, #0f2347 50%, var(--blau-mid) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '§';
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 28rem;
  color: rgba(255,255,255,.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  color: var(--weiss);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 12px;
}
.cta-inner p {
  color: rgba(255,255,255,.75);
  font-size: 1.02rem;
  margin: 0;
  max-width: 520px;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info-box {
  background: var(--blau);
  border-radius: var(--radius-l);
  padding: 40px 36px;
  color: var(--weiss);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.contact-info-box h2 {
  color: var(--weiss);
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.contact-info-subtitle {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  margin-bottom: 32px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 28px; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.contact-info-item:last-child { border: none; }
.ci-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.ci-label { font-size: .75rem; color: rgba(255,255,255,.55); margin-bottom: 2px; text-transform: uppercase; letter-spacing: .05em; }
.ci-value { font-size: .95rem; color: var(--weiss); font-weight: 600; }
.ci-value a { color: var(--weiss); text-decoration: none; }
.ci-value a:hover { color: var(--akzent-hell); text-decoration: underline; }

.contact-quick-btns { display: flex; flex-direction: column; gap: 10px; }

/* Form */
.contact-form-box {
  background: var(--weiss);
  border-radius: var(--radius-l);
  padding: 40px 36px;
  box-shadow: var(--shadow-m);
  border: 1px solid var(--grau-mid);
}
.contact-form-box h2 {
  color: var(--blau);
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.contact-form-box .form-sub {
  color: var(--text-mid);
  font-size: .88rem;
  margin-bottom: 28px;
}

/* CF7 Overrides */
.wpcf7-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.wpcf7-form .form-field { margin-bottom: 16px; }
.wpcf7-form label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--blau);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grau-mid);
  border-radius: var(--radius-s);
  font-family: var(--font-sans);
  font-size: .93rem;
  color: var(--text);
  background: var(--grau-hell);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: var(--blau-mid);
  background: var(--weiss);
  box-shadow: 0 0 0 3px rgba(44,108,181,.12);
}
.wpcf7-form textarea { min-height: 130px; resize: vertical; }
.wpcf7-form input[type="submit"] {
  background: var(--blau);
  color: var(--weiss);
  border: 2px solid var(--blau);
  padding: 14px 32px;
  border-radius: var(--radius-s);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: all .25s;
  width: 100%;
  margin-top: 8px;
}
.wpcf7-form input[type="submit"]:hover {
  background: var(--blau-hell);
  transform: translateY(-2px);
  box-shadow: var(--shadow-m);
}
.wpcf7-form .privacy-note {
  font-size: .77rem;
  color: var(--grau-dark);
  margin-top: 12px;
  line-height: 1.6;
}
.wpcf7-form .privacy-note a { color: var(--blau-mid); }

/* ================================================
   SITE FOOTER
   ================================================ */
#site-footer {
  background: #0d1e3a;
  color: rgba(255,255,255,.75);
  padding-top: 64px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo-text .name { color: var(--weiss); }
.footer-brand .logo-text .tagline { color: rgba(255,255,255,.4); }
.footer-brand p {
  color: rgba(255,255,255,.55);
  font-size: .87rem;
  margin-top: 16px;
  margin-bottom: 20px;
  line-height: 1.7;
}
.footer-col h4 {
  color: var(--weiss);
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .87rem;
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--akzent-hell); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .87rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 10px;
}
.footer-contact-item .icon { flex-shrink: 0; margin-top: 1px; }
.footer-contact-item a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-contact-item a:hover { color: var(--akzent-hell); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.45); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ================================================
   FLOATING WHATSAPP
   ================================================ */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--weiss);
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .9rem;
  transition: all .25s;
}
.wa-float:hover {
  background: #1db954;
  transform: scale(1.05) translateY(-2px);
  color: var(--weiss);
  box-shadow: 0 10px 32px rgba(37,211,102,.5);
}
.wa-float svg { width: 22px; height: 22px; fill: var(--weiss); flex-shrink: 0; }

/* ================================================
   PAGE HERO (Innenpages)
   ================================================ */
.page-hero {
  background: linear-gradient(125deg, var(--blau) 0%, #0f2347 50%, var(--blau-mid) 100%);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .05;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,.6) 40px, rgba(255,255,255,.6) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,.6) 40px, rgba(255,255,255,.6) 41px);
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.page-hero-breadcrumb a:hover { color: var(--akzent-hell); }
.page-hero-breadcrumb span { color: rgba(255,255,255,.3); }
.page-hero h1 { color: var(--weiss); margin-bottom: 14px; }
.page-hero-lead {
  color: rgba(255,255,255,.78);
  font-size: 1.05rem;
  max-width: 600px;
}

/* ================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ================================================ */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 72px 24px;
}
.legal-content h2 {
  font-size: 1.25rem;
  margin: 40px 0 12px;
  padding-top: 12px;
  border-top: 1px solid var(--grau-mid);
}
.legal-content h2:first-of-type { margin-top: 0; border: none; padding: 0; }
.legal-content p, .legal-content li {
  font-size: .93rem;
  color: var(--text-mid);
  margin-bottom: 10px;
}
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-content a { color: var(--blau-mid); }

/* ================================================
   WORDPRESS CORE
   ================================================ */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
.wp-caption { max-width: 96%; background: #eee; padding: 5px 3px 10px; }
.wp-caption-text { text-align: center; font-size: 11px; margin: 5px; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
  /* stats-inner: flex, passt sich automatisch an */
  .stats-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 70px; }

  /* ── Hero ── */
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { display: none; }

  /* ── Prozess ── */
  .prozess-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .prozess-grid::before { display: none; }

  /* ── Team ── */
  .team-grid { grid-template-columns: 1fr; max-width: 580px; margin-left: auto; margin-right: auto; }

  /* ── Contact ── */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-box { position: static; }

  /* ── CTA ── */
  .cta-inner { grid-template-columns: 1fr; gap: 28px; }
  .cta-actions { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; }

  /* ── Header: hide desktop nav between 601-860px, show burger ── */
  .site-nav { display: none; }
  .burger { display: flex; }
  .header-cta .btn { display: none; }
}

@media (max-width: 600px) {
  /* ── Sections ── */
  .section { padding: 56px 0; }
  .section--sm { padding: 40px 0; }
  .container { padding: 0 16px; }

  /* ── Header: hide desktop nav & CTA button, show burger ── */
  .site-nav { display: none; }
  .header-cta .btn { display: none; }
  .burger { display: flex; }

  /* ── Header phone: icon only, no text overflow ── */
  .header-phone {
    padding: 8px;
    border-radius: 50%;
    background: var(--blau-light);
  }
  .header-phone span { display: none; }

  /* ── Hero ── */
  .hero-inner { padding: 48px 16px 40px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-lead { font-size: .95rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 14px; }
  .hero-trust-item { font-size: .8rem; }

  /* ── Stats ── */
  .stats-inner { flex-wrap: wrap; gap: 0; }
  .stat-item { flex: 0 0 50%; min-width: 50%; padding: 16px 8px; }
  .stat-num { font-size: 2rem; }
  .stats-divider { display: none; }

  /* ── Leistungen ── */
  .leistungen-grid { grid-template-columns: 1fr; }

  /* ── Prozess ── */
  .prozess-grid { grid-template-columns: 1fr; gap: 24px; }

  /* ── CTA section ── */
  .cta-inner { padding: 48px 16px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  /* ── Team cards ── */
  .team-card-header { padding: 24px 18px 16px; gap: 14px; }
  .team-photo { width: 72px; height: 72px; }
  .team-photo img { width: 72px; height: 72px; }
  .team-info h3 { font-size: 1.1rem; }
  .team-card-body { padding: 18px; }
  .team-card-footer { padding: 14px 18px; flex-direction: column; gap: 8px; }

  /* ── Contact page ── */
  .contact-info-box { padding: 28px 20px; }
  .contact-form-box { padding: 28px 20px; }
  .wpcf7-form .form-row { grid-template-columns: 1fr; }
  .contact-quick-btns .btn { width: 100%; justify-content: center; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px; }

  /* ── Page hero ── */
  .page-hero { padding: 48px 0 40px; }
  .page-hero h1 { font-size: 1.7rem; }

  /* ── WhatsApp float: icon only ── */
  .wa-float span { display: none; }
  .wa-float { padding: 14px; border-radius: 50%; bottom: 20px; right: 16px; }

  /* ── Urgency bar ── */
  .urgency-bar { font-size: .82rem; padding: 12px 16px; }

  /* ── Legal pages ── */
  .legal-content { padding: 48px 16px; }
}
