/*
Theme Name: localmates Theme
Theme URI: https://localmates.de
Author: Juergens Internetloesungen
Version: 3.19
Description: Individuelles Theme fuer localmates.de – ohne Divi, kein Page-Builder.
License: Proprietary
Text Domain: localmates
*/

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

:root {
  --blue:       #2563EB;
  --blue-dark:  #1E3A5F;
  --blue-deeper:#0A1628;
  --blue-light: #EFF6FF;
  --green:      #16A34A;
  --gray-50:    #F9FAFB;
  --gray-100:   #F3F4F6;
  --gray-200:   #E5E7EB;
  --gray-500:   #6B7280;
  --gray-700:   #374151;
  --gray-900:   #111827;
  --white:      #FFFFFF;
  --radius:     10px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.14);
  --font:       'Inter', 'Segoe UI', Arial, sans-serif;
  --max-w:      1160px;
  --transition: .22s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }
ul { list-style: none; }

h1,h2,h3,h4,h5,h6 { font-family: 'Merriweather', Georgia, serif; font-weight: 700; line-height: 1.25; color: var(--blue-dark); }
h1 { font-size: clamp(2rem,5vw,3rem); }
h2 { font-size: clamp(1.5rem,3.5vw,2.1rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* LAYOUT */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--gray { background: var(--gray-50); }
.section--dark { background: var(--blue-dark); }
.section--dark h2,.section--dark h3,.section--dark p { color: var(--white); }
.text-center { text-align: center; }
.section-label {
  display: inline-block; font-size: .82rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-light);
  border-radius: 20px; padding: 4px 14px; margin-bottom: 14px;
}
.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--gray-500); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: .97rem; font-weight: 600; line-height: 1;
  padding: 13px 26px; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition); white-space: nowrap; text-decoration: none;
}
.btn-primary { background: #1547D4; color: #fff; border-color: #1547D4; }
.btn-primary:hover { background: #1239b0; border-color: #1239b0; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(21,71,212,.3); }
.btn-outline { background: transparent; color: #0A1628; border-color: #0A1628; }
.btn-outline:hover { background: #0A1628; color: #fff; }
.btn-white { background: #fff; color: #0A1628; border-color: #fff; }
.btn-white:hover { background: #EFF6FF; color: #1547D4; }
.btn-sm { padding: 9px 18px; font-size: .83rem; font-weight: 700; border-radius: 7px; }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }

/* NAV */
/* ── MARKER / FILZSTIFT HIGHLIGHT ── */
.marker {
  position: relative;
  display: inline;
  white-space: nowrap;
  isolation: isolate;
}
.marker::after {
  content: '';
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -12px;
  height: 16px;
  background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='16' viewBox='0 0 400 16' preserveAspectRatio='none'%3E%3Cpath d='M3 3 Q200 13 397 3' stroke='%23FDE68A' stroke-width='5.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  z-index: -1;
}
.marker--light::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='16' viewBox='0 0 400 16' preserveAspectRatio='none'%3E%3Cpath d='M3 3 Q200 13 397 3' stroke='%23FEF3C7' stroke-width='5.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ── NAV ── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.nav-inner {
  display: flex; align-items: center; height: 66px; gap: 0;
}

/* Logo */
.site-logo {
  font-size: 1.22rem; font-weight: 800; letter-spacing: -.03em;
  margin-right: 28px; flex-shrink: 0; text-decoration: none;
}
.logo-local { color: #0A1628; }
.logo-mates { color: #1547D4; }
.logo-tld   { color: #9CA3AF; font-size: .75em; font-weight: 600; letter-spacing: 0; }

/* Desktop nav links */
.nav-links {
  display: flex; align-items: center; gap: 1px; flex: 1;
  list-style: none; margin: 0; padding: 0;
}
/* Both wp_nav_menu <a> and fallback <a> */
.nav-links a,
.nav-links li a {
  font-size: .83rem; font-weight: 600; color: #4B5563;
  padding: 7px 11px; border-radius: 6px;
  transition: all .18s; text-decoration: none; white-space: nowrap;
  display: block;
}
.nav-links a:hover,
.nav-links li a:hover,
.nav-links a.current,
.nav-links li.current-menu-item > a {
  color: #1547D4; background: #EFF6FF;
}
/* Kill any list bullets wp_nav_menu might add */
.nav-links li { list-style: none; }
.nav-links ul { display: none; } /* hide submenus for now */

/* Right side: phone + ONE button */
.nav-right {
  display: flex; align-items: center; gap: 14px;
  margin-left: 8px; padding-left: 14px;
  border-left: 1px solid #E5E7EB; flex-shrink: 0;
}
.nav-phone {
  font-size: .8rem; font-weight: 600; color: #6B7280;
  white-space: nowrap; text-decoration: none;
}
.nav-phone:hover { color: #1547D4; }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; align-items: center;
  justify-content: center; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer; gap: 5px;
  margin-left: 12px; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: #374151; border-radius: 2px; transition: all .22s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown */
.nav-mobile {
  display: none;
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.nav-mobile.open { display: block; }
.nav-mobile .container { padding: 14px 24px 20px; }
.nav-mobile__list {
  list-style: none; margin: 0 0 8px; padding: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.nav-mobile__list li a,
.nav-mobile__list a {
  display: block; font-size: .93rem; font-weight: 600;
  color: #374151; padding: 11px 14px; border-radius: 7px;
  text-decoration: none; transition: all .18s;
}
.nav-mobile__list li a:hover,
.nav-mobile__list a:hover { background: #EFF6FF; color: #1547D4; }
.nav-mobile__cta {
  display: flex; justify-content: center; width: 100%;
  margin-top: 8px; color: #fff !important;
}

/* Responsive */
@media(max-width: 960px) {
  .nav-links, .nav-right { display: none; }
  .nav-toggle { display: flex; }
}

/* HERO */
.hero { background: linear-gradient(135deg, var(--blue-dark) 0%, #1a4fa0 60%, #2563eb 100%); color: var(--white); padding: 100px 0 90px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; z-index: 0; }
.hero-inner { position: relative; max-width: 760px; z-index: 1; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); color: var(--white); font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 20px; }
.hero h1 { font-family: 'Merriweather', Georgia, serif; font-weight: 700; color: var(--white); font-size: clamp(2.2rem,5.5vw,3.4rem); line-height: 1.15; margin-bottom: 12px; }
.hero h2 { font-family: 'Merriweather', Georgia, serif; font-weight: 400; color: rgba(255,255,255,.85); font-size: clamp(1.3rem,3vw,1.75rem); margin-bottom: 20px; }
.hero-sub { font-size: 1.08rem; color: rgba(255,255,255,.8); max-width: 580px; margin-bottom: 36px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 28px; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.75); font-size: .9rem; }
.hero-trust-item::before { content: '\2713'; width: 20px; height: 20px; background: rgba(255,255,255,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; color: var(--white); flex-shrink: 0; }

/* USP CARDS */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 24px; }
.usp-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 32px 28px; transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition); }
.usp-card:hover { box-shadow: var(--shadow); border-color: var(--blue); transform: translateY(-3px); }
.usp-icon { width:44px;height:44px;border-radius:10px;background:#1547D4;display:flex;align-items:center;justify-content:center;margin-bottom:16px;flex-shrink:0;overflow:hidden; }
.usp-icon svg { width:22px !important;height:22px !important;max-width:22px;max-height:22px;stroke:#fff;fill:none;flex-shrink:0; }
.usp-card h3 { margin-bottom: 10px; }
.usp-card p { color: var(--gray-500); font-size: .97rem; margin: 0; }

/* BRANCHEN – no emoji */
.branchen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px,1fr)); gap: 9px; }
.branche-item { display:flex;align-items:center;background:#fff;border:1px solid #E5E7EB;border-left:3px solid transparent;border-radius:8px;padding:11px 14px;font-size:.88rem;font-weight:600;color:#374151;transition:all .18s; }
.branche-item:hover { border-left-color:#1547D4;background:#EFF6FF;color:#1547D4; }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 32px; }
.step-card { text-align: center; }
.step-number { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: var(--white); font-size: 1.4rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; box-shadow: 0 4px 12px rgba(37,99,235,.3); }
.step-card h3 { margin-bottom: 10px; }
.step-card p { color: var(--gray-500); font-size: .97rem; }

/* STATS */
.stats-bar { background: var(--blue); padding: 48px 0; }

/* Abstand: stats-bar bekommt immer Abstand zum Hero */
.stats-bar { margin-top: 0; }
.hero + .stats-bar { margin-top: 48px; }

/* Verkaufte Pakete Badge */
.pricing-sold {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--blue);
  background: #EFF6FF;
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 10px;
  letter-spacing: .01em;
}
.pricing-sold--light {
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.18);
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 24px; text-align: center; }
.stat-item { color: var(--white); }
.stat-value { font-size: 2.4rem; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: .9rem; color: rgba(255,255,255,.75); }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 24px; }
.testimonial-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.testimonial-stars { color: #F59E0B; font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text { color: var(--gray-700); font-style: italic; margin-bottom: 18px; font-size: .97rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.testimonial-name { font-weight: 600; font-size: .93rem; }
.testimonial-role { color: var(--gray-500); font-size: .82rem; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 24px; align-items: start; }
.pricing-card { background: var(--white); border: 2px solid var(--gray-200); border-radius: var(--radius); padding: 32px 28px; position: relative; transition: all var(--transition); }
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-card.featured { border-color: var(--blue); box-shadow: var(--shadow-lg); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--blue); color: var(--white); font-size: .78rem; font-weight: 700; padding: 4px 16px; border-radius: 20px; white-space: nowrap; }
.pricing-name { font-size: .85rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.pricing-price { font-size: 2.4rem; font-weight: 800; color: var(--blue-dark); line-height: 1; margin-bottom: 4px; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--gray-500); }
.pricing-note { font-size: .82rem; color: var(--gray-500); margin-bottom: 24px; }
.pricing-divider { border: none; border-top: 1px solid var(--gray-200); margin: 20px 0; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; color: var(--gray-700); padding: 6px 0; }
.pricing-features li::before { content: '\2713'; width: 20px; height: 20px; background: #D1FAE5; color: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; transition: box-shadow var(--transition); background: #fff; }
.faq-item.open { box-shadow: var(--shadow-sm); border-color: #1547D4; }
.faq-question { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border: none; padding: 20px 24px; font-family: var(--font); font-size: 1rem; font-weight: 600; color: #111827; cursor: pointer; transition: background var(--transition); }
.faq-question:hover { background: #F9FAFB; }
.faq-item.open .faq-question { background: #EFF6FF; color: #1547D4; }
.faq-chevron { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: #F3F4F6; display: flex; align-items: center; justify-content: center; transition: transform .22s, background .22s; font-size: .8rem; color: #374151; }
.faq-item.open .faq-chevron { transform: rotate(180deg); background: #1547D4; color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 4px 24px 22px; color: #374151; font-size: .97rem; line-height: 1.75; background: #fff; }
.faq-item.open .faq-answer { max-height: 500px; }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); padding: 80px 0; text-align: center; color: var(--white); }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.8); max-width: 540px; margin: 0 auto 32px; font-size: 1.05rem; }
.cta-trust { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; color: rgba(255,255,255,.65); font-size: .88rem; }

/* PAGE HERO */
.page-hero__wave-old{display:none} /* placeholder */

/* CONTENT PROSE */
.content-prose h2 { margin-top: 2rem; margin-bottom: .8rem; }
.content-prose h3 { margin-top: 1.5rem; margin-bottom: .6rem; }
.content-prose p { margin-bottom: 1rem; color: var(--gray-700); }
.content-prose .check-list { list-style: none; padding-left: 0; }
.content-prose .check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--gray-700); margin-bottom: .6rem; }
.content-prose .check-list li::before { content: '\2713'; width: 22px; height: 22px; flex-shrink: 0; background: #D1FAE5; color: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 800; margin-top: 1px; }
.compare-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.compare-table th,.compare-table td { text-align: left; padding: 12px 16px; border: 1px solid var(--gray-200); font-size: .95rem; }
.compare-table th { background: var(--blue-dark); color: var(--white); font-weight: 600; }
.compare-table tr:nth-child(even) td { background: var(--gray-50); }
.highlight-box { background: var(--blue-light); border-left: 4px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 1.5rem 0; }
.highlight-box strong { display: block; color: var(--blue-dark); margin-bottom: 6px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-group input,.form-group select,.form-group textarea { width: 100%; padding: 12px 14px; font-family: var(--font); font-size: .95rem; color: var(--gray-900); background: var(--gray-50); border: 1.5px solid var(--gray-200); border-radius: 8px; outline: none; transition: border-color var(--transition), box-shadow var(--transition); }
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow-sm); }

/* FOOTER */
.site-footer { background: var(--gray-900); color: rgba(255,255,255,.7); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .site-logo { color: var(--white); font-size: 1.3rem; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: .93rem; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.footer-cities { font-size: .85rem; color: rgba(255,255,255,.4); }
.footer-heading { color: var(--white); font-size: .92rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .92rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: .85rem; }
.footer-legal a { color: rgba(255,255,255,.5); margin-left: 20px; }
.footer-legal a:hover { color: var(--white); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  .usp-grid,.steps-grid,.testimonials-grid,.pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .branchen-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid,.form-row,.footer-grid { grid-template-columns: 1fr; }
  .footer-legal a { margin-left: 0; margin-right: 16px; }
}
@media (max-width: 480px) {
  .branchen-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
}

/* ============================================================
   CONTACT FORM 7 – Theme-Integration
   Ueberschreibt alle CF7-Standardstyles komplett
   ============================================================ */

/* Wrapper */
.wpcf7 { width: 100%; }
.wpcf7 form { width: 100%; }
.wpcf7 .wpcf7-response-output { display: none !important; }

/* Alle Eingabefelder */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: .95rem;
  color: var(--gray-900);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.5;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,.12);
  background: var(--white);
}

/* Textarea */
.wpcf7 textarea {
  resize: vertical;
  min-height: 130px;
}

/* Select */
.wpcf7 select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Checkbox */
.wpcf7 input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin-top: 3px;
  accent-color: var(--blue);
  cursor: pointer;
  border-radius: 3px;
}
.wpcf7 .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}
.wpcf7 .wpcf7-list-item label {
  font-size: .88rem;
  color: var(--gray-500);
  line-height: 1.55;
  cursor: pointer;
}
.wpcf7 .wpcf7-list-item label a {
  color: var(--blue);
  text-decoration: underline;
}

/* Submit-Button */
.wpcf7 input[type="submit"] {
  display: block;
  width: 100%;
  padding: 15px 28px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
  margin-top: 4px;
}
.wpcf7 input[type="submit"]:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26,86,219,.28);
}
.wpcf7 input[type="submit"]:active {
  transform: translateY(0);
}

/* Spinner (CF7 Lade-Animation) */
.wpcf7 .wpcf7-spinner {
  display: none;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  border: 3px solid var(--gray-200);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: cf7spin .7s linear infinite;
}
.wpcf7 form.submitting .wpcf7-spinner { display: block; }
@keyframes cf7spin { to { transform: rotate(360deg); } }

/* Validierungsfehler */
.wpcf7 .wpcf7-not-valid {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,.1) !important;
}
.wpcf7 .wpcf7-not-valid-tip {
  display: block;
  margin-top: 5px;
  font-size: .8rem;
  color: #DC2626;
  font-family: var(--font);
}

/* Erfolgs- und Fehlermeldungen */
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  display: block !important;
  margin: 16px 0 0;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .92rem;
  border: none;
}
.wpcf7 form.sent .wpcf7-response-output {
  background: #DCFCE7;
  color: #14532D;
  border-left: 4px solid #16A34A;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  background: #FEE2E2;
  color: #7F1D1D;
  border-left: 4px solid #DC2626;
}

/* Zweispaltige Felder (nutzt .form-row Wrapper im CF7-Template) */
.cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cf7-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.cf7-group label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-700);
}
.cf7-note {
  font-size: .8rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 10px;
}

