/* ==========================================================================
   Akman Mietgeräte – Stylesheet
   Stil: Confident Industrial – Barlow Condensed / Barlow, Petrol + Amber
   ========================================================================== */

/* ---- Fonts (self-hosted, DSGVO-konform) ---- */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/barlow-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/barlowcondensed-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlowcondensed-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlowcondensed-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/barlowcondensed-800.woff2') format('woff2');
}

/* ---- Design Tokens ---- */
:root {
  /* Farben — Rot/Schwarz-Neuausrichtung 2026-08-27 (vorher warmes Anthrazit/Amber,
     siehe DESIGN.md §2 für Historie und Kontrast-Nachweise). Alle Werte sind
     WCAG-AA-geprüft, siehe DESIGN.md. */
  --color-primary: #170F0E;      /* fast Schwarz mit warmem Rot-Unterton, bewusst kein reines #000 */
  --color-primary-light: #3A211D; /* helleres Dunkelrot-Braun, Hover-Zustand auf --color-primary */
  --color-accent: #C4291F;       /* kräftiges Rot (dekorativ: Icons, Badges, Flächen, Headline-Akzent) */
  --color-accent-dark: #9E2019;  /* Rot, WCAG AA auf hellem Grund und mit weißem Text (7,85:1) */
  --color-accent-darker: #7C1712;
  --color-accent-light: #F0776B; /* helles Korallrot, nur als Text auf dunklem Grund (Primary) */
  --color-success: #2F6B3A;      /* funktionale Erfolgsfarbe, bewusst AUSSERHALB der Rot/Schwarz-Markenpalette,
                                     damit "Erfolg" (Formular) nicht mit der Akzentfarbe "Fehler/Rot" kollidiert */
  --color-bg: #F6F3EE;           /* warmes Off-White */
  --color-bg-alt: #EEE9E0;
  --color-surface: #FFFFFF;
  --color-fg: #211F1C;           /* warmes Off-Black */
  --color-fg-muted: #57534a;
  --color-border: #DFD9CC;

  /* Typografie */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;

  /* Spacing-Rhythmus (8px Basis) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  /* Sonstiges */
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 2px 8px rgba(33, 31, 28, 0.08);
  --shadow-md: 0 12px 32px rgba(23, 15, 14, 0.22); /* war rgba(36,65,63,…) — ein blaustichiges
    Petrol-Grün, das gegen die eigene "kein Blau/Teal"-Regel (§8) verstieß; beim Rot/Schwarz-
    Umbau 2026-08-27 mit auf den Primary-Ton (--color-primary) umgestellt. */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1320px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-fg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-4); }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-fg);
}

h1 { font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3vw + 1rem, 3rem); }
h3 { font-size: clamp(1.4rem, 1.5vw + 1rem, 1.8rem); }

p { max-width: 65ch; color: var(--color-fg-muted); }
p.lead { font-size: 1.15rem; color: var(--color-fg); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}
@media (min-width: 640px) {
  .btn { white-space: nowrap; }
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary {
  background: var(--color-accent-dark);
  color: #FFFFFF;
}
.btn-primary:hover {
  background: var(--color-accent-darker);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: #FFFFFF;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--color-primary);
  color: #FFFFFF;
}
.btn-dark:hover {
  background: var(--color-primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---- Header / Navigation ---- */
/* Header startet transparent über der dunklen Hero/.page-hero-Fläche, die auf
   jeder Seite ganz oben steht, und wird erst ab 80px Scroll (main.js) zur
   blickdichten Leiste – dafür swapt main.js parallel das Logo auf die weiße
   Variante, solange der Header transparent ist. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  box-shadow: 0 1px 0 transparent;
  padding-block: var(--space-3);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: var(--color-bg);
  box-shadow: 0 1px 0 var(--color-border);
  padding-block: 0.7rem;
}
.site-header:not(.is-scrolled) .main-nav a { color: #fff; }
.site-header:not(.is-scrolled) .main-nav a::after { background: var(--color-accent-light); }
.site-header:not(.is-scrolled) .hamburger span { background: #fff; }
/* Menü offen: Header wird dunkel/transparent, Logo+Hamburger weiß (main.js tauscht das Logo) */
.site-header.menu-open { background: transparent; box-shadow: none; }
.site-header.menu-open .hamburger span { background: #fff; }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.logo {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  background: transparent;
  transition: background-color 0.3s var(--ease);
}
.logo-img {
  display: block;
  height: 40px;
  width: auto;
}
@media (min-width: 768px) {
  .logo-img { height: 46px; }
}
.main-nav {
  display: none;
}
@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-4);
  }
}
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-fg);
  position: relative;
  padding-block: 0.3rem;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s var(--ease);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  width: 100%;
}

