/*
Theme Name: Charge Green OnSite
Theme URI: https://charge-green-onsite.de
Author: Charge Green OnSite GmbH
Author URI: https://charge-green-onsite.de
Description: Modernes Custom-Theme für Charge Green OnSite – Betreiber nachhaltiger Ladeinfrastruktur. Grundgerüst für die Veröffentlichung über WordPress.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: charge-green-onsite
*/

/* ==========================================================================
   Design Tokens
   ========================================================================== */

:root {
  --c-ink: #03071e;
  --c-ink-70: rgba(3, 7, 30, .72);
  --c-ink-50: rgba(3, 7, 30, .52);

  --c-green-900: #073b0f;
  --c-green-700: #026b11;
  --c-green-600: #038916;
  --c-green-400: #10f94c;
  --c-green-50: #eefaf1;
  --c-green-100: #dcf5e3;

  --c-paper: #fbfdfb;
  --c-white: #ffffff;

  --c-gray-600: #5c6b64;
  --c-gray-400: #92a29a;
  --c-gray-200: #e2e9e5;
  --c-gray-100: #f0f4f2;

  --gradient-brand: linear-gradient(135deg, var(--c-green-600) 0%, var(--c-green-400) 100%);

  --font-heading: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(3, 7, 30, .06), 0 1px 1px rgba(3, 7, 30, .04);
  --shadow-md: 0 12px 28px -10px rgba(3, 7, 30, .18);
  --shadow-lg: 0 28px 56px -18px rgba(3, 7, 30, .26);

  --container: 1200px;
  --header-h: 100px;
}

/* ==========================================================================
   Reset & Basiselemente
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; color: var(--c-gray-600); }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--c-green-600); outline-offset: 3px; }

.u-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 640px) { .u-container { padding-inline: 32px; } }

.u-visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.c-section { padding: clamp(56px, 9vw, 112px) 0; }
.c-section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.c-section--dark { background: var(--c-ink); color: var(--c-white); }
.c-section--quote-bg {
  position: relative;
  background-image: url('assets/img/backgrounds/quote-charging-led.jpg');
  background-size: cover;
  background-position: center;
}
.c-section--quote-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 7, 30, .78), rgba(3, 7, 30, .88));
}
.c-section--quote-bg .u-container { position: relative; z-index: 1; }
.c-section--tint { background: var(--c-green-50); }

.c-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-green-600);
  margin-bottom: .75em;
}
.c-section--dark .c-eyebrow { color: var(--c-green-400); }

.c-section__head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.c-section__head--center { margin-inline: auto; text-align: center; }
.c-section__title { font-size: clamp(1.6rem, 1.15rem + 2vw, 2.5rem); }
.c-section__lead { font-size: 1.05rem; }
.c-section--dark .c-section__lead { color: rgba(255,255,255,.72); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.c-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.c-btn--primary {
  background: var(--gradient-brand);
  color: var(--c-white);
  box-shadow: var(--shadow-md);
}
.c-btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.c-btn--ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-gray-200);
}
.c-btn--ghost:hover { border-color: var(--c-green-600); color: var(--c-green-700); }
.c-section--dark .c-btn--ghost { color: var(--c-white); border-color: rgba(255,255,255,.28); }
.c-section--dark .c-btn--ghost:hover { border-color: var(--c-green-400); color: var(--c-green-400); }
.c-btn--block { width: 100%; justify-content: center; }
.c-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ==========================================================================
   Header
   ========================================================================== */

.c-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 253, 251, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(3, 7, 30, .06);
  transition: box-shadow .2s ease;
}
.c-header.is-scrolled { box-shadow: var(--shadow-sm); }
.c-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.c-header__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.c-header__logo img { height: 72px; width: auto; }

.c-nav__list { display: none; align-items: center; gap: 8px; }
.c-nav__list li { list-style: none; }
.c-nav__list a,
.c-nav__link {
  display: inline-block;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .95rem;
  color: var(--c-ink-70);
  transition: background-color .15s ease, color .15s ease;
}
.c-nav__list a:hover,
.c-nav__list li.current-menu-item > a,
.c-nav__link:hover,
.c-nav__link.is-active { background: var(--c-green-50); color: var(--c-green-700); }

.c-header__actions { display: flex; align-items: center; gap: 12px; }
.c-header__actions .c-btn { padding: 11px 22px; font-size: .9rem; }