@media (max-width: 540px) {
  .cf7-row { grid-template-columns: 1fr; }
}

/* ============================================================
   BLOG-GRID (Startseiten-Ausschnitt)
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card */
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

/* Bild-Bereich */
.blog-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-100);
  flex-shrink: 0;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.blog-card:hover .blog-card__img img {
  transform: scale(1.04);
}

/* Fallback wenn kein Bild vorhanden */
.blog-card__img--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
}
.blog-card__fallback-icon {
  font-size: 2.5rem;
  opacity: .5;
}

/* Body */
.blog-card__body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Meta: Datum + Kategorie */
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  color: var(--gray-400);
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.blog-card__meta time { }
.blog-card__cat {
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Titel */
.blog-card__title {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-card__title a {
  color: var(--blue-dark);
  transition: color var(--transition);
}
.blog-card__title a:hover { color: var(--blue); }

/* Excerpt */
.blog-card__excerpt {
  color: var(--gray-500);
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

/* Link */
.blog-card__link {
  font-size: .88rem;
  font-weight: 700;
  color: var(--blue);
  transition: gap var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.blog-card__link:hover { color: var(--blue-dark); gap: 8px; }

/* Responsive */
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   LESEFORTSCHRITT-BALKEN (ganz oben, fixed)
   ============================================================ */
#reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), #60a5fa);
  z-index: 9999;
  transition: width .1s linear;
  box-shadow: 0 0 8px rgba(26,86,219,.5);
}

/* ============================================================
   ARTIKEL-HERO
   ============================================================ */
.article-hero__meta {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; font-size: .82rem;
  color: rgba(255,255,255,.65); margin-bottom: 14px;
}
.article-hero__sep { opacity: .4; }
.article-hero__cat {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 10px; border-radius: 4px;
}
.article-hero__readtime { color: rgba(255,255,255,.65); }

/* Hero-Bild */
.article-thumb { padding: 0 0 0; margin-top: -32px; position: relative; z-index: 2; }
.article-thumb .container { max-width: 900px; }
.article-thumb__img {
  width: 100%; max-height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
}

/* ============================================================
   ARTIKEL-GRID (Content + TOC nebeneinander)
   ============================================================ */
.article-layout { padding-top: 48px; }
.article-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

/* ============================================================
   ARTICLE BODY (Prose)
   ============================================================ */
.article-body h2 {
  font-size: 1.5rem; margin-top: 2.2rem; margin-bottom: .8rem;
  padding-top: 1rem; border-top: 1px solid var(--gray-200);
  scroll-margin-top: 90px;
}
.article-body h3 {
  font-size: 1.15rem; margin-top: 1.6rem; margin-bottom: .6rem;
  color: var(--blue-dark); scroll-margin-top: 90px;
}
.article-body p { color: var(--gray-700); margin-bottom: 1.1rem; }
.article-body ul, .article-body ol {
  padding-left: 1.5rem; margin-bottom: 1.1rem;
}
.article-body li { color: var(--gray-700); margin-bottom: .4rem; }
.article-body blockquote {
  border-left: 4px solid var(--blue);
  background: var(--blue-light);
  padding: 16px 20px; border-radius: 0 8px 8px 0;
  margin: 1.5rem 0; font-style: italic; color: var(--blue-dark);
}
.article-body img { border-radius: var(--radius); margin: 1.5rem 0; }
.article-body a { color: var(--blue); text-decoration: underline; }
.article-body a:hover { color: var(--blue-dark); }
.article-body code {
  background: var(--gray-100); padding: 2px 6px;
  border-radius: 4px; font-size: .88em;
}
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .93rem; }
.article-body th { background: var(--blue-dark); color: #fff; padding: 10px 14px; text-align: left; }
.article-body td { padding: 10px 14px; border: 1px solid var(--gray-200); }
.article-body tr:nth-child(even) td { background: var(--gray-50); }

/* Autor-Box */
.author-box {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; margin-top: 2.5rem;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}
.author-box__avatar { flex-shrink: 0; }
.author-box__img { width: 56px; height: 56px; border-radius: 50%; display: block; }
.author-box__info { display: flex; flex-direction: column; gap: 3px; }
.author-box__info strong { font-size: .95rem; color: var(--blue-dark); }
.author-box__info span { font-size: .82rem; color: var(--gray-500); }

/* Tags */
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.article-tag {
  font-size: .78rem; font-weight: 600;
  color: var(--gray-500);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 4px; padding: 4px 10px;
  transition: all var(--transition);
}
.article-tag:hover { color: var(--blue); background: var(--blue-light); border-color: var(--blue); }

/* Share */
.article-share {
  display: flex; align-items: center; gap: 10px;
  margin-top: 1.8rem; flex-wrap: wrap;
}
.article-share__label { font-size: .82rem; color: var(--gray-400); }
.share-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px; font-size: .85rem; font-weight: 800;
  cursor: pointer; transition: all var(--transition);
  border: 1.5px solid var(--gray-200);
  background: var(--white); color: var(--gray-700);
  font-family: inherit; line-height: 1;
}
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.share-btn--li:hover { background: #0A66C2; color: #fff; border-color: #0A66C2; }
.share-btn--tw:hover { background: #000; color: #fff; border-color: #000; }
.share-btn--copy:hover { background: var(--blue-light); color: var(--blue); border-color: var(--blue); }

/* ============================================================
   INHALTSVERZEICHNIS (SIDEBAR) – EXTREM
   ============================================================ */
.toc-sidebar {
  position: sticky;
  top: 84px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--blue-light) transparent;
}
.toc-sidebar::-webkit-scrollbar { width: 4px; }
.toc-sidebar::-webkit-scrollbar-track { background: transparent; }
.toc-sidebar::-webkit-scrollbar-thumb { background: var(--blue-light); border-radius: 4px; }

/* ── Fortschritts-Ring ── */
.toc-progress-wrap {
  position: relative;
  width: 52px; height: 52px;
  margin: 0 auto;
  flex-shrink: 0;
}
.toc-progress-ring { transform: rotate(-90deg); width: 52px; height: 52px; }
.toc-progress-ring__bg {
  fill: none; stroke: var(--gray-200); stroke-width: 3;
}
.toc-progress-ring__fill {
  fill: none; stroke: var(--blue); stroke-width: 3;
  stroke-dasharray: 113; stroke-dashoffset: 113;
  stroke-linecap: round;
  transition: stroke-dashoffset .15s linear;
}
.toc-progress-pct {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 800; color: var(--blue);
}

/* ── TOC-Box ── */
.toc-box {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.toc-box:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(26,86,219,.1);
}

/* Header */
.toc-box__header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  background: var(--blue-deeper);
  color: #fff;
}
.toc-box__icon { font-size: 1rem; opacity: .8; }
.toc-box__title {
  flex: 1; font-size: .8rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.toc-box__toggle {
  background: rgba(255,255,255,.15);
  border: none; color: #fff;
  width: 22px; height: 22px; border-radius: 4px;
  font-size: 1.1rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.toc-box__toggle:hover { background: rgba(255,255,255,.3); }

/* Fortschrittsbalken im TOC */
.toc-inner-progress {
  height: 2px; background: var(--gray-200);
}
.toc-inner-progress__fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--blue), #60a5fa);
  transition: width .15s linear;
}

/* Einträge */
.toc-list {
  padding: 8px 6px;
  display: flex; flex-direction: column; gap: 1px;
  transition: max-height .28s ease, opacity .28s ease;
  max-height: 1000px; opacity: 1; overflow: hidden;
}
.toc-list.collapsed { max-height: 0; opacity: 0; }

.toc-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--gray-600);
  font-size: .8rem; line-height: 1.35;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
  border-left: 2px solid transparent;
}
.toc-item:hover {
  background: var(--blue-light);
  color: var(--blue);
  border-left-color: var(--blue);
}
/* H3 etwas eingerückt */
.toc-item--h3 {
  padding-left: 20px;
  font-size: .76rem;
  color: var(--gray-400);
}
.toc-item--h3 .toc-item__num { display: none; }