.nav-cta {
  display: none;
}
@media (min-width: 1024px) {
  .nav-cta { display: inline-flex; }
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  align-items: center;
}
@media (min-width: 1024px) {
  .hamburger { display: none; }
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-fg);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background-color 0.3s var(--ease);
}
.mobile-nav.is-open ~ .site-header .hamburger span,
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 6.5rem var(--space-4) var(--space-4);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: var(--space-1); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}
.mobile-nav .btn { margin-top: var(--space-3); align-self: flex-start; }
@media (min-width: 1024px) { .mobile-nav { display: none; } }

/* ---- Hero (textbasiert, kein Bild, füllt den ersten Bildschirm) ---- */
/* min-height:100dvh statt der festen max(360px, 44dvh)-Werte aus der
   früheren Bild-Version: der Header ist hier transparent (siehe
   .site-header oben) und schwebt über der Sektion, statt Platz zu
   beanspruchen – 100dvh statt 100vh, damit mobile mit ein-/ausblendender
   Adressleiste nicht springt. flex + justify-content:center zentriert den
   Content vertikal; das feste padding-top bleibt als Mindestabstand zum
   Header erhalten, auch auf sehr niedrigen (Querformat-)Viewports. */
.hero {
  position: relative;
  background: var(--color-primary);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem var(--space-3) var(--space-6);
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { padding: 7.5rem var(--space-4) var(--space-7); }
}
/* Foto-Hintergrund: liegt hinter .container (z-index 0), Scrim in Warm-Anthrazit
   sorgt für Textkontrast links, wird nach rechts hin dünner damit das Foto
   erkennbar bleibt. object-position ist bewusst hand-getunt, weil dieses Bild
   ein fest verankertes Deko-Foto ist (kein data-cms-Feld, wird nie über das
   CMS ausgetauscht) – siehe DESIGN.md §4. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(23,15,14,0.7) 0%, rgba(23,15,14,0.5) 40%, rgba(23,15,14,0.1) 66%, rgba(23,15,14,0) 100%), linear-gradient(0deg, rgba(23,15,14,0.3) 0%, rgba(23,15,14,0) 30%);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 35%;
  filter: saturate(1.2) contrast(1.05) brightness(1.2);
}
.hero-content h1, .hero-content .lead { text-shadow: 0 2px 18px rgba(0,0,0,0.55); }
.hero > .container {
  position: relative;
  z-index: 1;
}
.hero-content {
  max-width: 42rem;
  color: #fff;
}
.hero h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: var(--space-2);
}
@media (min-width: 480px) {
  .hero h1 { font-size: 2.9rem; }
}
@media (min-width: 768px) {
  .hero h1 { font-size: 3.3rem; }
}
@media (min-width: 900px) {
  .hero h1 { font-size: 3.4rem; }
}
@media (min-width: 1200px) {
  .hero h1 { font-size: 3.9rem; }
}
@media (min-width: 1440px) {
  .hero h1 { font-size: 4.4rem; }
}
.hero h1 em {
  font-style: normal;
  font-size: 1.15em;
  color: var(--color-accent-light);
}
.hero p.lead {
  color: #fff;
  font-weight: 500;
  font-size: 1.3rem;
  max-width: 46ch;
  margin-bottom: var(--space-4);
}
@media (min-width: 768px) {
  .hero p.lead { font-size: 1.45rem; }
}
@media (max-width: 767px) {
  .hero-content { text-align: center; margin-inline: auto; }
  .hero p.lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ---- Sections ---- */
