/* ============================================
   Solarkraftwerk Sonneberg – B2B Onepager
   Farben: #1e3a8a (Dunkelblau), #10b981 (Hellgrün), Weiß, Grau
   Mobil-first, seriös, conversion-fokussiert
   ============================================ */

:root {
  --color-primary: #1e3a8a;
  --color-primary-dark: #1e3a5f;
  --color-accent: #10b981;
  --color-accent-hover: #0d9668;
  --color-white: #ffffff;
  --color-gray-50: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-500: #64748b;
  --color-gray-700: #334155;
  --color-gray-900: #0f172a;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-max: 1120px;
  --section-padding: clamp(3rem, 8vw, 5.5rem);
  --header-height: 130px;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.35s ease;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-on-scroll { opacity: 1; transform: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-gray-900);
  background-color: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ----- Scroll-Animationen ----- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.referenz-card.animate-on-scroll {
  transition-delay: calc(0.1s * (var(--delay, 0)));
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
}

/* ----- Header ----- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
}

.header .container {
  position: relative;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo img {
  display: block;
  height: clamp(72px, 14vw, 120px);
  width: auto;
  max-width: 400px;
  object-fit: contain;
  object-position: left center;
  transition: opacity var(--transition-fast);
}

.logo:hover img {
  opacity: 0.9;
}

.header .nav {
  display: none;
  gap: 1.5rem;
}

.header .nav a {
  color: var(--color-gray-700);
  font-weight: 500;
}

.header .nav a:hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-gray-700);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-gray-200);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .header .nav {
    display: flex;
  }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  min-height: 48px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition-medium), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn--primary:active {
  transform: translateY(0);
}

/* ----- Hero ----- */
.hero {
  position: relative;
  color: var(--color-white);
  padding: clamp(3.5rem, 10vw, 6rem) 0;
  text-align: center;
  background-color: var(--color-primary);
  background-image: linear-gradient(135deg, rgba(30, 58, 138, 0.92) 0%, rgba(30, 58, 95, 0.88) 100%),
    url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero .container > * {
  position: relative;
  z-index: 1;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero__sub {
  margin: 0 0 0.75rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.95;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero__intro {
  margin: 0 0 2rem;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.65;
  opacity: 0.92;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn {
  margin: 0;
}

/* ----- Banner-Trennwände (einheitliche Höhe für saubere Optik) ----- */
.banner-trennwand {
  position: relative;
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--color-gray-200);
  overflow: hidden;
}

.banner-trennwand::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.4) 100%);
  pointer-events: none;
}

.banner-trennwand--1 {
  background-image: url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?w=1920&q=80');
}

.banner-trennwand--2 {
  background-image: url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?w=1920&q=80');
}

.banner-trennwand--3 {
  background-image: url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?w=1920&q=80');
}

.banner-trennwand--4 {
  background-image: url('https://images.unsplash.com/photo-1532601224476-15c79f2f7a51?w=1920&q=80');
}

.banner-trennwand--5 {
  background-image: url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?w=1920&q=80');
}

/* ----- Über uns ----- */
.ueber-uns {
  position: relative;
  padding: var(--section-padding) 0;
  background-color: var(--color-white);
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.98) 100%),
    url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ueber-uns__content {
  max-width: 720px;
  margin: 2rem auto 0;
}

.ueber-uns__lead {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-gray-900);
  margin-bottom: 1.25rem;
}

.ueber-uns__content p {
  margin: 0 0 1.25rem;
  color: var(--color-gray-700);
  line-height: 1.65;
}

.ueber-uns__content p:last-child {
  margin-bottom: 0;
}

/* ----- Ablauf (So einfach funktioniert's) – horizontal nebeneinander ----- */
.ablauf {
  position: relative;
  padding: var(--section-padding) 0;
  background-color: var(--color-gray-50);
  background-image: linear-gradient(to bottom, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.98) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid var(--color-gray-200);
}

.ablauf__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.ablauf__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Kleiner dunkelblauer Kreis mit Nummer (oben) */
.ablauf__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  line-height: 1;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* Großer heller Kreis mit Icon */
.ablauf__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(30, 58, 138, 0.08);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.25s ease;
}

