/*
Theme Name:  MalerMarketing
Theme URI:   https://malermarketing.net
Author:      eBMS Online Marketing – Henk du Bruyn
Author URI:  https://malermarketing.net
Description: Custom-Theme für MalerMarketing.net. Kein Page Builder, minimales JS, Core Web Vitals optimiert. Design-System: Navy/Rot, Montserrat + Nunito Sans.
Version:     1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License:     GPL v2 or later
Text Domain: malermarketing
*/

/* ============================================================
   GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@600;700;800&family=Nunito+Sans:wght@400;500;600&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES — MalerMarketing Design-System
   ============================================================ */
:root {
  /* Brand Colors */
  --color-navy:          #1A1A2E;   /* Hero, primäre dunkle Sections */
  --color-navy-mid:      #16213E;   /* sekundäre dunkle Sections, Stats */
  --color-navy-deep:     #0F0F1C;   /* Footer */
  --color-red:           #E63946;   /* Brand Red – CTA, Highlights, Divider */
  --color-red-dark:      #c0222e;

  /* Aliases (für Template-Konsistenz) */
  --color-primary:       var(--color-navy);
  --color-primary-dark:  var(--color-navy-deep);
  --color-primary-light: #F4F6F8;
  --color-accent:        var(--color-red);
  --color-accent-dark:   var(--color-red-dark);

  /* Neutrals */
  --color-text:          #1a1a1a;
  --color-text-muted:    #666;
  --color-text-light:    rgba(255,255,255,0.85);
  --color-text-lighter:  rgba(255,255,255,0.60);
  --color-border:        #e0e0e0;
  --color-border-dark:   rgba(255,255,255,0.12);
  --color-bg:            #ffffff;
  --color-bg-subtle:     #F4F6F8;
  --color-bg-dark:       var(--color-navy-deep);

  /* Typography */
  --font-heading: "Montserrat", system-ui, sans-serif;
  --font-body:    "Nunito Sans", system-ui, sans-serif;
  --font-stats:   "Bebas Neue", "Montserrat", sans-serif;
  --font-sans:    "Nunito Sans", system-ui, sans-serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;

  --leading-tight:  1.2;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max:    1080px;
  --container-wide:   1280px;
  --container-narrow: 720px;
  --container-pad:    clamp(1rem, 4vw, 2rem);

  /* UI */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.10);
  --shadow-md:  0 4px 16px rgba(0,0,0,.14);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.18);
  --shadow-red: 0 4px 20px rgba(230,57,70,.35);

  --transition: 200ms ease;
  --transition-slow: 350ms ease;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.container--wide   { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }

.section         { padding-block: var(--space-20); }
.section--sm     { padding-block: var(--space-16); }
.section--lg     { padding-block: var(--space-24); }
.section--dark   { background: var(--color-navy); color: #fff; }
.section--mid    { background: var(--color-navy-mid); color: #fff; }
.section--subtle { background: var(--color-bg-subtle); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--leading-tight);
  font-weight: 700;
  color: var(--color-text);
}
h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); font-weight: 800; }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl),  2.5vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--text-xl);
  line-height: var(--leading-loose);
  color: var(--color-text-muted);
}

/* Entity Pill — rotes Label über H2 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3em .9em;
  border-radius: 3px;
  margin-bottom: var(--space-4);
}

/* Roter Divider unter H2 (Elementor-Stil) */
.section-title {
  position: relative;
  margin-bottom: var(--space-6);
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--color-red);
  margin-top: var(--space-3);
  border-radius: 2px;
}
.section-title--center::after { margin-inline: auto; }

/* Light text variants for dark sections */
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--mid  h1,
.section--mid  h2,
.section--mid  h3 { color: #fff; }

.section--dark p,
.section--mid  p  { color: var(--color-text-light); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: .8em 2em;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-base);
  letter-spacing: .03em;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  text-decoration: none !important;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-red);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-red-dark);
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--color-red);
  border: 2px solid var(--color-red);
}
.btn--outline:hover {
  background: var(--color-red);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--dark {
  background: var(--color-navy);
  color: #fff;
}
.btn--dark:hover { background: var(--color-navy-mid); }
.btn--lg { font-size: var(--text-lg); padding: .9em 2.4em; }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  height: 68px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none !important;
}
.site-logo svg,
.site-logo img { height: 40px; width: auto; }