section { padding-block: var(--space-7); }
.section-tight { padding-block: var(--space-6); }
.section-header {
  max-width: 640px;
  margin-bottom: var(--space-5);
}
.section-header p { margin-top: var(--space-2); }
.section-dark { background: var(--color-primary); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.75); }
.section-alt { background: var(--color-bg-alt); }

/* ---- Intro / Kurzvorstellung (asymmetrisch) ---- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  align-items: start;
}
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-6); }
}
.intro-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.intro-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.intro-figure:hover img { transform: scale(1.04); }
.intro-badge {
  position: absolute;
  bottom: var(--space-2);
  right: var(--space-2);
  background: var(--color-accent);
  color: #fff;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.intro-badge .num { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1; }
.intro-badge .lbl { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }

.intro-copy p { margin-bottom: var(--space-2); font-size: 1.05rem; }
.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.intro-stats .stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--color-primary);
}
.intro-stats .stat-lbl {
  font-size: 0.85rem;
  color: var(--color-fg-muted);
}

/* ---- Kernangebot Cards (asymmetrisches Grid, keine 3 gleichen Karten) ---- */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 700px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .offer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  }
}
.offer-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.offer-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.offer-icon svg { width: 28px; height: 28px; }
.offer-card h3 { font-size: 1.3rem; }
.offer-card p { font-size: 0.95rem; margin: 0; }
.offer-card .offer-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.offer-card .offer-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.offer-card:hover .offer-link svg { transform: translateX(3px); }

/* ---- Mietpark Highlights: Bento (1 Feature + 2 klein) ---- */
.bento-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.bento-header h2 { margin: 0; }
.bento-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-accent-dark);
}
.bento-all-link svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.bento-all-link:hover svg { transform: translateX(3px); }

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 800px) {
  .bento-grid {
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: repeat(2, minmax(160px, 1fr));
    gap: var(--space-3);
  }
}

