/* =====================================================
   Erdwärme & Bohrtechnik GmbH – Main Stylesheet
   ===================================================== */

/* Self-hosted Variable Fonts (lokal, kein Drittlandtransfer). */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('../fonts/dmsans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('../fonts/dmsans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* E&B Red – primary accent */
  --eb-red: #ED1C24;
  --eb-red-dark: #C41E2A;
  --eb-red-light: #F04E54;
  --eb-red-glow: rgba(237, 28, 36, 0.35);
  /* Unified Green – one tone only */
  --green: #22C55E;
  --green-dark: #16A34A;
  --green-glow: rgba(34, 197, 94, 0.4);
  /* Neutrals */
  --grey-900: #111111;
  --grey-800: #1A1A1A;
  --grey-700: #333333;
  --grey-600: #555555;
  --grey-400: #888888;
  --grey-200: #E5E5E5;
  --grey-100: #F5F5F3;
  --white: #FFFFFF;
  --warm-bg: #FAFAF8;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--grey-700);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* ===================== TOPBAR ===================== */
/* WP: header.php – Topbar Start */
.topbar {
  background: var(--grey-900);
  color: var(--grey-400);
  font-size: 0.78rem;
  padding: 7px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.topbar a:hover { color: var(--white); }
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.rototech-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 100px;
  padding: 3px 12px 3px 8px;
  font-size: 0.7rem;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rototech-badge svg { width: 13px; height: 13px; }

/* ===================== NAV ===================== */
/* WP: header.php – Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.navbar.scrolled { box-shadow: 0 2px 30px rgba(0,0,0,0.06); }
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 80px;
  width: auto;
}
.nav-rototec {
  display: flex;
  align-items: center;
  margin-right: 8px;
  padding-right: 12px;
  border-right: 1px solid var(--grey-200);
}
.logo-rototec {
  height: 32px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav-rototec:hover .logo-rototec { opacity: 1; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  color: var(--grey-600);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--grey-900); background: var(--grey-100); }
.nav-cta {
  background: var(--eb-red) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 10px 22px !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 12px var(--eb-red-glow);
}
.nav-cta:hover {
  background: var(--eb-red-dark) !important;
  transform: translateY(-1px);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  overflow: hidden;
}
.lang-switch button {
  background: none;
  border: none;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--grey-400);
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}
.lang-switch button.active {
  background: var(--grey-900);
  color: var(--white);
}
.lang-switch button:hover:not(.active) {
  color: var(--grey-900);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--grey-800); border-radius: 2px;
  transition: all 0.3s;
}
.mobile-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================== HERO ===================== */
/* WP: page-home.php – Hero Section */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--grey-900);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,25,20,0.75) 0%, rgba(15,30,25,0.45) 50%, rgba(15,35,30,0.25) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero-content { max-width: 560px; }

.capacity-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.35);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease both;
}
.capacity-light {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green), 0 0 16px var(--green-glow);
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--green), 0 0 20px var(--green-glow); }
  50% { opacity: 0.5; box-shadow: 0 0 4px var(--green), 0 0 8px var(--green-glow); }
}
.capacity-badge a,
.capacity-badge span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.03em;
  text-decoration: none;
}
.capacity-badge strong {
  color: var(--white);
  font-weight: 800;
}
.capacity-badge a:hover { opacity: 0.85; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s both;
}
.hero h1 .red-text { color: var(--eb-red-light); }
.hero h1 .thin { font-weight: 300; color: rgba(255,255,255,0.5); }

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  margin-bottom: 32px;
  max-width: 460px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-red {
  background: var(--eb-red);
  color: white;
  box-shadow: 0 4px 20px var(--eb-red-glow);
}
.btn-red:hover {
  background: var(--eb-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--eb-red-glow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}

.hero-record {
  margin-top: 44px;
  display: flex;
  align-items: stretch;
  gap: 0;
  animation: fadeInUp 0.6s ease 0.4s both;
}
.hero-record-accent {
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--eb-red), var(--green));
}
.hero-record-content {
  padding-left: 16px;
}
.hero-record-value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-record-value span { color: var(--eb-red-light); }
.hero-record-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  margin-top: 6px;
}
.hero-record-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.hero-visual { animation: fadeInUp 0.8s ease 0.35s both; }
.hero-photo-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  max-height: 520px;
  background: url('../images/bohrgeraet-sonnenaufgang.jpg') center/cover no-repeat;
}
.hero-photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, transparent 40%);
}
.hero-photo-overlay {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  display: flex;
  justify-content: space-between;
}
.hero-photo-stat { text-align: center; }
.hero-photo-stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
}
.hero-photo-stat-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================== PHOTO STRIP ===================== */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  background: var(--grey-900);
  padding: 4px;
}
.photo-strip-item {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background-size: cover;
  background-position: center;
}
.photo-strip-item:nth-child(1) { background-image: url('../images/bohrung-mehrfamilienhaus.jpg'); }
.photo-strip-item:nth-child(2) { background-image: url('../images/bohrkrone-detail.jpg'); }
.photo-strip-item:nth-child(3) { background-image: url('../images/tiefbau-baustelle.jpg'); }
.photo-strip-item:nth-child(4) { background-image: url('../images/neubau-luftaufnahme.jpg'); }