.c-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-gray-200);
  background: var(--c-white);
}
.c-nav-toggle__bar, .c-nav-toggle__bar::before, .c-nav-toggle__bar::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--c-ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.c-nav-toggle__bar { position: relative; }
.c-nav-toggle__bar::before { position: absolute; top: -6px; }
.c-nav-toggle__bar::after { position: absolute; top: 6px; }
.is-nav-open .c-nav-toggle__bar { background: transparent; }
.is-nav-open .c-nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.is-nav-open .c-nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

.c-mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--c-paper);
  padding: 24px 20px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 90;
  overflow-y: auto;
}
.is-nav-open .c-mobile-nav { opacity: 1; transform: translateY(0); pointer-events: auto; }
.c-mobile-nav__list li { list-style: none; }
.c-mobile-nav__list a,
.c-mobile-nav__link { display: block; padding: 16px 4px; font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; border-bottom: 1px solid var(--c-gray-200); }
.c-mobile-nav__cta { margin-top: 24px; }

@media (min-width: 960px) {
  .c-nav__list { display: flex; }
  .c-nav-toggle, .c-mobile-nav { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.c-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 11vw, 128px) 0 clamp(48px, 8vw, 96px);
  background-image: url('assets/img/backgrounds/hero-charging.jpg');
  background-size: cover;
  background-position: center;
}
.c-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg,
    var(--c-paper) 0%,
    var(--c-paper) 40%,
    rgba(251, 253, 251, .88) 60%,
    rgba(251, 253, 251, .5) 80%,
    rgba(251, 253, 251, .12) 100%);
}
.c-hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle at 50% 50%, rgba(16, 249, 76, .28), rgba(16, 249, 76, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.c-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.c-hero__content { max-width: 640px; }
.c-hero__title { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); max-width: 16ch; }
.c-hero__lead { font-size: 1.1rem; max-width: 46ch; }
.c-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Eyecatcher: CO2-Kennzahl links neben dem Hero-Text */
.c-hero-stat {
  flex-shrink: 0;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 30px 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-gray-200);
}
.c-hero-stat__value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1;
  font-size: clamp(3.2rem, 2.2rem + 4vw, 5.2rem);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.c-hero-stat__label {
  display: block;
  margin-top: 10px;
  max-width: 16ch;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-gray-600);
}

@media (min-width: 800px) {
  .c-hero__inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 56px;
  }
}

@media (min-width: 960px) {
  .c-hero {
    padding-bottom: clamp(120px, 16vw, 220px);
  }
  .c-hero::before {
    background: linear-gradient(100deg,
      var(--c-paper) 0%,
      var(--c-paper) 34%,
      rgba(251, 253, 251, .9) 48%,
      rgba(251, 253, 251, .35) 68%,
      rgba(251, 253, 251, .05) 100%);
  }
}

/* ==========================================================================
   CTA-Block
   ========================================================================== */

.c-cta {
  border-radius: var(--radius-lg);
  background: var(--c-ink);
  color: var(--c-white);
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.c-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(16,249,76,.22), transparent 55%);
}
.c-cta__body { position: relative; z-index: 1; }
.c-cta__title { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); color: var(--c-white); }
.c-cta__text { color: rgba(255,255,255,.72); max-width: 56ch; }
.c-cta__actions { position: relative; z-index: 1; display: flex; }

@media (min-width: 800px) {
  .c-cta { grid-template-columns: 1fr auto; align-items: center; }
}

/* ==========================================================================
   Vision & Mission
   ========================================================================== */

.c-split { display: grid; gap: 32px; }
@media (min-width: 800px) { .c-split { grid-template-columns: repeat(2, 1fr); gap: 28px; } }

.c-value-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  box-shadow: var(--shadow-sm);
}
.c-value-card__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--gradient-brand);
  color: var(--c-white);
  margin-bottom: 18px;
}
.c-value-card__icon svg { width: 24px; height: 24px; }
.c-value-card h3 { font-size: 1.15rem; }

/* ==========================================================================
   Karten-Grids (Ladesäulen, Features, USP, Tarife, Ladebereiche)
   ========================================================================== */

.c-grid { display: grid; gap: 24px; }
.c-grid--4 { grid-template-columns: repeat(2, 1fr); }
.c-grid--3 { grid-template-columns: 1fr; }
.c-grid--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .c-grid--3 { grid-template-columns: repeat(2, 1fr); } .c-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .c-grid--4 { grid-template-columns: repeat(4, 1fr); } .c-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.c-product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.c-product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.c-product-card__media {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--c-green-50), var(--c-white));
  display: flex; align-items: center; justify-content: center;
}
.c-product-card__media svg { width: 46%; height: 46%; color: var(--c-green-600); }
.c-product-card__body { padding: 18px 20px 22px; }
.c-product-card__body h3 { font-size: 1rem; margin-bottom: .2em; }
.c-product-card__body p { font-size: .88rem; margin: 0; }