.bento-feature {
  position: relative;
  display: block;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (min-width: 800px) {
  .bento-feature { grid-row: 1 / 3; min-height: 0; }
}
.bento-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.bento-feature:hover img { transform: scale(1.04); }
.bento-photo { min-height: 220px; }
@media (min-width: 800px) {
  .bento-feature.bento-photo { grid-row: auto; }
}
.bento-feature-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,17,15,0.88) 0%, rgba(20,17,15,0.35) 55%, rgba(20,17,15,0.05) 100%);
}
.bento-feature-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-3);
  color: #fff;
}
.bento-feature-content h3 { color: #fff; font-size: 1.5rem; margin: 0.5rem 0 0.4rem; }
.bento-feature-content p { color: rgba(255,255,255,0.82); font-size: 0.92rem; margin: 0; max-width: 42ch; }

.bento-badge {
  display: inline-block;
  background: var(--color-accent-dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
/* Zweite Badge-Variante bewusst Schwarz statt neutralem Beige/Braun, damit
   "verfügbar" (Rot) und "auf Anfrage" (Schwarz) klar Rot/Schwarz bleiben statt
   Rot/neutral-warm — siehe DESIGN.md §2, 2026-08-27 Rot/Schwarz-Umstellung. */
.bento-badge-alt { background: var(--color-primary); color: #fff; }

.bento-small {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  min-height: 150px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.bento-small:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.bento-small-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: var(--color-primary);
}
.bento-small-top svg { width: 30px; height: 30px; }
.bento-small h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: var(--color-fg); margin: 0 0 0.5rem; }
.bento-details {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-accent-dark);
}
.bento-details svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.bento-small:hover .bento-details svg { transform: translateX(3px); }

/* ---- Trust-Bereich ---- */
.trust-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
}
@media (min-width: 900px) {
  .trust-bar { grid-template-columns: auto 1fr; gap: var(--space-6); }
}
.trust-rating {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.trust-stars { display: flex; gap: 0.2rem; }
.trust-stars svg { width: 22px; height: 22px; color: var(--color-accent); }
.trust-score { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; }
.trust-score span { font-size: 1.3rem; color: var(--color-fg-muted); font-family: var(--font-body); font-weight: 500; }
.trust-source { font-size: 0.85rem; color: var(--color-fg-muted); }

.trust-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
}
.trust-point {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.trust-point .ic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-point .ic svg { width: 20px; height: 20px; }
.trust-point h4 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; margin-bottom: 0.2rem; }
.trust-point p { font-size: 0.9rem; margin: 0; }

/* ---- Kontakt-CTA (großer Bereich) ---- */
/* Bewusst als einzige große Rot-Fläche der Seite (statt Primary/Schwarz) für
   mehr Energie – siehe DESIGN.md §2 "Mutig/lebhafter"-Entscheidung vom
   2026-08-27. Andere dunkle Blöcke (.section-dark, Trust-Icon-Kreise etc.)
   bleiben bei --color-primary, damit Rot als Fläche selten und wirkungsvoll
   bleibt statt inflationär zu werden. */
.cta-block {
  background: var(--color-accent-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-4);
  position: relative;
  overflow: hidden;
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 900px) {
  .cta-block { grid-template-columns: 1.2fr 1fr; align-items: center; padding: var(--space-6) var(--space-5); }
}
.cta-block h2 { color: #fff; margin-bottom: var(--space-2); }
.cta-block p { color: rgba(255,255,255,0.78); }
.cta-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.cta-detail {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
/* Weißer Kreis statt Akzent-Rot: der CTA-Block selbst ist jetzt rot
   (--color-accent-dark), ein rotes Icon darauf würde untergehen (1,4:1
   Kontrast). Weiß + rotes Icon-Symbol ist die Umkehrung und bleibt gut
   lesbar (7,85:1). */
.cta-detail .ic {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cta-detail .ic svg { width: 22px; height: 22px; color: var(--color-accent-dark); }
.cta-detail .lbl { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.6); }
.cta-detail .val { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.cta-detail a.val:hover { text-decoration: underline; }

/* ---- Footer ---- */
.site-footer {
  background: var(--color-fg);
  color: rgba(255,255,255,0.75);
  padding-block: var(--space-6) var(--space-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}
.footer-brand .logo { margin-bottom: var(--space-2); }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; }
.footer-col h2,
.footer-col h3 {
  font-family: var(--font-body);
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding-top: var(--space-3);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover { color: #fff; }

/* ---- Fade-in (Intersection Observer) ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; }
}

/* Zahlen-Count-up (Statistiken/Google-Bewertung): tabular-nums verhindert
   Breiten-"Zittern" der Ziffern während der Animation, siehe main.js für die
   Logik (liest den Zielwert CMS-sicher zur Laufzeit aus dem DOM). */
.count-up { font-variant-numeric: tabular-nums; }

.skip-link:focus {
  left: var(--space-2) !important;
  top: var(--space-2) !important;
}

/* ---- Page Hero (Unterseiten) ---- */
.page-hero {
  background: var(--color-primary);
  color: #fff;
  padding: 9.5rem var(--space-3) var(--space-6);
}
@media (min-width: 768px) {
  .page-hero { padding: 9.5rem var(--space-4) var(--space-6); }
}
.page-hero .eyebrow { color: var(--color-accent-light); }
.page-hero h1 { color: #fff; margin-top: var(--space-2); max-width: 20ch; }
.page-hero p.lead { color: rgba(255,255,255,0.78); max-width: 55ch; margin-top: var(--space-2); }
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.breadcrumb a:hover { color: #fff; }

/* ---- 404 ---- */
.error-hero {
  background: var(--color-primary);
  color: #fff;
  min-height: calc(100dvh - 72px);
  display: flex;
  align-items: center;
  padding: 9.5rem var(--space-3) var(--space-6);
}
@media (min-width: 768px) {
  .error-hero { padding: 9.5rem var(--space-4) var(--space-6); }
}
.error-hero-inner { max-width: 640px; }
.error-code {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 12vw, 8rem);
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}
.error-hero .eyebrow { display: block; margin-bottom: var(--space-1); }
.error-hero h1 { color: #fff; margin-bottom: var(--space-2); }
.error-hero p.lead { color: rgba(255,255,255,0.78); margin-bottom: var(--space-4); }
.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.error-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.error-links a:hover { color: var(--color-accent-light); }

/* ---- Mietpark: Filter-Leiste + Suche ---- */
.equip-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-2);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-4);
}
.equip-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 2px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.equip-filters::-webkit-scrollbar { display: none; }
.equip-filter {
  flex-shrink: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-fg-muted);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.equip-filter:hover { border-color: var(--color-accent-dark); color: var(--color-fg); }
.equip-filter.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.equip-search {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.1rem;
  width: 100%;
  max-width: 320px;
}
.equip-search svg { width: 18px; height: 18px; color: var(--color-fg-muted); flex-shrink: 0; }
.equip-search input {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-fg);
  width: 100%;
}
.equip-search input::placeholder { color: var(--color-fg-muted); }
.equip-search:focus-within { border-color: var(--color-accent-dark); }
.equip-search-empty {
  padding: var(--space-3);
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
}
.equip-card.is-search-hidden { display: none; }

/* ---- Mietpark: CMS-Freitextinhalt (Mietgeräte-Liste) ---- */
.equip-body p { margin-bottom: 0.8rem; font-size: 0.95rem; color: var(--color-fg-muted); }
.equip-body ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--space-3);
}
.equip-body li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.9rem;
  color: var(--color-fg-muted);
}
.equip-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-dark);
}
.equip-body strong { color: var(--color-fg); font-weight: 700; }

