:root {
  --bg: #f5f7fb;
  --bg-soft: #edf2f8;
  --surface: #ffffff;
  --surface-soft: #f1f5fa;
  --surface-blue: #eff5ff;
  --line: #d7e1ef;
  --line-strong: #c5d3e6;
  --text: #10233f;
  --muted: #61708a;
  --accent: #1a4fa3;
  --accent-strong: #113a81;
  --accent-soft: #dbe7fb;
  --accent-warm: #d7c5a1;
  --success: #e8f3e8;
  --shadow: 0 24px 50px rgba(18, 43, 88, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(26, 79, 163, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #f4f7fb 48%, #edf2f8 100%);
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, #103b83 0%, #1b56b0 55%, #235fb8 100%);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(8, 30, 71, 0.2);
}

.topbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 0.18rem 0.4rem 0.18rem 0.18rem;
}

.brand img {
  width: 148px;
  max-width: 42vw;
  object-fit: contain;
  padding: 0.68rem 0.85rem;
}

.brand-copy {
  display: grid;
  gap: 0.22rem;
  min-width: 0;
  padding-right: 0.2rem;
}

.brand-copy strong,
.footer-brand strong {
  font-size: 0.9rem;
  font-family: "Oswald", "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-strong);
}

.brand-copy span,
.footer-brand span,
.small-label,
.meta-note,
.footer-meta {
  color: var(--muted);
  font-size: 0.94rem;
}

.topbar .brand-copy strong {
  color: #ffffff;
}

.topbar .brand-copy span {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
  font-size: 0.88rem;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a.is-current {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.topbar .button {
  background: #ffffff;
  color: var(--accent-strong);
  box-shadow: 0 14px 26px rgba(8, 30, 71, 0.14);
}

.topbar .button:hover {
  background: #f4f8ff;
}

.nav-cta {
  margin-left: 0.55rem;
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-contact-icons,
.nav-social {
  display: flex;
  align-items: center;
}

.nav-contact-icons {
  gap: 0.5rem;
  padding-right: 0.8rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.nav-social {
  gap: 0.35rem;
}

.nav-contact-icons a,
.nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-sizing: border-box;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.nav-contact-icons a {
  gap: 0.45rem;
  min-height: 34px;
  padding: 0 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-social a {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-contact-icons svg,
.nav-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-contact-icons a:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.nav-contact-icons a::after {
  content: attr(aria-label);
}

.nav-social a:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 18px rgba(8, 30, 71, 0.18);
  transform: translateY(-1px);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

@media (min-width: 1024px) {
  .topbar-inner {
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 0;
  }

  .topbar .brand {
    margin-left: 0;
    flex: 0 0 auto;
  }

  .nav {
    position: static;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    margin-left: 1rem;
    transform: none;
  }

  .topbar-actions {
    position: static;
    margin: 0 0 0 auto;
    transform: none;
    flex: 0 0 auto;
  }
}

.button,
.button-secondary,
.button-ghost,
.filter-button,
.carousel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover,
.filter-button:hover,
.carousel-button:hover,
.menu-toggle:hover {
  transform: translateY(-1px);
}

.button {
  background: linear-gradient(135deg, #1b56b0, #103b83);
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(26, 79, 163, 0.18);
}

.button-secondary {
  background: var(--surface);
  color: var(--accent-strong);
  border-color: var(--line-strong);
}

.button-ghost,
.filter-button,
.carousel-button {
  background: var(--surface);
  color: var(--accent-strong);
  border-color: var(--line);
}

.filter-button.is-active {
  background: var(--accent-strong);
  color: #ffffff;
  border-color: var(--accent-strong);
}

.hero-home {
  padding: 2rem 0 3rem;
}

.page-hero {
  padding: 2.4rem 0 2.5rem;
}

.hero-stage {
  position: relative;
  min-height: 720px;
  padding: 0 0 2rem;
}

.hero-stage::before,
.hero-stage::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 0;
}

.hero-stage::before {
  top: 5rem;
  right: 0;
  width: min(32vw, 440px);
  height: 360px;
  background: linear-gradient(180deg, rgba(238, 242, 248, 0.6), rgba(223, 230, 241, 0.95));
}

.hero-stage::after {
  right: 0;
  bottom: 6rem;
  width: min(28vw, 460px);
  height: 270px;
  background: #dfe6ef;
}

.hero-media {
  position: relative;
  z-index: 1;
  width: min(100%, calc(100% - 12rem));
  min-height: 603px;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  z-index: 2;
  right: 1.2rem;
  top: 3rem;
  width: min(100%, 500px);
  padding: 6.8rem 3rem;
  border-radius: 0;
  background: linear-gradient(145deg, rgba(15, 49, 112, 0.97), rgba(36, 67, 126, 0.93));
  color: #ffffff;
  box-shadow: 0 32px 54px rgba(12, 38, 82, 0.26);
}

.hero-card h1,
.hero-card h2,
.page-hero-copy h1,
.page-hero-copy h2,
h2,
h3 {
  margin: 0;
  font-family: "Oswald", "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
}

.hero-card h1 {
  max-width: 16ch;
  font-size: 2.6rem;
  line-height: 1.06;
}

.hero-brand-line,
.hero-title-subline {
  display: block;
}

.hero-brand-line {
  font-size: 1em;
}

.hero-title-subline {
  margin-top: 0.3rem;
  font-size: 0.68em;
  line-height: 1.16;
}

.hero-price {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.intro-split,
.page-hero-grid,
.split-grid,
.contact-grid,
.footer-grid,
.section-grid,
.services-summary,
.electric-grid,
.news-grid,
.service-grid,
.inventory-grid,
.team-grid,
.stats-grid,
.contact-card-grid {
  display: grid;
  gap: 1.3rem;
}

.intro-split {
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  margin-top: 0.6rem;
}

.intro-title {
  position: relative;
  padding-left: 1.4rem;
}

.intro-title::before {
  content: "";
  position: absolute;
  top: 0.25rem;
  left: 0;
  width: 3px;
  height: 92px;
  background: linear-gradient(180deg, #25a6ff, var(--accent-strong));
}

.intro-title h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  text-wrap: balance;
}

.intro-copy {
  max-width: 64ch;
  padding-top: 0.35rem;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.75;
}

.google-reviews-trust {
  margin: 2rem 0 0;
  padding: 1.55rem 1.7rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 245, 255, 0.96) 55%, rgba(225, 234, 246, 0.94) 100%);
}

.google-reviews-trust-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto;
  gap: 1.5rem;
  align-items: center;
}

.google-reviews-copy {
  display: grid;
  gap: 0.45rem;
}

.google-reviews-copy h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.3rem);
  line-height: 1.08;
}

.google-reviews-proof {
  display: grid;
  gap: 0.85rem;
  justify-items: end;
  min-width: min(100%, 22rem);
  padding: 1.05rem 1.15rem;
  border: 1px solid rgba(17, 58, 129, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 34px rgba(17, 58, 129, 0.08);
}

.google-reviews-stars-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.google-reviews-stars {
  position: relative;
  display: inline-block;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0.18em;
  color: #d5dde8;
}

.google-reviews-stars::before {
  content: "\2605\2605\2605\2605\2605";
}

.google-reviews-stars-fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f2b530;
}

.google-reviews-count {
  color: var(--accent-strong);
  font-size: 1rem;
  font-weight: 700;
}
.section {
  padding: 2.2rem 0;
}

.section-tight-top {
  padding-top: 0.8rem;
}

.section.is-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(236, 241, 248, 0.78));
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.small-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.small-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.24rem;
}

p {
  margin: 0;
}

.section-head p,
.lead,
.copy-block p,
.service-card p,
.news-card p,
.electric-card p,
.inventory-card p,
.contact-card p,
.team-card p,
.callout p,
.guarantee-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.lead {
  margin-top: 1rem;
  max-width: 60ch;
  font-size: 1.04rem;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: stretch;
}

.page-hero-copy,
.copy-block,
.contact-panel,
.form-panel,
.footer-box {
  padding: 2rem;
}

.page-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero-copy h1 {
  margin-top: 0.7rem;
  max-width: 11ch;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.02;
}

body[data-page="leistungen"] .page-hero-copy h1 {
  max-width: 12ch;
}

body[data-page="autoboerse"] .page-hero-copy h1 {
  max-width: 12ch;
}

body[data-page="lifestyle"] .page-hero-copy h1 {
  max-width: 10ch;
}

body[data-page="lifestyle"] .page-hero-copy {
  justify-content: flex-start;
  height: 100%;
}

body[data-page="lifestyle"] .page-hero-copy .hero-actions {
  margin-top: auto;
  padding-top: 1.6rem;
}

body[data-page="ueber-uns"] .page-hero-copy h1,
body[data-page="ueber-uns"] .page-hero-copy .lead {
  max-width: none;
}

body[data-page="impressum"] .page-hero-grid {
  grid-template-columns: 1fr;
}

body[data-page="impressum"] .page-hero-copy h1,
body[data-page="impressum"] .page-hero-copy .lead {
  max-width: none;
}

body[data-page="datenschutz"] .page-hero-grid {
  grid-template-columns: 1fr;
}

body[data-page="datenschutz"] .page-hero-copy h1,
body[data-page="datenschutz"] .page-hero-copy .lead {
  max-width: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: var(--surface-blue);
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.page-hero-visual,
.image-card {
  position: relative;
  overflow: hidden;
}

.page-hero-visual img,
.image-card img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.contact-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}

.hero-badge,
.image-note {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(17, 58, 129, 0.9);
  color: #ffffff;
  font-weight: 700;
}

.carousel-shell {
  padding: 1.8rem;
}

.carousel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.carousel-actions {
  display: flex;
  gap: 0.7rem;
}

.carousel-button {
  width: 48px;
  padding: 0;
}

.carousel-track {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding-bottom: 0.3rem;
}

.carousel-track::-webkit-scrollbar {
  height: 8px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: #c7d6eb;
  border-radius: 999px;
}

.carousel-card,
.inventory-card,
.service-card,
.electric-card,
.news-card,
.team-card,
.stat-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.carousel-card {
  flex: 0 0 292px;
  scroll-snap-align: start;
  overflow: hidden;
}

.carousel-card figure,
.inventory-card figure,
.team-card figure {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
}

.carousel-card figure {
  display: grid;
  place-items: center;
  min-height: 208px;
  padding: 1.2rem;
}

.carousel-card figure img {
  max-height: 170px;
  object-fit: contain;
}

.card-copy {
  padding: 1.3rem 1.3rem 1.45rem;
}

.card-topline,
.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: var(--surface-blue);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price {
  color: var(--accent-strong);
  font-weight: 700;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.specs span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 700;
}

.services-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 5.2rem;
}