.photo-strip-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, transparent 60%);
}
.photo-strip-item .label {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  left: 14px;
  font-size: 0.72rem;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===================== PROOF BAR ===================== */
.proof-bar {
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
  padding: 26px 0;
}
.proof-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--grey-600);
  font-size: 0.84rem;
  font-weight: 500;
}
.proof-icon {
  width: 36px;
  height: 36px;
  background: var(--grey-100);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.proof-icon svg { width: 18px; height: 18px; }

/* ===================== SERVICES ===================== */
/* WP: page-home.php – Services Section */
.services {
  padding: 100px 0;
  background: var(--warm-bg);
}
.section-header { margin-bottom: 56px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--grey-900);
  margin-bottom: 14px;
}
.section-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--grey-600);
  max-width: 520px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  border-color: rgba(196,30,42,0.1);
}
.service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--eb-red), var(--eb-red-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: white;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--grey-600);
}
.service-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--eb-red);
  background: rgba(196,30,42,0.08);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ===================== EMOTIONAL NATURE SECTION ===================== */
.emotional-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.emotional-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1920&q=85') center/cover no-repeat;
}
.emotional-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,17,17,0.88) 0%, rgba(17,17,17,0.6) 60%, rgba(17,17,17,0.4) 100%);
}
.emotional-section .container {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.emotional-section .section-label { color: var(--green); }
.emotional-section .section-label::before { background: var(--green); }
.emotional-quote {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 18px;
}
.emotional-quote .highlight { color: var(--green); }
.emotional-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
}

/* ===================== CAPACITY B2B ===================== */
/* WP: page-home.php – Capacity Section */
.capacity {
  padding: 100px 0;
  background: var(--grey-900);
  position: relative;
  overflow: hidden;
}
.capacity::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 80% 30%, rgba(196,30,42,0.06) 0%, transparent 60%);
}
.capacity .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.capacity-content .section-label { color: var(--green); }
.capacity-content .section-label::before { background: var(--green); }
.capacity-content .section-title { color: var(--white); }
.capacity-content .section-desc { color: rgba(255,255,255,0.55); }

.capacity-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 28px;
}
.capacity-status-light {
  width: 14px;
  height: 14px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green), 0 0 20px var(--green-glow);
  animation: blink 1.5s ease-in-out infinite;
}
.capacity-status-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}
.capacity-status-text:hover { color: white; }
.capacity-status-text strong {
  color: var(--green);
  font-weight: 800;
  font-size: 1rem;
}

.capacity-features { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.cap-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.cap-feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.cap-feature-icon svg { width: 18px; height: 18px; }
.cap-feature h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.cap-feature p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.capacity-stats { display: flex; flex-direction: column; gap: 12px; }
.stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s;
}
.stat-card:hover { border-color: rgba(34,197,94,0.2); background: rgba(34,197,94,0.03); }
.stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  min-width: 80px;
}
.stat-value .unit { font-size: 0.9rem; font-weight: 500; color: var(--green); }
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}
.stat-card.highlight {
  background: linear-gradient(135deg, rgba(196,30,42,0.12), rgba(196,30,42,0.05));
  border-color: rgba(196,30,42,0.25);
}
.stat-card.highlight .stat-value { color: var(--eb-red-light); }
.stat-card.highlight .stat-label strong { color: var(--eb-red-light); font-weight: 600; }

/* ===================== AUDIENCES ===================== */
.audiences {
  padding: 100px 0;
  background: var(--warm-bg);
}
.audiences-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.audience-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
}
.audience-card.privat { background-image: url('../images/privatbau-bohrung.jpg'); }
.audience-card.gewerbe-industrie { background-image: url('../images/gewerbe-baustelle.jpg'); }

.audience-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}
.audience-content {
  position: relative;
  z-index: 2;
  padding: 28px;
}
.audience-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 12px;
}
.audience-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.audience-card ul li {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  gap: 8px;
}
.audience-card ul li::before {
  content: '\2192';
  color: var(--eb-red-light);
  font-weight: 600;
}