/* ---- Mietpark: Geräte-Grid (Karten statt Zickzack) ---- */
.equip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 640px) {
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .equip-grid { grid-template-columns: repeat(3, 1fr); }
}
.equip-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.equip-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.equip-card-media {
  position: relative;
  aspect-ratio: 1/1;
}
.equip-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.equip-card:hover .equip-card-media img { transform: scale(1.04); }
.equip-card-badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  background: var(--color-fg);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}
.equip-card-body { padding: var(--space-3); display: flex; flex-direction: column; flex-grow: 1; }
.equip-card-body h2 { font-size: 1.35rem; margin: 0.4rem 0 0.8rem; }
.equip-card-body .btn { margin-top: auto; align-self: flex-start; }
.equip-card-body p { font-size: 0.92rem; margin-bottom: var(--space-3); }

.spec-table { margin-bottom: var(--space-2); }
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.88rem;
}
.spec-row:first-child { border-top: 1px solid var(--color-border); }
.spec-row span:first-child { color: var(--color-fg-muted); }
.spec-row span:last-child { color: var(--color-fg); font-weight: 700; }

/* ---- Service: Prozess-Schritte ---- */
.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 800px) {
  .process-list { grid-template-columns: repeat(2, 1fr); gap: var(--space-4) var(--space-5); }
}
.process-step {
  display: flex;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-top: 1px solid var(--color-border);
}
.process-step .step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--color-accent);
  line-height: 1;
  flex-shrink: 0;
  width: 3rem;
}
.process-step h3 { font-size: 1.25rem; margin-bottom: 0.3rem; }
.process-step p { margin: 0; font-size: 0.95rem; }