.home-followup {
  margin-top: 1.4rem;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 245, 255, 0.98));
}

.home-offers {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
}

.home-offers-grid {
  display: grid;
  gap: 1rem;
}

.history-feature {
  margin-top: 1.4rem;
  padding: 1.8rem;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

.history-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.history-feature h2 {
  font-size: clamp(1.35rem, 2.2vw, 2.45rem);
  line-height: 1.08;
  margin-bottom: 0.6rem;
  white-space: nowrap;
}

.history-video {
  position: relative;
  padding-top: 56.25%;
  background: #091426;
}

.history-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-consent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  overflow: hidden;
  background-color: #091426;
  background-image:
    linear-gradient(180deg, rgba(9, 20, 38, 0.3), rgba(9, 20, 38, 0.78)),
    var(--youtube-poster-image, linear-gradient(135deg, #17366d 0%, #224b97 100%));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
  text-align: center;
}

.youtube-consent.is-loaded {
  padding: 0;
  background: #091426;
}

.youtube-consent.is-loaded .youtube-consent-copy {
  display: none;
}

.youtube-consent-copy {
  display: grid;
  gap: 0.85rem;
  width: min(100%, 28rem);
  padding: 1.25rem 1.1rem;
  border-radius: 1rem;
  background: rgba(9, 20, 38, 0.68);
  box-shadow: 0 18px 40px rgba(9, 20, 38, 0.28);
  backdrop-filter: blur(4px);
}

.youtube-consent-copy strong {
  font-size: 1.15rem;
  color: #ffffff;
}

.youtube-consent-copy p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.youtube-consent-copy .button {
  width: auto;
  justify-self: center;
  min-width: 11rem;
}

.cookie-banner-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
}

.cookie-banner-backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  backdrop-filter: none;
}