/* Nav */
.primary-nav { display: flex; align-items: center; gap: var(--space-1); }
.primary-nav > li { position: relative; }

.primary-nav > li > a {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,.85);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.primary-nav > li > a:hover,
.primary-nav > li > a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,.08);
  text-decoration: none;
}
.primary-nav > li > a[aria-current="page"] {
  color: var(--color-red);
}

/* Dropdown */
.primary-nav .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  background: var(--color-navy-mid);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  z-index: 200;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { display: block; }

.primary-nav .sub-menu a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.75);
}
.primary-nav .sub-menu a:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  text-decoration: none;
}

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: var(--space-3); flex-shrink: 0; }
.header-phone {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,.7);
}
.header-phone:hover { color: #fff; text-decoration: none; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.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); }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-navy-deep);
  color: rgba(255,255,255,.75);
  padding-block: var(--space-16) var(--space-8);
}
.site-footer a { color: rgba(255,255,255,.6); }
.site-footer a:hover { color: #fff; text-decoration: none; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer-brand p {
  font-size: var(--text-sm);
  margin-top: var(--space-4);
  line-height: var(--leading-loose);
  color: rgba(255,255,255,.55);
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-red);
  display: inline-block;
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-col ul li a { font-size: var(--text-sm); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.35); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ============================================================
   HERO SECTION — Dark Navy + Red accent
   ============================================================ */
.hero {
  background: var(--color-navy);
  color: #fff;
  padding-block: var(--space-24);
  position: relative;
  overflow: hidden;
}

/* Subtle geometric background pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(230,57,70,.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(22,33,62,.8) 0%, transparent 50%);
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 1; max-width: 820px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(230,57,70,.15);
  border: 1px solid rgba(230,57,70,.4);
  color: var(--color-red);
  border-radius: 3px;
  padding: .3em .9em;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero h1 {
  color: #fff;
  margin-bottom: var(--space-6);
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
}
.hero h1 .red { color: var(--color-red); }

/* Warning box — "Viele Betriebe denken gerade nicht ans Marketing" */
.hero__warning {
  background: rgba(230,57,70,.12);
  border-left: 4px solid var(--color-red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: var(--space-4) var(--space-6);
  margin-bottom: var(--space-8);
  font-size: var(--text-base);
  color: rgba(255,255,255,.85);
  line-height: var(--leading-loose);
}
.hero__warning strong { color: #fff; }

.hero .lead {
  color: rgba(255,255,255,.8);
  max-width: 640px;
  margin-bottom: var(--space-8);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-12);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(255,255,255,.1);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,.75);
}
.trust-item svg { color: var(--color-red); flex-shrink: 0; }

/* ============================================================
   REALITY CHECK — two-column card layout (Heute vs Morgen)
   ============================================================ */
.reality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.reality-card {
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
}
.reality-card--today  { background: var(--color-bg); }
.reality-card--risk   { background: #fff5f5; border-color: rgba(230,57,70,.2); }
.reality-card__label {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.reality-card--today  .reality-card__label { color: #2d6a4f; }
.reality-card--risk   .reality-card__label { color: var(--color-red); }
.reality-card h3 { font-size: var(--text-xl); margin-bottom: var(--space-4); }
.reality-card ul { display: flex; flex-direction: column; gap: var(--space-2); }
.reality-card li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.reality-card li::before {
  content: '✓';
  color: #2d6a4f;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.reality-card--risk li::before { content: '✗'; color: var(--color-red); }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: box-shadow var(--transition-slow), transform var(--transition-slow);
  text-decoration: none !important;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-red);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
  transform-origin: left;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  text-decoration: none;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(230,57,70,.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-red);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}
.service-card p  { font-size: var(--text-sm); color: var(--color-text-muted); flex: 1; line-height: var(--leading-loose); }
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-5);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-red);
}