/* ---- Kontaktseite ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 950px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: var(--space-6); }
}
.contact-info-list { display: flex; flex-direction: column; gap: var(--space-3); margin-block: var(--space-4); }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-item .ic {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--color-bg-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item .ic svg { width: 22px; height: 22px; }
.contact-info-item h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-info-item a:hover { color: var(--color-accent-dark); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: var(--space-2); }
.hours-table td { padding: 0.5rem 0; border-bottom: 1px solid var(--color-border); font-size: 0.95rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; }
.hours-table tr:last-child td { border-bottom: none; }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 420px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.map-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-2);
  height: 100%;
  min-height: 420px;
  padding: var(--space-4);
  background: var(--color-bg-alt);
}
.map-consent svg {
  width: 36px;
  height: 36px;
  color: var(--color-primary);
}
.map-consent p {
  font-size: 0.88rem;
  max-width: 40ch;
}
.map-consent a:not(.btn) {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  text-decoration: underline;
}

/* ---- Kontaktformular ---- */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 900px) {
  .contact-form-grid { grid-template-columns: 1.5fr 1fr; gap: var(--space-5); align-items: start; }
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.contact-form .btn { align-self: flex-start; margin-top: 0.25rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.form-field { display: flex; flex-direction: column; gap: 0.6rem; }
.form-field label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-fg);
}
.form-field input, .form-field textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  padding: 0.9rem 1.1rem;
  color: var(--color-fg);
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--color-fg-muted); opacity: 0.7; }
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:hover, .form-field textarea:hover { border-color: var(--color-accent-dark); }
.form-field input:focus-visible, .form-field textarea:focus-visible { border-color: var(--color-accent-dark); box-shadow: 0 0 0 3px rgba(196,41,31,0.15); }
/* Honeypot-Feld: nur für Bots erreichbar, aus Layout und Screenreader-Fluss entfernt */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--color-accent-dark);
}
.form-consent span { font-size: 0.88rem; color: var(--color-fg-muted); line-height: 1.5; }
.form-consent a { color: var(--color-accent-dark); text-decoration: underline; }
.form-consent a:hover { color: var(--color-accent-darker); }
.form-status {
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin: 0;
  max-width: none;
}
.form-status.is-success { background: var(--color-bg-alt); color: var(--color-success); }
.form-status.is-error { background: #F5E3DE; color: #8A3320; }
.contact-form-aside { display: flex; flex-direction: column; gap: var(--space-3); }
.contact-form-aside .btn { justify-content: center; }

/* ---- Legal Pages ---- */
.legal-content {
  max-width: 780px;
}
.legal-content h2 { margin-top: var(--space-5); margin-bottom: var(--space-2); font-size: 1.5rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.15rem; margin-top: var(--space-3); margin-bottom: 0.5rem; }
.legal-content p { max-width: 70ch; margin-bottom: var(--space-2); }
.legal-content ul { margin-bottom: var(--space-2); }
.legal-content li { position: relative; padding-left: 1.2rem; margin-bottom: 0.4rem; color: var(--color-fg-muted); }
.legal-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}
.legal-content a { color: var(--color-accent-dark); text-decoration: underline; }
.legal-note {
  background: var(--color-bg-alt);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--color-fg-muted);
  margin-bottom: var(--space-4);
}

/* ---- Made-by-solutioIT Badge ---- */
.made-by-solutioit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: 999px;
  background: linear-gradient(160deg, #1c2438 0%, #0b0f1a 55%, #05070d 100%);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.made-by-solutioit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.made-by-solutioit__text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #aab2c5;
  white-space: nowrap;
}
.made-by-solutioit__logo {
  height: 15px;
  width: auto;
  display: block;
}
/* ---- Ende Badge ---- */

/* ---- Stärkerer Mietpark-CTA (Hero + unter den Highlights) ---- */
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.1rem; }
.btn-arrow::after { content: '\2192'; font-size: 1.2em; line-height: 1; transition: transform 0.25s var(--ease); }
.btn-arrow:hover::after { transform: translateX(4px); }
@media (max-width: 639px) {
  .hero-actions .btn-lg { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}