.ablauf__step:hover .ablauf__icon-wrap {
  transform: scale(1.15);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.2);
  background: rgba(30, 58, 138, 0.12);
}

.ablauf__icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  transition: transform 0.35s ease;
}

.ablauf__step:hover .ablauf__icon {
  transform: scale(1.1);
}

.ablauf__title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

.ablauf__text {
  margin: 0;
  color: var(--color-gray-700);
  line-height: 1.6;
  font-size: 0.9375rem;
  max-width: 320px;
}

.ablauf__cta-text {
  margin: 2.5rem 0 1rem;
  text-align: center;
  color: var(--color-gray-700);
  font-size: 1rem;
}

.ablauf__cta-wrap {
  text-align: center;
}

/* Ab Tablet: 3 Schritte nebeneinander */
@media (min-width: 768px) {
  .ablauf__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .ablauf__text {
    max-width: 100%;
  }
}

@media (min-width: 900px) {
  .ablauf__steps {
    gap: 2.5rem;
  }
}

/* ----- Section titles ----- */
.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
}

.section-intro {
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--color-gray-700);
  max-width: 600px;
  padding: 0 0.5rem;
}

/* ----- Vorteile (durchsichtige Karten, Ihre Herausforderung / Unsere Lösung) ----- */
.vorteile {
  position: relative;
  padding: var(--section-padding) 0;
  background-color: #1e293b;
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.9) 100%),
    url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.vorteile__title {
  color: var(--color-white);
}

.vorteile__intro {
  color: rgba(255, 255, 255, 0.88);
}

.vorteile__grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
  align-items: stretch;
}

/* Karten gleiche Höhe pro Zeile: erste 3 und letzte 3 in einer Höhe */
.vorteil-card {
  display: flex;
  flex-direction: column;
  background: rgba(30, 41, 59, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transition: box-shadow var(--transition-medium), transform var(--transition-medium), border-color var(--transition-fast);
}

.vorteil-card:hover {
  background: rgba(30, 41, 59, 0.78);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.vorteil-card__icon-wrap {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 58, 138, 0.85);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.vorteil-card__icon {
  width: 32px;
  height: 32px;
  color: var(--color-white);
}

.vorteil-card__icon svg {
  width: 100%;
  height: 100%;
}

/* Feste Höhe für Titel, damit Blockbereich in allen Karten gleich startet → Trennlinie auf einer Höhe */
.vorteil-card__title {
  margin: 0 0 1.25rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-white);
  height: 2.6em;
  min-height: 2.6em;
}

/* Zwei Blöcke: gleiche Höhe, damit die Trennlinie in allen Karten einer Zeile auf einer Höhe liegt */
.vorteil-card__blocks {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  margin-top: 1.25rem;
  flex: 1;
  min-height: 0;
}

.vorteil-card__block {
  margin-top: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.vorteil-card__block .vorteil-card__list {
  flex: 1;
  min-height: 0;
}

.vorteil-card__block:first-child {
  padding-top: 0;
  border-top: none;
}

/* Icon nur einmal in der Überschrift: grünes Häkchen oder rote Kugel */
.vorteil-card__heading {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vorteil-card__block--solution .vorteil-card__heading::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.vorteil-card__block--challenge .vorteil-card__heading::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ef4444;
}

/* Schlichte Aufzählung ohne Icon pro Zeile */
.vorteil-card__list {
  margin: 0;
  padding-left: 1.25rem;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.vorteil-card__list li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.vorteil-card__list li::before {
  content: '–';
  position: absolute;
  left: -1.25rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.vorteil-card__list li:last-child {
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .vorteile__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 960px) {
  .vorteile__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* ----- Referenzen / Kundenstimmen ----- */
.referenzen {
  padding: var(--section-padding) 0;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
}

.referenzen__grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.referenz-card {
  background: var(--color-white);
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-medium), transform var(--transition-medium), border-color var(--transition-fast);
  position: relative;
}

.referenz-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.25);
}

.referenz-card__quote {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  font-size: 3rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.35;
  font-family: Georgia, serif;
}

.referenz-card__text {
  margin: 0 0 1.25rem;
  padding-top: 0.5rem;
  padding-left: 0;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--color-gray-700);
  font-style: italic;
  border: none;
}

.referenz-card__author {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-gray-200);
}