.cookie-banner-modal {
  position: absolute;
  right: min(2rem, 4vw);
  bottom: min(2rem, 4vw);
  width: min(100% - 2rem, 34rem);
  padding: 1.5rem;
  border: 1px solid rgba(17, 58, 129, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.98));
  box-shadow: 0 30px 70px rgba(10, 31, 70, 0.26);
  pointer-events: auto;
}

.cookie-banner-copy {
  display: grid;
  gap: 0.75rem;
}

.cookie-banner-copy h2,
.cookie-settings-head h2,
.cookie-settings-card h3,
.cookie-category-card h3 {
  margin: 0;
}

.cookie-banner-copy p,
.cookie-settings-head p,
.cookie-settings-card p,
.cookie-toggle-copy span,
.cookie-toggle-copy strong {
  margin: 0;
}

.cookie-banner-note {
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(239, 245, 255, 0.9);
  color: var(--muted);
  line-height: 1.65;
}

.cookie-banner-links,
.cookie-settings-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

.cookie-banner-links a,
.cookie-settings-links a {
  color: var(--accent-strong);
  font-weight: 700;
}

.cookie-banner-cards,
.cookie-settings-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.cookie-category-card,
.cookie-settings-card,
.cookie-toggle-card {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(249, 251, 254, 0.92);
}

.cookie-category-main,
.cookie-settings-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-category-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.2rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.cookie-status.is-active {
  background: rgba(54, 125, 89, 0.14);
  color: #275f41;
}

.cookie-status.is-inactive {
  background: rgba(163, 74, 26, 0.12);
  color: #8d431d;
}

.cookie-arrow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--accent-strong);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cookie-arrow-button:hover {
  transform: translateX(2px);
  border-color: var(--accent);
  color: var(--accent);
}

.cookie-banner-actions,
.cookie-detail-actions,
.cookie-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.cookie-banner-actions > *,
.cookie-detail-actions > *,
.cookie-settings-actions > * {
  flex: 1 1 11rem;
}

.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.cookie-toggle-copy {
  display: grid;
  gap: 0.35rem;
}

.cookie-toggle-copy strong {
  color: var(--text);
}

.cookie-toggle-copy span {
  color: var(--muted);
  line-height: 1.55;
}

.cookie-toggle-switch {
  position: relative;
  flex-shrink: 0;
}

.cookie-toggle-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.cookie-toggle-slider {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 3.5rem;
  height: 2rem;
  border-radius: 999px;
  background: #c7d4e6;
  transition: background 0.2s ease;
}

.cookie-toggle-slider::after {
  content: "";
  position: absolute;
  left: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(16, 35, 63, 0.18);
  transition: transform 0.2s ease;
}

.cookie-toggle-switch input:checked + .cookie-toggle-slider {
  background: linear-gradient(135deg, #103b83 0%, #1b56b0 100%);
}

.cookie-toggle-switch input:checked + .cookie-toggle-slider::after {
  transform: translateX(1.5rem);
}

.cookie-toggle-switch input:focus-visible + .cookie-toggle-slider {
  outline: 2px solid rgba(26, 79, 163, 0.35);
  outline-offset: 2px;
}

.cookie-settings-panel {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
}

.cookie-settings-head {
  display: grid;
  gap: 0.75rem;
}

.cookie-settings-copy {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.cookie-feedback {
  display: none;
  margin: 0;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: var(--success);
  color: #1d4f2f;
  font-weight: 700;
}

.cookie-feedback.is-visible {
  display: block;
}

.home-followup-media img {
  height: 360px;
  object-fit: cover;
}

.home-followup-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 1.8rem 1.8rem;
}

.home-followup-text {
  display: grid;
  gap: 0.45rem;
}

.home-followup-text h3 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.05;
  margin-bottom: 0.45rem;
}

.home-followup-text p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.home-followup-copy .hero-actions {
  margin-top: 0;
}

.home-followup-cards {
  padding: 0 1.8rem 1.8rem;
}

.home-followup-carousel {
  padding: 0 1.8rem 1.8rem;
}

.home-followup-carousel .section-head {
  margin-bottom: 1.4rem;
}

.home-followup h2 {
  font-size: clamp(1.35rem, 2.2vw, 2.45rem);
  line-height: 1.08;
  white-space: nowrap;
}

.home-followup-cards .section-head {
  margin-bottom: 1.4rem;
}

.summary-card {
  display: flex;
  flex-direction: column;
  padding: 1.45rem;
}

.summary-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
}

.summary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  margin-bottom: 0.1rem;
  width: fit-content;
  min-height: auto;
  padding: 1rem 0 0;
  color: var(--accent-strong);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(26, 79, 163, 0.16);
  box-shadow: none;
  transition: transform 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.summary-card p {
  margin-bottom: 1.35rem;
}

.summary-link::after {
  content: "\2192";
  font-size: 0.95em;
  transition: transform 0.2s ease;
}

.summary-link:hover {
  color: var(--accent-strong);
  border-color: rgba(26, 79, 163, 0.28);
  transform: translateX(2px);
}

.summary-link:hover::after {
  transform: translateX(2px);
}

.guarantee-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #143d86 0%, #1d5db7 100%);
  color: #ffffff;
  box-shadow: 0 28px 52px rgba(20, 61, 134, 0.22);
}

.campaign-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  overflow: hidden;
}

.campaign-feature img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.campaign-feature .card-copy {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  padding: 1.5rem;
}

@media (max-width: 800px) {
  .campaign-feature {
    grid-template-columns: 1fr;
  }
}

.guarantee-number {
  display: grid;
  gap: 0.45rem;
  font-family: "Bahnschrift", "Aptos Display", "Segoe UI", sans-serif;
  font-size: clamp(4.6rem, 8vw, 6.8rem);
  line-height: 0.88;
}

.guarantee-number span {
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guarantee-copy .small-label,
.guarantee-copy p {
  color: rgba(255, 255, 255, 0.86);
}

.guarantee-copy p {
  margin-top: 1.1rem;
}

.guarantee-copy .small-label::before {
  background: var(--accent-warm);
}

.guarantee-card-video {
  grid-template-columns: 1fr;
}

.guarantee-video {
  margin-top: 1.4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(8, 30, 71, 0.22);
}

.guarantee-intro {
  margin-top: 1.35rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
}

.guarantee-text-block {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.15rem;
}

.guarantee-text-block p {
  margin-top: 0;
}

.guarantee-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.guarantee-fact {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}

.guarantee-fact strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #ffffff;
}