.c-feature-card { text-align: left; }
.c-feature-card h3 { font-size: 1.1rem; }
.c-feature-card p { font-size: .95rem; }

.c-usp-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
}
.c-usp-card__index {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .8rem;
  color: var(--c-green-600);
  letter-spacing: .06em;
}
.c-usp-card .c-value-card__icon { margin-top: 12px; }
.c-usp-card h3 { font-size: 1.15rem; margin-top: 8px; }
.c-usp-card p { font-size: .93rem; margin: 0; }

.c-price-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  box-shadow: var(--shadow-sm);
}
.c-price-card--highlight {
  background: var(--c-ink);
  color: var(--c-white);
  border-color: var(--c-ink);
  box-shadow: var(--shadow-lg);
}
.c-price-card__type { font-family: var(--font-heading); font-weight: 700; font-size: .95rem; color: var(--c-green-600); }
.c-price-card--highlight .c-price-card__type { color: var(--c-green-400); }
.c-price-card__value { font-family: var(--font-heading); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1vw, 2.6rem); margin: 10px 0 4px; }
.c-price-card__unit { font-size: .85rem; color: var(--c-gray-600); }
.c-price-card--highlight .c-price-card__unit { color: rgba(255,255,255,.65); }
.c-price-card__note { margin-top: 16px; font-size: .88rem; display: flex; align-items: center; gap: 8px; }
.c-price-card__note svg { width: 16px; height: 16px; color: var(--c-green-600); flex-shrink: 0; }
.c-price-card--highlight .c-price-card__note svg { color: var(--c-green-400); }

.c-sector-card {
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--c-green-50);
  border: 1px solid var(--c-green-100);
}
.c-sector-card h3 {
  font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--c-green-700); font-family: var(--font-heading); font-weight: 800;
}
.c-sector-card p { font-size: 1.02rem; color: var(--c-ink-70); margin: 10px 0 0; }

/* ==========================================================================
   Standorte-Karte
   ========================================================================== */

.c-map-section { display: grid; gap: 24px; }
.c-map-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.c-map-stat {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  font-size: .88rem;
  font-weight: 600;
}
.c-map-stat strong { color: var(--c-green-700); }

.c-map-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 16px; }
.c-map-legend__item { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--c-gray-600); }
.c-map-legend__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--c-white); box-shadow: 0 0 0 1px var(--c-gray-200); }
.c-map-legend__dot--ac { background: var(--c-green-600); }
.c-map-legend__dot--dc { background: var(--c-green-900); }

.c-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-gray-200);
  box-shadow: var(--shadow-md);
  background: var(--c-green-50);
}
.c-map__canvas { width: 100%; height: clamp(340px, 50vw, 520px); }
.c-map__consent {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 24px;
  background: linear-gradient(160deg, var(--c-green-50), var(--c-white));
}
.c-map__consent p { max-width: 42ch; font-size: .92rem; margin: 0; }
.c-map.is-loaded .c-map__consent { display: none; }
.leaflet-popup-content { font-family: var(--font-body); font-size: .9rem; }
.leaflet-popup-content strong { font-family: var(--font-heading); }

.c-map-marker {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--c-white);
  box-shadow: var(--shadow-sm);
  background: var(--c-green-600);
}
.c-map-marker--dc { background: var(--c-green-900); }

.c-popup-standort__title { font-family: var(--font-heading); font-weight: 700; margin-bottom: 2px; }
.c-popup-standort__address { color: var(--c-gray-600); margin-bottom: 8px; }
.c-popup-standort__stations { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.c-popup-standort__stations li { display: flex; justify-content: space-between; gap: 12px; }
.c-popup-standort__badge {
  display: inline-block;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 700;
  color: var(--c-white);
  background: var(--c-green-600);
}
.c-popup-standort__badge--dc { background: var(--c-green-900); }

/* ==========================================================================
   Zitat-Block
   ========================================================================== */

.c-quote {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.c-quote__mark { font-family: var(--font-heading); font-size: 3.5rem; color: var(--c-green-400); line-height: 1; margin-bottom: 8px; }
.c-quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem);
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--c-white);
}
.c-section:not(.c-section--dark) .c-quote blockquote { color: var(--c-ink); }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.c-testimonials {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin: 0 -4px;
}
.c-testimonial {
  scroll-snap-align: start;
  flex: 0 0 min(360px, 88vw);
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  box-shadow: var(--shadow-sm);
}
.c-testimonial__stars { color: var(--c-green-600); font-size: .9rem; letter-spacing: 2px; margin-bottom: 12px; }
.c-testimonial__quote { font-size: .98rem; color: var(--c-ink-70); }
.c-testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.c-testimonial__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-white); font-family: var(--font-heading); font-weight: 700; font-size: .9rem;
}
.c-testimonial__name { font-weight: 700; font-size: .92rem; }
.c-testimonial__role { font-size: .82rem; color: var(--c-gray-600); }