/* AKTIVER EINTRAG */
.toc-item.is-active {
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 700;
  border-left-color: var(--blue);
}
.toc-item.is-active .toc-item__num {
  background: var(--blue);
  color: #fff;
}

/* Nummern-Badge */
.toc-item__num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px;
  background: var(--gray-100);
  color: var(--gray-400);
  font-size: .65rem; font-weight: 800;
  border-radius: 4px; flex-shrink: 0;
  transition: all var(--transition);
}
.toc-item__text { flex: 1; }

/* Footer: aktuelle Sektion */
.toc-box__footer {
  padding: 8px 14px;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}
.toc-current-label {
  font-size: .72rem; color: var(--gray-400);
  display: block; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}

/* Lesezeit-Badge */
.toc-readtime {
  display: flex; align-items: center; gap: 4px;
  font-size: .75rem; color: var(--gray-400);
  justify-content: center;
  padding: 6px 0;
}

/* ── Responsive: TOC unter Content ── */
@media (max-width: 900px) {
  .article-grid { grid-template-columns: 1fr; }
  .toc-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    order: -1; /* TOC vor Content auf Mobil */
  }
  .toc-progress-wrap { display: none; }
  .toc-box { max-width: 100%; }
  .toc-list { max-height: none !important; }
}

/* ============================================================
   BREADCRUMB FIX
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb__sep {
  color: rgba(255,255,255,.3);
  font-size: .8rem;
  line-height: 1;
}
.breadcrumb__current { color: rgba(255,255,255,.85); }

/* ============================================================
   PAGE CONTENT (Gutenberg full-width blocks)
   ============================================================ */