.guarantee-fact p {
  margin-top: 0;
}

.guarantee-fact a {
  color: #ffffff;
  font-weight: 700;
}

.electric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.electric-card {
  padding: 1.6rem;
}

.electric-card.media-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.electric-card.media-card img {
  flex: 0 0 auto;
  height: 250px;
  object-fit: cover;
}

.electric-card.media-card .card-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding-top: 1.5rem;
}

.electric-card.media-card .card-copy > p {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.electric-card.media-card .hero-actions {
  margin-top: auto;
}

.section-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.check-list,
.footer-links {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.footer-links li {
  position: relative;
  padding-left: 1.3rem;
}

.check-list li + li,
.footer-links li + li {
  margin-top: 0.75rem;
}

.check-list li::before,
.footer-links li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
}

.news-card .hero-actions {
  margin-top: auto;
  padding-top: 1.2rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  padding: 1.35rem 1.55rem 1.75rem;
  background:
    radial-gradient(circle at top right, rgba(26, 79, 163, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%);
}

.service-card h3 {
  min-height: 4.8rem;
  margin: 0;
}

.service-card p {
  margin-top: 0.85rem;
  padding-top: 0.15rem;
}

.service-detail-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-detail-media {
  margin: -2rem -2rem 1.4rem;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.service-detail-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-detail-card .lead {
  min-height: 7.2rem;
}

.lifestyle-video-card {
  overflow: hidden;
}

.lifestyle-video-card .history-video {
  height: 100%;
  min-height: 100%;
}

.lifestyle-story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lifestyle-story-card {
  display: flex;
  flex-direction: column;
}

.lifestyle-story-card .hero-actions {
  margin-top: auto;
}

.lifestyle-duo {
  align-items: stretch;
}

.lifestyle-duo-card {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  height: 100%;
}

.lifestyle-duo-copy {
  display: grid;
  gap: 0.85rem;
}

.lifestyle-duo-copy .lead {
  margin-top: 0;
}

.lifestyle-paragraph-gap {
  margin-top: 1.15rem;
  margin-bottom: 1.15rem;
}

.lifestyle-event-stack {
  display: grid;
  gap: 1.35rem;
  margin-top: 1.15rem;
}

.lifestyle-event-item + .lifestyle-event-item {
  padding-top: 1.35rem;
  border-top: 1px solid rgba(16, 35, 63, 0.12);
}

.lifestyle-fahrtag-card .lead {
  max-width: none;
}

.lifestyle-trip-grid {
  align-items: stretch;
}

.lifestyle-gallery-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.lifestyle-gallery-head {
  position: absolute;
  inset: 50% 0 auto 0;
  z-index: 2;
  margin: 0;
  padding: 0 0.85rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.lifestyle-gallery-head .carousel-actions {
  width: 100%;
  justify-content: space-between;
}

.lifestyle-gallery-head .carousel-button {
  pointer-events: auto;
  background: rgba(16, 35, 63, 0.72);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 24px rgba(8, 30, 71, 0.2);
}

.lifestyle-gallery-head .carousel-button:hover {
  background: rgba(16, 35, 63, 0.9);
}

.lifestyle-gallery-shell .carousel-track {
  gap: 0;
  padding-bottom: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.lifestyle-gallery-shell .carousel-track::-webkit-scrollbar {
  display: none;
}

.lifestyle-gallery-card figure {
  min-height: 420px;
  padding: 0;
}

.lifestyle-gallery-card {
  flex: 0 0 100%;
  overflow: hidden;
}

.lifestyle-gallery-card figure img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  max-height: none;
}

.split-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
}

.inventory-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inventory-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.inventory-card .card-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.inventory-card .card-copy > p {
  flex: 1 1 auto;
}

.inventory-card figure {
  min-height: 220px;
  padding: 1rem;
}

.inventory-card figure img {
  height: 200px;
  object-fit: contain;
}

.inventory-figure {
  position: relative;
}

.inventory-gallery-trigger {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.inventory-gallery-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 35, 63, 0), rgba(16, 35, 63, 0.08));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.inventory-gallery-trigger:hover::after,
.inventory-gallery-trigger:focus-visible::after {
  opacity: 1;
}

.inventory-gallery-trigger:focus-visible {
  outline: 3px solid rgba(26, 79, 163, 0.28);
  outline-offset: -3px;
  border-radius: var(--radius-md);
}

.inventory-photo-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(16, 35, 63, 0.82);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 14px 24px rgba(16, 35, 63, 0.18);
}

.inventory-photo-badge[hidden],
.inventory-gallery-trigger[hidden] {
  display: none;
}

.inventory-card .button-ghost {
  margin-top: 1.1rem;
}

.inventory-card .specs {
  margin-top: auto;
}

.inventory-inquiry-trigger {
  width: 100%;
  justify-content: center;
  min-height: 54px;
  margin-top: 1.1rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(135deg, #1b56b0 0%, #103b83 100%);
  box-shadow: 0 18px 30px rgba(16, 59, 131, 0.2);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.is-hidden {
  display: none;
}

body.has-gallery-open {
  overflow: hidden;
}

body.has-inquiry-open {
  overflow: hidden;
}

.inventory-gallery-modal[hidden] {
  display: none;
}

.inventory-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.inventory-gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 34, 0.72);
  backdrop-filter: blur(8px);
}

.inventory-gallery-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  width: min(100%, 1080px);
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  background: rgba(11, 28, 58, 0.94);
  box-shadow: 0 30px 60px rgba(6, 16, 34, 0.38);
}

.inventory-gallery-figure {
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) - 8px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(219, 231, 251, 0.08));
}

.inventory-gallery-figure img {
  width: 100%;
  max-height: min(72vh, 760px);
  object-fit: contain;
}

.inventory-gallery-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.inventory-gallery-meta strong {
  font-family: "Oswald", "Segoe UI", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.inventory-gallery-meta span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 700;
}