/* ===================== ADVANTAGES ===================== */
.advantages {
  padding: 100px 0;
  background: var(--white);
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.adv-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--grey-100);
  border-radius: 12px;
  transition: all 0.25s;
}
.adv-item:hover { background: var(--white); box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.adv-check {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--eb-red);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.adv-check svg { width: 14px; height: 14px; }
.adv-item span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--grey-700);
}
.adv-sub {
  display: block;
  font-size: 0.76rem !important;
  font-weight: 400 !important;
  color: var(--grey-600) !important;
  margin-top: 2px;
}

.cert-download {
  margin-top: 32px;
  text-align: center;
}
.cert-download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--grey-900);
  color: white;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
}
.cert-download-link:hover {
  background: var(--eb-red);
}

/* ===================== PROCESS ===================== */
.process {
  padding: 100px 0;
  background: var(--grey-100);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.process-step {
  text-align: center;
  padding: 24px 14px;
  background: var(--white);
  border-radius: 14px;
  transition: all 0.25s;
}
.process-step:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.04); }
.step-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(196,30,42,0.12);
  margin-bottom: 10px;
}
.step-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  background: var(--grey-100);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--eb-red);
}
.step-icon svg { width: 20px; height: 20px; }
.process-step h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--grey-900);
  margin-bottom: 4px;
}
.process-step p {
  font-size: 0.78rem;
  color: var(--grey-600);
}

/* ===================== CTA ===================== */
/* WP: page-home.php – Contact CTA Section */
.cta-section {
  padding: 100px 0;
  background: var(--warm-bg);
}
.cta-box {
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.cta-photo {
  background: url('../images/team-kahla.jpg') center top/cover no-repeat;
  min-height: 400px;
}
.cta-content-side {
  background: var(--grey-900);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.cta-content-side::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--eb-red), var(--green));
}
.cta-content-side h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
}
.cta-content-side h2 .red-text { color: var(--eb-red-light); }
.cta-content-side > p {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-red-solid {
  background: var(--eb-red);
  color: white;
  box-shadow: 0 4px 20px var(--eb-red-glow);
}
.btn-red-solid:hover {
  background: var(--eb-red-dark);
  transform: translateY(-2px);
}
.btn-dark-outline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(255,255,255,0.15);
}
.btn-dark-outline:hover { border-color: rgba(255,255,255,0.4); color: white; }

.cta-info-list { display: flex; flex-direction: column; gap: 12px; }
.cta-info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.cta-info-icon {
  width: 30px; height: 30px; min-width: 30px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
}
.cta-info-icon svg { width: 14px; height: 14px; }
.cta-info-row h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
}
.cta-info-row p {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.4);
}

/* ===================== CONTACT FORM ===================== */
.contact-form-section {
  padding: 80px 0;
  background: var(--grey-100);
}
.contact-form-wrapper {
  max-width: 640px;
  margin: 0 auto;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--grey-700);
}
.form-group label .required { color: var(--eb-red); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--grey-900);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--eb-red);
  box-shadow: 0 0 0 3px var(--eb-red-glow);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--eb-red);
}
.form-error {
  font-size: 0.75rem;
  color: var(--eb-red);
  display: none;
}
.form-error.visible { display: block; }
.form-privacy {
  font-size: 0.78rem;
  color: var(--grey-400);
  line-height: 1.5;
}
.form-privacy a { color: var(--eb-red); }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.visible { display: block; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
}
.form-success p {
  color: var(--grey-600);
  font-size: 0.92rem;
}

/* Inline-Fehler-Banner für serverseitige Antworten (Rate-Limit, 500, etc.) */
.form-banner {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.form-banner[hidden] { display: none !important; }
.form-banner-error {
  background: rgba(196, 30, 42, 0.08);
  border: 1px solid rgba(196, 30, 42, 0.35);
  color: var(--eb-red);
}

/* Submit-Button: Loading / Disabled State */
.contact-form .btn[disabled],
.contact-form .btn[aria-busy="true"] {
  opacity: 0.7;
  cursor: progress;
  pointer-events: none;
}
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ebt-spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes ebt-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-spinner { animation: none; }
}