.page-content { width: 100%; }
.page-content .wp-block-cover,
.page-content .wp-block-group.alignfull,
.page-content .alignfull { width: 100%; max-width: 100%; }
.page-content > *:not(.alignfull):not(.wp-block-cover):not([class*="alignfull"]) {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ============================================================
   GUTENBERG BLOCK SPACING
   ============================================================ */
.page-content .wp-block-spacer { display: block; }
.page-content .wp-block-columns { gap: 24px; }
.page-content .wp-block-column { min-width: 0; }
.page-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.page-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: .9rem;
  transition: all var(--transition);
  text-decoration: none;
}
.page-content .wp-block-button__link:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

/* ============================================================
   DOPPELTER H1 FIX – page-hero ohne H1 wenn Content einen hat
   Der .page-hero zeigt dann NUR Breadcrumb + optional Excerpt
   ============================================================ */
.page-hero--no-title { padding-bottom: 0; min-height: 64px; }

/* ── LOGO LocalMates.de ── */
.logo-local { color: var(--blue-deeper); font-weight: 800; }
.logo-mates { color: var(--blue);        font-weight: 800; }
.logo-tld   { color: var(--gray-400);    font-size: .75em; font-weight: 600; letter-spacing: 0; }
.footer-logo .logo-local { color: #fff; }
.footer-logo .logo-mates { color: #93c5fd; }
.footer-logo .logo-tld   { color: rgba(255,255,255,.3); }

/* ── MOBILE NAV BUTTON FIX ── */
.nav-mob a { color: var(--gray-600); }
.nav-mob .btn-primary,
.nav-mob .btn-primary:hover { color: #fff !important; }

/* ============================================================
   PAGE HERO — komplett neu
   ============================================================ */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #0A1628 0%, #1a3f8f 60%, #2563EB 100%);
  padding: 52px 0 72px;
  overflow: hidden;
}
/* Dot-Grid Textur */
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
/* Farbiger Akzent rechts */
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(37,99,235,.3) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }

.page-hero__inner { max-width: 740px; }

/* Eyebrow-Label */
.page-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}
.page-hero__label::before {
  content: '';
  display: block;
  width: 20px; height: 1.5px;
  background: var(--blue);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.6); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb__sep { color: rgba(255,255,255,.3); font-size: .78rem; }