.inventory-gallery-close,
.inventory-gallery-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.inventory-gallery-close:hover,
.inventory-gallery-nav:hover,
.inventory-gallery-close:focus-visible,
.inventory-gallery-nav:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
}

.inventory-gallery-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  font-size: 1.5rem;
}

.inventory-inquiry-modal[hidden] {
  display: none;
}

.inventory-inquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.inventory-inquiry-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(38, 93, 186, 0.18), transparent 30%),
    rgba(6, 16, 34, 0.68);
  backdrop-filter: blur(8px);
}

.inventory-inquiry-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 245, 252, 0.98));
  box-shadow: 0 36px 64px rgba(6, 16, 34, 0.28);
}

.inventory-inquiry-panel h3 {
  margin-top: 0.7rem;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.inventory-inquiry-text {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.03rem;
}

.inventory-inquiry-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-strong);
  cursor: pointer;
}

.inventory-inquiry-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.inventory-inquiry-action {
  display: grid;
  gap: 0.4rem;
  min-height: 128px;
  padding: 1.1rem 1rem;
  border-radius: var(--radius-lg);
  text-align: left;
}

.inventory-inquiry-action strong {
  font-family: "Oswald", "Segoe UI", sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.inventory-inquiry-action span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.inventory-inquiry-action-primary span {
  color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 767px) {
  .inventory-inquiry-panel {
    padding: 1.35rem;
  }

  .inventory-inquiry-actions {
    grid-template-columns: 1fr;
  }

  .inventory-inquiry-action {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .inventory-gallery-panel {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 0.9rem;
  }

  .inventory-gallery-nav {
    width: 48px;
    height: 48px;
  }

  .inventory-gallery-prev,
  .inventory-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .inventory-gallery-prev {
    left: 0.8rem;
  }

  .inventory-gallery-next {
    right: 0.8rem;
  }

  .inventory-gallery-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #f1f6ff 0%, #e7eef9 100%);
  border: 1px solid var(--line);
}

.team-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.team-card {
  overflow: hidden;
  grid-column: span 4;
}

.team-card-feature {
  grid-column: span 6;
}

.team-card-feature figure img {
  height: 380px;
  object-position: center 16%;
}

.team-card-feature:first-child figure img {
  object-position: center 22%;
}

.team-card-feature:nth-child(2) figure img,
.team-card-noah figure img {
  filter: saturate(0.92) contrast(1.04) brightness(0.97);
}

.team-card-text {
  display: flex;
  align-items: stretch;
}

.team-card figure img {
  height: 320px;
  object-fit: cover;
}

.team-card-sascha figure img,
.team-card-noah figure img {
  object-position: center 22%;
}

.team-card-karo figure img {
  object-position: center 24%;
}

.team-card-text .card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 100%;
}

.team-role {
  margin-bottom: 0.7rem;
  color: var(--accent-strong);
  font-weight: 700;
}

.stats-grid,
.contact-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card,
.contact-card {
  padding: 1.3rem;
}

.stat-card strong,
.contact-card h3 {
  display: block;
  margin-bottom: 0.5rem;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
}

.contact-panel,
.form-panel {
  height: 100%;
}

.contact-link {
  color: var(--accent-strong);
  font-weight: 700;
}

.contact-panel .contact-card-tall {
  min-height: 10.8rem;
}

.contact-card-logo {
  grid-column: 1 / -1;
  overflow: hidden;
  min-height: 220px;
  padding: 0;
}

.contact-card-logo img {
  width: calc(100% + 1rem);
  height: 100%;
  min-height: 220px;
  object-position: center;
}

.form-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-size: 0.94rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #f9fbfe;
  color: var(--text);
  padding: 0.95rem 1rem;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field-error {
  color: #a02828;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-alert {
  margin-top: 1.1rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.form-alert-success {
  background: rgba(78, 154, 107, 0.18);
  color: #1d4f2f;
}

.form-alert-error {
  background: rgba(173, 54, 54, 0.12);
  color: #8d1f1f;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent-card,
.spam-check-card {
  margin-top: 1.2rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(249, 251, 254, 0.9);
}

.consent-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  cursor: pointer;
}

.consent-check input {
  margin-top: 0.2rem;
}

.consent-text,
.spam-check-card label {
  color: var(--muted);
  line-height: 1.65;
}

.consent-text {
  margin: 0.8rem 0 0;
}

.spam-check-card input {
  margin-top: 0.75rem;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #f9fbfe;
  color: var(--text);
  padding: 0.95rem 1rem;
}

.form-feedback {
  display: none;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: var(--success);
  color: #1d4f2f;
  font-weight: 700;
}

.form-feedback.is-visible {
  display: block;
}

.footer {
  padding: 2.5rem 0 2rem;
}

.footer-box {
  padding: 2rem 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 246, 251, 0.96));
}

.footer-grid {
  grid-template-columns: minmax(220px, 0.85fr) minmax(220px, 1fr) minmax(220px, 1fr) minmax(170px, 0.72fr);
  align-items: start;
  gap: 2.2rem;
}

.footer-brand-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
}

.footer-brand-bottom {
  margin-top: 7.4rem;
  padding: 1rem 1.1rem 0.9rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(245, 248, 253, 0.95), rgba(239, 244, 251, 0.95));
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin-top: 0.2rem;
}

.footer-legal-links a {
  color: var(--accent-strong);
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.footer-main-brand {
  display: inline-flex;
  width: min(100%, 180px);
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: linear-gradient(135deg, #103b83 0%, #1b56b0 55%, #235fb8 100%);
  box-shadow: 0 16px 34px rgba(16, 59, 131, 0.2);
}

.footer-main-brand img {
  width: auto;
  max-width: min(100%, 150px);
}

.footer-subaru-logo {
  width: min(100%, 180px);
  border-radius: 0;
}

.footer-column {
  display: grid;
  gap: 0.8rem;
}

.footer-contact {
  display: grid;
  gap: 1rem;
  color: var(--muted);
  line-height: 1.65;
}

.footer-contact-block {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(16, 35, 63, 0.1);
}

.footer-contact-block + .footer-contact-block {
  margin-top: 0.35rem;
}

.footer-contact-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.footer-contact strong {
  color: var(--text);
  font-size: 1rem;
}

.footer-contact a {
  color: var(--accent-strong);
}

.footer-icon-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--accent-strong);
  flex: 0 0 18px;
}