.referenz-card__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-gray-900);
}

.referenz-card__role {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

@media (min-width: 640px) {
  .referenzen__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 900px) {
  .referenzen__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* ----- Leistungen (modern, seriös) ----- */
.leistungen {
  position: relative;
  padding: var(--section-padding) 0;
  background-color: var(--color-white);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.leistungen__grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.leistung-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.25s ease;
}

.leistung-card:hover {
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
  border-color: rgba(30, 58, 138, 0.15);
}

.leistung-card__img {
  aspect-ratio: 16 / 10;
  background: var(--color-gray-100);
  overflow: hidden;
}

.leistung-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.leistung-card:hover .leistung-card__img img {
  transform: scale(1.04);
}

.leistung-card__content {
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.leistung-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.leistung-card__content p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-gray-700);
}

@media (min-width: 640px) {
  .leistungen__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 960px) {
  .leistungen__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* ----- Kontakt ----- */
.kontakt {
  position: relative;
  padding: var(--section-padding) 0;
  background-color: var(--color-gray-50);
  background-image: linear-gradient(to bottom, rgba(248, 250, 252, 0.96) 0%, rgba(241, 245, 249, 0.97) 100%),
    url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.form-message {
  max-width: 560px;
  margin: 0 auto 1rem;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  display: none;
}

.form-message.is-visible {
  display: block;
}

.form-message--success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--color-accent);
  color: var(--color-gray-900);
}

.form-message--error {
  background: rgba(185, 28, 28, 0.08);
  border: 1px solid #b91c1c;
  color: var(--color-gray-900);
}

.form-message--error a {
  font-weight: 500;
}

.kontakt-form {
  max-width: 560px;
  margin: 2rem auto 0;
  display: grid;
  gap: 1.25rem;
}

.kontakt-form__row label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-gray-700);
}

.kontakt-form__row input,
.kontakt-form__row textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  min-height: 48px;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-gray-900);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.kontakt-form__row input:focus,
.kontakt-form__row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}

.kontakt-form__row textarea {
  resize: vertical;
  min-height: 120px;
}

.required {
  color: #b91c1c;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.kontakt-form__row--full {
  grid-column: 1 / -1;
}

.kontakt-form__submit {
  margin-top: 0.5rem;
}

.kontakt-form__submit .btn {
  width: 100%;
}

@media (min-width: 640px) {
  .kontakt-form {
    grid-template-columns: 1fr 1fr;
  }

  .kontakt-form__row--full {
    grid-column: 1 / -1;
  }

  .kontakt-form__submit .btn {
    width: auto;
    min-width: 200px;
  }
}

/* ----- Footer ----- */
.footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 2rem 0;
  text-align: center;
}

.footer__logo {
  display: inline-block;
  margin: 0 auto 0.75rem;
}

.footer__logo img {
  height: clamp(140px, 22vw, 200px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.95;
}

.footer__brand {
  margin: 0 0 0.25rem;
  font-weight: 700;
  font-size: 1.125rem;
}

.footer__address {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  opacity: 0.9;
}

.footer__nav a {
  color: var(--color-white);
  opacity: 0.9;
}

.footer__nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer__sep {
  margin: 0 0.5rem;
  opacity: 0.6;
}

.footer__copy {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* ----- Legal pages (Impressum, AGB, Datenschutz) ----- */
.page-legal {
  padding: calc(var(--header-height) + 2rem) 0 var(--section-padding);
  min-height: 100vh;
}

.page-legal .container {
  max-width: 720px;
}

.page-legal h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
}

.page-legal h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gray-900);
}

.page-legal p,
.page-legal ul {
  margin: 0 0 1rem;
  color: var(--color-gray-700);
}

.page-legal ul {
  padding-left: 1.5rem;
}

.page-legal a {
  color: var(--color-primary);
}

.page-legal .back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.page-legal .back-link:hover {
  text-decoration: underline;
}