.breadcrumb__current { color: rgba(255,255,255,.75); }

/* Titel */
.page-hero__title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: -.02em;
  line-height: 1.18;
  margin-bottom: 14px;
}

/* Subtitle */
.page-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78) !important;
  line-height: 1.65;
  max-width: 580px;
  margin: 0;
}

/* Wellen-Übergang */
.page-hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3; line-height: 0;
}
.page-hero__wave svg { display: block; width: 100%; }

/* ============================================================
   PAGE CONTENT — Abstand zum Footer
   ============================================================ */
.page-content {
  width: 100%;
  padding-bottom: 80px; /* Abstand vor dem Footer */
}
.page-content .wp-block-cover,
.page-content .wp-block-group.alignfull,
.page-content .alignfull { width: 100%; max-width: 100%; }

/* Letzter Block im Content braucht keinen doppelten Abstand */
.page-content > *:last-child { margin-bottom: 0; }

/* Gutenberg Standard-Contentbreite überschreiben */
.page-content .wp-block-paragraph,
.page-content .wp-block-heading,
.page-content .wp-block-list,
.page-content .wp-block-table,
.page-content .wp-block-columns,
.page-content .wp-block-buttons,
.page-content .wp-block-group:not(.alignfull),
.page-content .wp-block-spacer {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ============================================================
   KONTAKT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

/* Info Spalte */
.contact-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0A1628;
  margin-bottom: 8px;
}
.contact-info > p {
  color: #4B5563;
  margin-bottom: 28px;
  font-size: .97rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-detail-icon {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 9px;
  background: #EFF6FF;
  color: #1547D4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail strong {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #9CA3AF;
  margin-bottom: 2px;
}
.contact-detail a,
.contact-detail span {
  font-size: .97rem;
  color: #1547D4;
  font-weight: 600;
}
.contact-detail span { color: #374151; }
.contact-detail a:hover { text-decoration: underline; }

.contact-infobox {
  margin-top: 28px;
  background: #EFF6FF;
  border-left: 4px solid #1547D4;
  border-radius: 0 8px 8px 0;
  padding: 18px 20px;
}
.contact-infobox strong {
  display: block;
  font-size: .97rem;
  font-weight: 700;
  color: #0A1628;
  margin-bottom: 6px;
}
.contact-infobox p {
  font-size: .9rem;
  color: #4B5563;
  line-height: 1.65;
  margin: 0;
}

/* Form Spalte */
.contact-form {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.contact-form h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0A1628;
  margin-bottom: 22px;
}
.cf7-notice {
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: .88rem;
  color: #92400E;
  line-height: 1.6;
}
.cf7-notice code {
  background: rgba(0,0,0,.07);
  padding: 1px 5px;
  border-radius: 4px;
  font-family: monospace;
}
.cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cf7-group {
  margin-bottom: 16px;
}
.cf7-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 5px;
}
.cf7-group input,
.cf7-group textarea,
.cf7-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #E5E7EB;
  border-radius: 7px;
  font-size: .9rem;
  font-family: inherit;
  color: #111827;
  background: #fff;
  transition: border-color .18s;
  outline: none;
  appearance: none;
}
.cf7-group input:focus,
.cf7-group textarea:focus,
.cf7-group select:focus {
  border-color: #1547D4;
  box-shadow: 0 0 0 3px rgba(21,71,212,.08);
}
.cf7-group textarea {
  min-height: 110px;
  resize: vertical;
}
.cf7-group--check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.cf7-group--check input[type="checkbox"] {
  width: 17px;
  min-width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: #1547D4;
}
.cf7-group--check label {
  font-size: .82rem;
  color: #6B7280;
  font-weight: 400;
  margin-bottom: 0;
}
.cf7-group--check label a {
  color: #1547D4;
  text-decoration: underline;
}
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: .97rem;
}
.form-note {
  text-align: center;
  font-size: .78rem;
  color: #9CA3AF;
  margin-top: 10px;
  margin-bottom: 0;
}