/* ============================================================
   STATS BAR — dark navy background
   ============================================================ */
.stats-bar {
  background: var(--color-navy-mid);
  color: #fff;
  padding-block: var(--space-12);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}
.stat-item__num {
  font-family: var(--font-stats);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--color-red);
  letter-spacing: .02em;
}
.stat-item__label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.65);
  margin-top: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.steps { counter-reset: steps; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-8);
}

.step-item { position: relative; }
.step-item__num {
  counter-increment: steps;
  font-family: var(--font-stats);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-red);
  margin-bottom: var(--space-3);
  opacity: .9;
}
.step-item__num::before { content: "0" counter(steps); }
.step-item h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: #fff;
}
.step-item p  { font-size: var(--text-sm); color: rgba(255,255,255,.65); line-height: var(--leading-loose); }

/* ============================================================
   USP SECTION (Warum MalerMarketing.net?)
   ============================================================ */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}
.usp-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.usp-card__icon {
  width: 44px;
  height: 44px;
  background: var(--color-red);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: #fff;
}
.usp-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: #fff;
  margin-bottom: var(--space-3);
}
.usp-card p { font-size: var(--text-sm); color: rgba(255,255,255,.65); line-height: var(--leading-loose); }

/* ============================================================
   TARGET GROUPS GRID
   ============================================================ */
.targets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
}
.target-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  border-left: 4px solid var(--color-red);
}
.target-item h3 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.target-item p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}
.testimonial-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: var(--color-red);
}
.testimonial-card__stars svg { width: 18px; height: 18px; }
.testimonial-card blockquote {
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  color: rgba(255,255,255,.8);
  font-style: italic;
  margin-bottom: var(--space-6);
}
.testimonial-card__author { display: flex; align-items: center; gap: var(--space-3); }
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  font-size: var(--text-sm);
  flex-shrink: 0;
}
.testimonial-card__name { font-family: var(--font-heading); font-weight: 700; font-size: var(--text-sm); color: #fff; }
.testimonial-card__role { font-size: var(--text-xs); color: rgba(255,255,255,.5); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: var(--space-2); }

details.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
details.faq-item[open] { border-color: var(--color-red); }

details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-base);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background var(--transition);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item[open] summary { background: #fff5f5; color: var(--color-red); }
details.faq-item summary:hover { background: var(--color-bg-subtle); }

.faq-item__icon { flex-shrink: 0; width: 20px; height: 20px; transition: transform var(--transition); }
details.faq-item[open] .faq-item__icon { transform: rotate(45deg); color: var(--color-red); }

.faq-item__body { padding: var(--space-4) var(--space-6) var(--space-6); font-size: var(--text-sm); line-height: var(--leading-loose); color: var(--color-text-muted); }

/* ============================================================
   CTA SECTION — Red background
   ============================================================ */
.cta-section {
  background: var(--color-red);
  color: #fff;
  text-align: center;
  padding-block: var(--space-20);
}
.cta-section h2 { color: #fff; font-family: var(--font-heading); margin-bottom: var(--space-4); }
.cta-section p  { color: rgba(255,255,255,.9); font-size: var(--text-xl); margin-bottom: var(--space-8); max-width: 640px; margin-inline: auto; }

.cta-section .btn--dark {
  background: var(--color-navy);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.cta-section .btn--dark:hover { background: var(--color-navy-mid); transform: translateY(-2px); }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { background: var(--color-bg-subtle); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}
.contact-info h2 { margin-bottom: var(--space-4); }
.contact-info p  { color: var(--color-text-muted); margin-bottom: var(--space-6); }
.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}
.contact-detail svg { color: var(--color-red); flex-shrink: 0; }

.contact-form-wrap {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.form-field { margin-bottom: var(--space-4); }
.form-field label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: .7em 1em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-family: var(--font-body);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--color-bg);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(230,57,70,.12);
}
.form-field textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   BLOG / ARCHIVE
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}
.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-slow), transform var(--transition-slow);
  background: var(--color-bg);
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-card__thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--color-bg-subtle); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.post-card:hover .post-card__thumb img { transform: scale(1.04); }
.post-card__body { padding: var(--space-6); flex: 1; display: flex; flex-direction: column; }
.post-card__cat {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-red);
  margin-bottom: var(--space-2);
}
.post-card h2, .post-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  line-height: var(--leading-tight);
}
.post-card h2 a, .post-card h3 a { color: var(--color-text); }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--color-red); text-decoration: none; }
.post-card p { font-size: var(--text-sm); color: var(--color-text-muted); flex: 1; line-height: var(--leading-loose); }
.post-card__meta { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-4); }