.footer-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-map-card {
  position: relative;
  width: min(100%, 185px);
}

.footer-map-button {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  min-height: 42px;
  padding: 0 1rem;
}

.footer-map-image {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 30px rgba(16, 35, 63, 0.12);
}

.footer-meta {
  margin-top: 0.8rem;
}

.legal-layout {
  display: grid;
  gap: 1.3rem;
}

.legal-card {
  padding: 2rem;
}

.legal-copy {
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
}

.legal-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.legal-copy a,
.legal-copy p,
.legal-copy li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

body[data-page="datenschutz"] .legal-layout,
body[data-page="datenschutz"] .legal-card,
body[data-page="datenschutz"] .legal-copy {
  min-width: 0;
}

body[data-page="datenschutz"] .legal-card h2,
body[data-page="datenschutz"] .legal-card p,
body[data-page="datenschutz"] .legal-card a,
body[data-page="datenschutz"] .legal-card strong,
body[data-page="datenschutz"] .legal-card .small-label {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 767px) {
  body[data-page="datenschutz"] .legal-card,
  body[data-page="datenschutz"] .legal-copy {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

.legal-partner-logo {
  display: inline-block;
}

.legal-partner-logo img {
  display: inline-block;
  width: auto;
  max-width: 150px;
}

.legal-list,
.legal-links {
  margin-top: 0.25rem;
}

@media (min-width: 1920px) {
  :root {
    --container: 1440px;
  }

  .hero-media {
    min-height: 680px;
  }

  .hero-card {
    width: min(100%, 560px);
  }

  body[data-page="start"] .hero-card {
    top: 8rem;
  }

  body[data-page="start"] .hero-stage::after {
    bottom: 1rem;
  }

  .page-hero-copy,
  .copy-block,
  .contact-panel,
  .form-panel,
  .footer-box,
  .legal-card {
    padding: 2.4rem;
  }

}

@media (min-width: 1440px) and (max-width: 1919px) {
  :root {
    --container: 1360px;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  :root {
    --container: 1180px;
  }

  .hero-stage::after {
    bottom: 9rem;
  }

  .topbar-inner {
    gap: 0.75rem;
  }

  .nav {
    gap: 0.2rem;
    margin-left: 0.6rem;
  }

  .nav a {
    padding: 0.72rem 0.72rem;
    font-size: 0.95rem;
  }

  .topbar-socials {
    gap: 0.55rem;
  }

  .nav-contact-icons {
    gap: 0.35rem;
    padding-right: 0.55rem;
  }

  .nav-contact-icons a {
    min-height: 36px;
    padding: 0 0.7rem;
    font-size: 0.76rem;
  }

  .nav-social {
    gap: 0.25rem;
  }

  .nav-social a {
    width: 38px;
    height: 38px;
  }

  .hero-card {
    width: min(100%, 460px);
    padding: 5.2rem 2.4rem;
  }

  .services-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: minmax(220px, 0.9fr) minmax(220px, 1fr) minmax(220px, 1fr);
  }

}

@media (min-width: 1024px) and (max-width: 1279px) {
  .brand-copy {
    display: none;
  }

  .hero-card {
    width: min(100%, 460px);
    padding: 5.2rem 2.4rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --container: 920px;
  }

  .topbar-inner {
    min-height: 80px;
    justify-content: space-between;
  }

  .brand-copy {
    display: none;
  }

  .brand {
    padding: 0.18rem;
  }

  .brand img {
    width: 150px;
    padding: 0.65rem 0.8rem;
    box-shadow: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 2;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    transform: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a,
  .nav-cta {
    width: 100%;
    margin: 0;
  }

  .nav a {
    color: var(--text);
  }

  .nav a:hover,
  .nav a.is-current {
    color: var(--accent-strong);
    background: rgba(26, 79, 163, 0.1);
  }

  .nav .topbar-socials {
    display: grid;
    gap: 0.85rem;
    margin-top: 0.85rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(16, 35, 63, 0.1);
  }

  .nav .nav-contact-icons {
    gap: 0.55rem;
    padding-right: 0;
    border-right: 0;
  }

  .nav .nav-social {
    gap: 0.45rem;
  }

  .topbar-actions {
    position: static;
    transform: none;
    margin-left: auto;
  }

  .page-hero-grid,
  .split-grid,
  .contact-grid,
  .section-grid,
  .intro-split {
    grid-template-columns: 1fr;
  }

  .services-summary,
  .history-grid,
  .electric-grid,
  .news-grid,
  .service-grid,
  .inventory-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-card,
  .team-card-feature {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .guarantee-card {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 1023px) {
  .hero-stage {
    min-height: 0;
    padding-bottom: 0;
  }

  .hero-stage::before,
  .hero-stage::after {
    display: none;
  }

  .hero-media {
    width: 100%;
    min-height: 460px;
    border-radius: var(--radius-xl);
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 640px);
    margin: -4rem 0 0 auto;
    border-radius: var(--radius-xl);
  }

  .services-summary,
  .history-grid,
  .electric-grid,
  .news-grid,
  .service-grid,
  .inventory-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-card,
  .team-card-feature {
    grid-column: span 1;
  }

  .page-hero-grid,
  .split-grid,
  .contact-grid,
  .section-grid,
  .intro-split {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .guarantee-card {
    grid-template-columns: 1fr;
  }

  body[data-page="start"] .hero-stage {
    min-height: 0;
  }

  body[data-page="start"] .hero-card {
    top: auto;
    width: auto;
    margin-top: -9rem;
  }

  body[data-page="leistungen"] .page-hero-copy h1 {
    max-width: 32ch;
  }

  body[data-page="autoboerse"] .page-hero-copy h1,
  body[data-page="ueber-uns"] .page-hero-copy h1,
  body[data-page="kontakt"] .page-hero-copy h1,
  body[data-page="lifestyle"] .page-hero-copy h1 {
    max-width: 32ch;
  }
}

@media (min-width: 375px) and (max-width: 767px) {
  body[data-page="datenschutz"] .page-hero-grid,
  body[data-page="datenschutz"] .page-hero-copy {
    min-width: 0;
    width: 100%;
  }

  body[data-page="datenschutz"] .page-hero-copy h1,
  body[data-page="datenschutz"] .page-hero-copy .lead,
  body[data-page="datenschutz"] .page-hero-copy .eyebrow {
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body[data-page="datenschutz"] .page-hero-copy h1 {
    white-space: nowrap;
    font-size: clamp(1.7rem, 8.2vw, 3.6rem);
    letter-spacing: -0.01em;
  }

  .topbar-inner {
    min-height: 78px;
    justify-content: space-between;
  }

  .brand-copy {
    display: none;
  }

  .brand {
    padding: 0.18rem;
  }

  .brand img {
    width: 148px;
    padding: 0.65rem 0.8rem;
    box-shadow: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 2;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    transform: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a,
  .nav-cta {
    width: 100%;
    margin: 0;
  }

  .nav a {
    color: var(--text);
  }

  .nav a:hover,
  .nav a.is-current {
    color: var(--accent-strong);
    background: rgba(26, 79, 163, 0.1);
  }

  .topbar-socials {
    margin: 0;
  }

  .nav-contact-icons {
    padding-right: 0.7rem;
  }

  .nav-contact-icons a {
    min-height: 34px;
    padding: 0 0.72rem;
    flex: 0 0 auto;
  }

  .nav-social a {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }

  .topbar-actions {
    position: static;
    transform: none;
    margin-left: auto;
  }

  .hero-home {
    padding-top: 1.1rem;
  }

  .hero-media {
    min-height: 320px;
  }

  .hero-card {
    margin-top: -2rem;
    padding: 2rem 1.5rem;
  }

  .hero-card h1,
  .page-hero-copy h1 {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .section-head,
  .carousel-head,
  .callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel-card {
    flex-basis: 252px;
  }

  .stats-grid,
  .contact-card-grid,
  .services-summary,
  .history-grid,
  .electric-grid,
  .news-grid,
  .service-grid,
  .inventory-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card,
  .team-card-feature {
    grid-column: span 1;
  }

  .panel,
  .page-hero-copy,
  .copy-block,
  .contact-panel,
  .form-panel,
  .footer-box,
  .carousel-shell,
  .service-card,
  .electric-card,
  .news-card {
    border-radius: 24px;
  }

  .service-card {
    min-height: 220px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-box {
    padding: 1.4rem;
  }

  .hero-badge,
  .image-note {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .home-followup-media img {
    height: 260px;
  }

  .history-feature {
    padding: 1.3rem;
  }

  .home-followup-copy {
    padding: 1.3rem;
  }

  .home-followup-copy .hero-actions {
    margin-top: 0.8rem;
  }

  .home-followup-cards {
    padding: 0 1.3rem 1.3rem;
  }

  .home-followup-carousel {
    padding: 0 1.3rem 1.3rem;
  }

  .guarantee-facts {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 374px) {
  :root {
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
  }

  .container {
    width: min(calc(100% - 1rem), var(--container));
  }

  .topbar-inner {
    min-height: 72px;
    justify-content: space-between;
    gap: 0.6rem;
  }

  .brand-copy {
    display: none;
  }

  .brand {
    padding: 0.18rem;
  }

  .brand img {
    width: 126px;
    padding: 0.45rem 0.55rem;
    box-shadow: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 2;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0.5rem;
    left: 0.5rem;
    display: none;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    transform: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a,
  .nav-cta {
    width: 100%;
    margin: 0;
  }

  .nav a {
    color: var(--text);
  }

  .nav a:hover,
  .nav a.is-current {
    color: var(--accent-strong);
    background: rgba(26, 79, 163, 0.1);
  }

  .nav-contact-icons {
    gap: 0.35rem;
    padding-right: 0.45rem;
  }

  .nav-contact-icons a {
    min-height: 32px;
    padding: 0 0.6rem;
    font-size: 0.74rem;
  }

  .nav-social a,
  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .topbar-actions {
    position: static;
    transform: none;
    margin-left: auto;
  }

  .hero-card,
  .page-hero-copy,
  .copy-block,
  .contact-panel,
  .form-panel,
  .footer-box,
  .carousel-shell,
  .service-card,
  .electric-card,
  .news-card,
  .legal-card {
    padding: 1.15rem;
  }

  .hero-card h1,
  .page-hero-copy h1,
  h2 {
    font-size: clamp(1.9rem, 10vw, 2.5rem);
  }

  .hero-actions {
    gap: 0.65rem;
  }

  .button,
  .button-secondary,
  .button-ghost,
  .filter-button,
  .carousel-button {
    width: 100%;
  }

  .footer-map-card,
  .footer-main-brand,
  .footer-subaru-logo {
    width: 100%;
    max-width: none;
  }

  body[data-page="start"] .hero-home {
    padding-top: 1rem;
  }

  body[data-page="start"] .hero-media {
    min-height: 320px;
    border-radius: 24px;
  }

  body[data-page="start"] .hero-home .hero-stage .hero-card {
    margin-top: -13rem;
  }

  body[data-page="datenschutz"] .page-hero-copy h1 {
    white-space: nowrap;
    font-size: clamp(1.5rem, 7vw, 1.9rem);
    letter-spacing: -0.01em;
  }

}

@media (min-width: 375px) and (max-width: 767px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "logo logo"
      "subaru subaru"
      "contact contact"
      "hours hours"
      "map map"
      "legal legal";
    gap: 1rem 0.9rem;
  }

  .footer-brand-stack {
    display: contents;
  }

  .footer-main-brand {
    grid-area: logo;
    justify-self: center;
    width: min(100%, 180px);
  }

  .footer-subaru-logo {
    grid-area: subaru;
    justify-self: center;
    width: min(100%, 170px);
  }

  .footer-brand-bottom {
    grid-area: legal;
    width: 100%;
    margin-top: 0;
    padding: 0.6rem 0 0;
    background: none;
    border-radius: 0;
  }

  .footer-grid > .footer-column:nth-child(2) {
    grid-area: contact;
  }

  .footer-grid > .footer-column:nth-child(3) {
    grid-area: hours;
  }

  .footer-grid > .footer-column:nth-child(4) {
    grid-area: map;
  }

  .footer-grid > .footer-column:nth-child(2) .small-label,
  .footer-grid > .footer-column:nth-child(3) .small-label,
  .footer-grid > .footer-column:nth-child(4) .small-label {
    display: inline-flex;
    margin-top: 2.35rem;
    justify-content: flex-start;
    text-align: left;
  }

  .footer-grid > .footer-column:nth-child(2) .footer-contact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 0.9rem 1rem;
  }

  .footer-grid > .footer-column:nth-child(2) .footer-contact-block:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding-top: 0;
  }

  .footer-grid > .footer-column:nth-child(2) .footer-contact-block:first-child p {
    position: relative;
    top: 0.9rem;
  }

  .footer-grid > .footer-column:nth-child(2) .footer-contact-block:nth-child(2),
  .footer-grid > .footer-column:nth-child(2) .footer-contact-block:nth-child(3) {
    grid-column: 2;
  }

  .footer-grid > .footer-column:nth-child(2) .footer-contact-block:nth-child(2) {
    grid-row: 1;
  }

  .footer-grid > .footer-column:nth-child(2) .footer-contact-block:nth-child(3) {
    grid-row: 2;
  }

  .footer-grid > .footer-column:nth-child(2) .footer-contact-block,
  .footer-grid > .footer-column:nth-child(3) .footer-contact-block {
    margin-top: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .footer-grid > .footer-column:nth-child(3) .footer-contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1rem;
  }

  .footer-grid > .footer-column:nth-child(4) .footer-contact {
    gap: 0.75rem;
  }

  .footer-grid > .footer-column:nth-child(4) .footer-map-card {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .footer-grid > .footer-column:nth-child(4) .footer-map-button {
    margin-inline: auto;
  }

  .footer-grid > .footer-column:nth-child(4) .footer-map-image {
    width: 100%;
  }

  .footer-legal-links {
    justify-content: center;
    gap: 0.75rem 1.1rem;
  }
}

@media (max-width: 374px) {
  .footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "subaru"
      "contact"
      "hours"
      "map"
      "legal";
    gap: 0.95rem;
  }

  .footer-brand-stack {
    display: contents;
  }

  .footer-main-brand {
    grid-area: logo;
    justify-self: center;
    width: min(100%, 180px);
  }

  .footer-subaru-logo {
    grid-area: subaru;
    justify-self: center;
    width: min(100%, 170px);
  }

  .footer-brand-bottom {
    grid-area: legal;
    margin-top: 0;
    padding: 0.4rem 0 0;
    background: none;
    border-radius: 0;
  }

  .footer-grid > .footer-column:nth-child(2) {
    grid-area: contact;
  }

  .footer-grid > .footer-column:nth-child(3) {
    grid-area: hours;
  }

  .footer-grid > .footer-column:nth-child(4) {
    grid-area: map;
  }

  .footer-grid > .footer-column:nth-child(2) .footer-contact {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.7rem 1rem;
    align-items: start;
  }

  .footer-grid > .footer-column:nth-child(2) .footer-contact-block:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
    padding-top: 0;
  }

  .footer-grid > .footer-column:nth-child(2) .footer-contact-block:first-child p {
    position: relative;
    top: 1.35rem;
  }

  .footer-grid > .footer-column:nth-child(2) .footer-contact-block:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-grid > .footer-column:nth-child(2) .footer-contact-block:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .footer-grid > .footer-column:nth-child(2) .small-label,
  .footer-grid > .footer-column:nth-child(3) .small-label,
  .footer-grid > .footer-column:nth-child(4) .small-label {
    display: inline-flex;
    margin-top: 2.35rem;
    justify-content: flex-start;
    text-align: left;
  }

  .footer-grid > .footer-column:nth-child(4) .footer-map-card,
  .footer-grid > .footer-column:nth-child(4) .footer-map-button {
    margin-inline: auto;
  }

  .footer-legal-links {
    justify-content: center;
  }
}

@media (max-width: 649px) {
  .topbar-actions > .topbar-socials {
    display: flex;
    align-items: center;
    gap: 0.55rem;
  }

  .topbar-actions > .topbar-socials .nav-contact-icons {
    gap: 0.45rem;
    padding-right: 0;
    border-right: 0;
  }

  .topbar-actions > .topbar-socials .nav-contact-icons a {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    justify-content: center;
  }

  .nav .nav-social {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(16, 35, 63, 0.1);
  }

  .topbar-actions > .topbar-socials .nav-contact-icons a::after {
    content: none;
  }
}

@media (max-width: 449px) {
  body[data-page="start"] .hero-card {
    margin-top: -11rem;
  }

  body[data-page="start"] .intro-split {
    margin-top: 3.6rem;
  }

  body[data-page="start"] .intro-title {
    padding-right: 0.2rem;
  }

  body[data-page="start"] .intro-title h2 {
    max-width: none;
  }

  body[data-page="start"] .intro-title h2 br {
    display: none;
  }

  .home-followup h2 {
    white-space: normal;
  }

  .history-feature h2 {
    white-space: normal;
  }

  body[data-page="kontakt"] .page-hero-copy .hero-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  body[data-page="kontakt"] .page-hero-copy .hero-actions .button,
  body[data-page="kontakt"] .page-hero-copy .hero-actions .button-secondary {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 0.6rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 449px) {
  .youtube-consent-copy {
    gap: 0.65rem;
  }

  .youtube-consent-copy strong {
    font-size: 1rem;
  }

  .youtube-consent-copy p {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .youtube-consent-copy .button {
    min-width: 9.5rem;
    min-height: 42px;
    padding: 0 0.95rem;
    font-size: 0.92rem;
  }

  .cookie-banner-modal {
    right: 0.75rem;
    bottom: 0.75rem;
    width: calc(100% - 1.5rem);
    padding: 1.15rem;
  }

  .cookie-category-main,
  .cookie-settings-card-head,
  .cookie-toggle-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-category-meta {
    justify-content: space-between;
  }

  .cookie-banner-actions > *,
  .cookie-detail-actions > *,
  .cookie-settings-actions > * {
    flex-basis: 100%;
  }
}




@media (max-width: 1023px) {
  .google-reviews-trust-inner {
    grid-template-columns: 1fr;
  }

  .google-reviews-proof {
    justify-items: start;
    min-width: 0;
    width: 100%;
  }

  .google-reviews-stars-wrap {
    justify-content: flex-start;
  }

  .cookie-settings-grid {
    grid-template-columns: 1fr;
  }
}