/* WP/CF7 Felder überschreiben */
.contact-form .wpcf7-form-control,
.contact-form .wpcf7-text,
.contact-form .wpcf7-email,
.contact-form .wpcf7-tel,
.contact-form .wpcf7-textarea,
.contact-form .wpcf7-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #E5E7EB;
  border-radius: 7px;
  font-size: .9rem;
  font-family: inherit;
  color: #111827;
  background: #fff;
  margin-bottom: 14px;
  outline: none;
}
.contact-form .wpcf7-form-control:focus {
  border-color: #1547D4;
  box-shadow: 0 0 0 3px rgba(21,71,212,.08);
}
.contact-form .wpcf7-submit {
  width: 100%;
  background: #1547D4;
  color: #fff !important;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: .97rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.contact-form .wpcf7-submit:hover { background: #1239b0; }

@media(max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .cf7-row { grid-template-columns: 1fr; gap: 0; }
}

/* PAGE HERO LABEL fix – no button look */
.page-hero__label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-size: .68rem !important;
  font-weight: 700 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,.5) !important;
  margin-bottom: 16px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* ============================================================
   CONTENT TABLE (used in page-warum-seo, FAQ etc.)
   ============================================================ */
.content-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.content-table th {
  background: #0A1628;
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.content-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
  vertical-align: top;
}
.content-table tr:last-child td { border-bottom: none; }
.content-table tr:nth-child(even) td { background: var(--gray-50); }
.content-table tr:first-child td { font-weight: 700; color: var(--blue); }

/* ============================================================
   WARUM SEO PAGE
   ============================================================ */
.warum-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.warum-stat {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.warum-stat:last-child { border-right: none; }
.warum-stat__val {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 2.6rem;
  color: #fff;
  line-height: 1;
  font-weight: 700;
}
.warum-stat__lbl {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  line-height: 1.4;
}

.warum-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 1.5rem;
}
.warum-benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  transition: box-shadow .2s, border-color .2s;
}
.warum-benefit:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  border-color: #1547D4;
}
.warum-benefit__icon {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 9px;
  background: #EFF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.warum-benefit strong {
  display: block;
  font-size: .97rem;
  font-weight: 700;
  color: #0A1628;
  margin-bottom: 4px;
}
.warum-benefit p {
  font-size: .88rem;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}

@media(max-width: 768px) {
  .warum-stats { grid-template-columns: repeat(2, 1fr); }
  .warum-stat:nth-child(2) { border-right: none; }
  .warum-benefits { grid-template-columns: 1fr; }
}