/* ============================================================
   ENTRY CONTENT (Einzelseite)
   ============================================================ */
.entry-header { margin-bottom: var(--space-8); }
.entry-meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.entry-content {
  font-size: var(--text-lg);
  line-height: var(--leading-loose);
  max-width: var(--container-narrow);
}
.entry-content h2 { font-family: var(--font-heading); margin: var(--space-8) 0 var(--space-4); font-size: var(--text-2xl); }
.entry-content h3 { font-family: var(--font-heading); margin: var(--space-6) 0 var(--space-3); font-size: var(--text-xl); }
.entry-content ul, .entry-content ol { margin: var(--space-4) 0 var(--space-4) var(--space-6); }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: var(--space-2); }
.entry-content blockquote {
  border-left: 4px solid var(--color-red);
  padding-left: var(--space-6);
  margin: var(--space-8) 0;
  color: var(--color-text-muted);
  font-style: italic;
  font-size: var(--text-xl);
}
.entry-content a { color: var(--color-red); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-8);
}
.breadcrumb a { color: var(--color-red); }
.breadcrumb__sep { color: var(--color-border); }

/* ============================================================
   PAGE HERO (Unterseiten)
   ============================================================ */
.page-hero {
  background: var(--color-navy);
  color: #fff;
  padding-block: var(--space-16);
  border-bottom: 3px solid var(--color-red);
}
.page-hero .breadcrumb {
  border-color: rgba(255,255,255,.15);
  color: rgba(255,255,255,.5);
  margin-bottom: var(--space-6);
}
.page-hero .breadcrumb a { color: var(--color-red); }
.page-hero h1 { color: #fff; margin-bottom: var(--space-3); }
.page-hero .lead { color: rgba(255,255,255,.75); }

/* ============================================================
   FLOATING CALL BUTTON (mobile)
   ============================================================ */
.float-call {
  display: none;
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 999;
  background: var(--color-red);
  color: #fff;
  border-radius: 100px;
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  box-shadow: var(--shadow-red);
  align-items: center;
  gap: var(--space-2);
  text-decoration: none !important;
  transition: background var(--transition), transform var(--transition);
}
.float-call:hover { background: var(--color-red-dark); transform: scale(1.04); }

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-4);
  z-index: 9999;
  background: var(--color-red);
  color: #fff;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
}
.skip-link:focus { left: var(--space-4); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .contact-grid  { grid-template-columns: 1fr; }
  .reality-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .primary-nav,
  .header-phone { display: none; }

  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 68px;
    background: var(--color-navy);
    padding: var(--space-8) var(--container-pad);
    overflow-y: auto;
    z-index: 99;
    gap: 0;
  }
  .primary-nav.is-open > li > a {
    padding: var(--space-4);
    font-size: var(--text-lg);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .primary-nav.is-open .sub-menu {
    position: static;
    border: none;
    box-shadow: none;
    padding-left: var(--space-4);
    display: block;
    background: transparent;
  }

  .nav-toggle { display: flex; }

  .footer-grid   { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float-call    { display: flex; }

  .hero              { padding-block: var(--space-16); }
  .services-grid,
  .steps-grid,
  .testimonials-grid,
  .usp-grid,
  .targets-grid,
  .posts-grid        { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid      { grid-template-columns: 1fr 1fr; }
  .hero__trust     { gap: var(--space-4); }
  .hero__actions   { flex-direction: column; }
  .header-cta .btn { display: none; }
}