/* ==========================================================================
   Partner-Sektion
   ========================================================================== */

.c-partner-banner {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  margin-bottom: clamp(32px, 5vw, 56px);
}
.c-partner-banner__badge {
  font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem;
  color: var(--c-ink);
}
.c-partner-banner a { color: var(--c-green-700); font-weight: 700; }

/* ==========================================================================
   Kontakt
   ========================================================================== */

.c-contact-layout { display: grid; gap: 40px; }
@media (min-width: 900px) { .c-contact-layout { grid-template-columns: .9fr 1.1fr; } }

.c-contact-info { display: grid; gap: 20px; align-content: start; }
.c-contact-info__item { display: flex; gap: 14px; align-items: flex-start; }
.c-contact-info__icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--c-green-50);
  color: var(--c-green-700);
  display: flex; align-items: center; justify-content: center;
}
.c-contact-info__icon svg { width: 20px; height: 20px; }
.c-contact-info__item h3 { font-size: .95rem; margin-bottom: 2px; }
.c-contact-info__item p { margin: 0; font-size: .95rem; }

.c-form { display: grid; gap: 18px; }
.c-form__row { display: grid; gap: 18px; }
@media (min-width: 560px) { .c-form__row--2 { grid-template-columns: 1fr 1fr; } }
.c-field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.c-field input, .c-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-gray-200);
  background: var(--c-white);
  color: var(--c-ink);
}
.c-field input:focus, .c-field textarea:focus { border-color: var(--c-green-600); }
.c-field textarea { resize: vertical; min-height: 130px; }
.c-form__hp { position: absolute; left: -9999px; }
.c-form__notice { padding: 14px 18px; border-radius: var(--radius-sm); font-size: .92rem; margin-bottom: 20px; }
.c-form__notice--success { background: var(--c-green-50); color: var(--c-green-700); }
.c-form__notice--error { background: #fdeceb; color: #9c2b1f; }

/* ==========================================================================
   Footer
   ========================================================================== */

.c-footer { background: var(--c-ink); color: rgba(255,255,255,.7); padding: clamp(48px, 7vw, 80px) 0 28px; }
.c-footer__top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 800px) { .c-footer__top { grid-template-columns: 1.3fr repeat(3, 1fr); } }
.c-footer__brand img { height: 34px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.c-footer__brand p { color: rgba(255,255,255,.6); font-size: .92rem; max-width: 34ch; }
.c-footer__heading { color: var(--c-white); font-family: var(--font-heading); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.c-footer__list { display: grid; gap: 10px; }
.c-footer__list a { font-size: .92rem; }
.c-footer__list a:hover { color: var(--c-green-400); }
.c-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.c-footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
}
.c-footer__social a:hover { border-color: var(--c-green-400); color: var(--c-green-400); }
.c-footer__social svg { width: 16px; height: 16px; }
.c-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 24px; font-size: .82rem; }
.c-footer__bottom a:hover { color: var(--c-green-400); }
.c-footer__credits { margin: 10px 0 0; font-size: .74rem; color: rgba(255,255,255,.45); }
.c-footer__credits a { color: rgba(255,255,255,.6); }
.c-footer__credits a:hover { color: var(--c-green-400); }

/* ==========================================================================
   Generische Seiten (page.php)
   ========================================================================== */

.c-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 5vw, 56px);
  background-image: url('assets/img/backgrounds/page-hero-charging-port.jpg');
  background-size: cover;
  background-position: center;
}
.c-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--c-paper) 0%, rgba(251, 253, 251, .92) 55%, rgba(251, 253, 251, .78) 100%);
}
.c-page-hero .u-container { position: relative; z-index: 1; }
.c-page-hero h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.c-page-content { max-width: 760px; }
.c-page-content h2 { margin-top: 1.6em; font-size: 1.5rem; }
.c-page-content ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.c-page-content li { margin-bottom: .4em; color: var(--c-gray-600); }

.c-back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--c-ink);
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 80;
}
.c-back-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.c-back-top svg { width: 18px; height: 18px; }

.c-error-404 { text-align: center; }
.c-error-404__text { max-width: 48ch; margin-inline: auto; }