/* ===================== FOOTER ===================== */
/* WP: footer.php */
footer {
  background: var(--grey-900);
  color: rgba(255,255,255,0.45);
  padding: 60px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .logo-img {
  background: white;
  padding: 6px 10px;
  border-radius: 8px;
}
.footer-brand .logo-name { color: white; }
.footer-brand > p {
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.footer-rototec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
  padding: 5px 12px;
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 6px;
  transition: all 0.2s;
}
.footer-rototec:hover { background: rgba(34,197,94,0.08); }

footer h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 16px;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
footer ul li a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.2s;
}
footer ul li a:hover { color: var(--green); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.84rem;
  margin-bottom: 10px;
}
.footer-contact-item svg { width: 14px; height: 14px; color: var(--eb-red); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-contact-item a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom a:hover { color: white; }
.footer-legal { display: flex; gap: 18px; }

/* ===================== SCROLL ANIMATIONS ===================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== SUBPAGE STYLES ===================== */
.page-hero {
  background: var(--grey-900);
  padding: 80px 0 60px;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.page-content {
  padding: 80px 0;
  background: var(--white);
}
.page-content .container {
  max-width: 800px;
}
.page-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--grey-900);
  margin: 40px 0 16px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--grey-600);
  margin-bottom: 16px;
}
.page-content ul, .page-content ol {
  margin: 0 0 16px 24px;
  color: var(--grey-600);
  font-size: 0.95rem;
  line-height: 1.7;
}
.page-content a { color: var(--eb-red); }
.page-content a:hover { color: var(--eb-red-dark); }
.page-content .btn-red { color: white; }
.page-content .btn-red:hover { color: white; }

/* Förderung specific */
.foerderung-highlight {
  background: linear-gradient(135deg, rgba(34,197,94,0.08), rgba(34,197,94,0.03));
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 16px;
  padding: 32px;
  margin: 32px 0;
}
.foerderung-highlight h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: 12px;
}
.foerderung-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.foerderung-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.foerderung-card .percent {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--eb-red);
}
.foerderung-card .label {
  font-size: 0.82rem;
  color: var(--grey-600);
  margin-top: 4px;
}
.foerderung-note {
  background: rgba(196,30,42,0.06);
  border-left: 4px solid var(--eb-red);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  font-size: 0.9rem;
  color: var(--grey-700);
}

/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--grey-900);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 24px;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
}
.cookie-banner p a { color: var(--green); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-btn {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: all 0.2s;
}
.cookie-btn-accept {
  background: var(--green);
  color: white;
}
.cookie-btn-accept:hover { background: var(--green-dark); }
.cookie-btn-decline {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.1);
}
.cookie-btn-decline:hover { background: rgba(255,255,255,0.12); color: white; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { display: none; }
  .hero { min-height: 70vh; }
  .hero-content { max-width: 100%; }
  .hero-sub { max-width: 100%; }
  .capacity .container { grid-template-columns: 1fr; gap: 40px; }
  .audiences-grid { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; }
  .cta-photo { min-height: 240px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .topbar-left { display: none; }
  .topbar-right { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .topbar { text-align: center; overflow: hidden; }
  .topbar .container { justify-content: center; }
  .rototech-badge { display: none; }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 70px; left: 0; right: 0; background: white;
    padding: 16px 24px; box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  }
  .lang-switch { margin-left: 0; margin-top: 8px; }
  .services-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .cta-content-side { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .foerderung-grid { grid-template-columns: 1fr; }
  /* Reduce section padding on mobile */
  .services, .audiences, .advantages, .process, .contact-form-section { padding: 48px 0; }
  .capacity { padding: 48px 0; }
  /* Hero mobile cleanup */
  .hero { min-height: auto; padding: 100px 0 48px; }
  .hero h1 { font-size: 2rem; margin-bottom: 14px; }
  .hero-sub { font-size: 0.92rem; line-height: 1.55; margin-bottom: 24px; }
  .capacity-badge { padding: 6px 14px; margin-bottom: 18px; }
  .capacity-badge a, .capacity-badge span { font-size: 0.75rem; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-record { margin-top: 24px; padding: 14px 18px; }
  .hero-record-value { font-size: 2rem; }
  .hero-record-label { font-size: 0.72rem; }
  .hero-record-sub { font-size: 0.62rem; }
  /* Proof bar: 2x2 grid on mobile */
  .proof-bar .container { flex-wrap: wrap; gap: 12px; }
  .proof-item { flex: 0 0 calc(50% - 6px); font-size: 0.72rem; gap: 6px; }
  .proof-item img { height: 24px !important; }
  /* Stats: 2 columns on mobile */
  .capacity-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card.highlight { grid-column: 1 / -1; }
  .stat-value { font-size: 2rem; }
  /* Service cards compact */
  .service-card { padding: 20px; }
  .service-icon { width: 40px; height: 40px; margin-bottom: 12px; }
  /* Section headers compact */
  .section-title { font-size: 1.6rem; }
  .section-desc { font-size: 0.88rem; }
  .section-label { font-size: 0.7rem; }
  /* Logo smaller on mobile */
  .logo-img { height: 52px; }
  .nav-rototec { display: none; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .topbar-right > a[href^="mailto"] { display: none; }
  .topbar { font-size: 0.72rem; }
}
