/* ==========================================================================
   Atlas Cleaning – Industriereinigung
   Statisches Stylesheet (kein Build-Schritt nötig)
   ========================================================================== */

/* Farben aus dem Logo abgeleitet:
   Blau  #324B9F  (Schriftzug "ATLAS")
   Rot   #C61F26  (Signet und "Cleaning") */
:root {
  --color-accent: #324B9F;
  --color-accent-hover: #263A7C;
  --color-accent-rgb: 50, 75, 159;
  --color-accent-on-dark: #8FA0EA;
  --color-red: #C61F26;
  --color-red-on-dark: #F0616A;
  --color-dark: #22272E;
  --color-dark-deep: #161A1F;
  --color-dark-bg: #1C2127;
  --color-text: #3D4042;
  --color-text-muted: #6F7679;
  --color-white: #FFFFFF;
  --color-light: #F4F6F7;
  --color-border: #E4E8EA;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 72px;
  --topbar-h: 40px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--topbar-h));
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--color-accent); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 600;
}

.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.section-dark .btn--outline {
  color: var(--color-accent-on-dark);
  border-color: var(--color-accent-on-dark);
}

.section-dark .btn--outline:hover {
  background: var(--color-accent-on-dark);
  color: var(--color-dark-deep);
}

.btn--dark {
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.btn--dark:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

/* ---- Top Bar ---- */

.topbar {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar__item a {
  color: var(--color-accent-on-dark);
  font-weight: 500;
  transition: opacity var(--transition);
}

.topbar__item a:hover { opacity: 0.8; }

/* ---- Header ---- */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: 0 1px 0 var(--color-border);
  height: var(--header-h);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* ---- Logo ---- */

.logo {
  display: inline-flex;
  align-items: center;
}

.logo__img {
  height: 40px;
  width: auto;
  display: block;
}

/* Das Logo-Blau (#324B9F) hätte auf dem dunklen Footer nur rund 2:1 Kontrast.
   Deshalb wird es dort weiß gezeichnet – die Form bleibt erhalten. */
.logo--footer .logo__img {
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-dark);
  transition: color var(--transition);
}

.nav__link:hover { color: var(--color-accent); }

.nav__cta {
  padding: 10px 22px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background var(--transition);
}

.nav__cta:hover { background: var(--color-accent-hover); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-dark);
  transition: all var(--transition);
}

.burger--active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger--active span:nth-child(2) { opacity: 0; }
.burger--active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Hinweisleiste unter dem Header ---- */

.info-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 900;
  background: var(--color-light);
  border-bottom: 1px solid var(--color-border);
}

.info-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  text-align: center;
  flex-wrap: wrap;
}

.info-bar__icon {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.info-bar__text {
  font-size: 0.82rem;
  color: var(--color-text);
}

.info-bar__text strong {
  color: var(--color-accent);
  font-weight: 700;
}

.info-bar__link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
  transition: opacity var(--transition);
}

.info-bar__link:hover { opacity: 0.7; }

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__parallax {
  position: absolute;
  inset: -15% 0;
  will-change: transform;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenBurns 22s ease-in-out infinite alternate;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 21, 26, 0.84) 0%, rgba(18, 21, 26, 0.76) 55%, rgba(18, 21, 26, 0.9) 100%);
}

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1%); }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  max-width: 900px;
}

.hero__title {
  font-size: clamp(1.6rem, 4.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-white);
  margin-bottom: 24px;
}

.hero__title .accent { color: var(--color-accent-on-dark); }

.hero__lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto 36px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__actions .btn--outline {
  color: var(--color-accent-on-dark);
  border-color: var(--color-accent-on-dark);
}

.hero__actions .btn--outline:hover {
  background: var(--color-accent-on-dark);
  border-color: var(--color-accent-on-dark);
  color: var(--color-dark-deep);
}

/* ---- Spotlight Cards ---- */

.spotlight {
  padding: 0;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.spotlight__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.spotlight-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.spotlight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.spotlight-card__image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.spotlight-card__image-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: imageDrift 16s ease-in-out infinite alternate;
}

.spotlight-card:nth-child(2) .spotlight-card__image-inner { animation-delay: -5s; }
.spotlight-card:nth-child(3) .spotlight-card__image-inner { animation-delay: -10s; }

.spotlight-card:hover .spotlight-card__image-inner {
  transform: scale(1.1);
  animation-play-state: paused;
}

@keyframes imageDrift {
  0% { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.12) translate(-2%, -1.5%); }
}

.spotlight-card__body {
  padding: 28px 24px 32px;
  border: 1px solid var(--color-border);
  border-top: none;
  flex: 1;
}

.spotlight-card__body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.spotlight-card__body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.spotlight-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---- Icon Grid ---- */

.section-dark {
  background: var(--color-dark-bg);
  color: var(--color-white);
  padding: 80px 0;
}

/* 8 Positionen ergeben im 4er-Raster zwei volle Reihen */
.icon-grid__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
}

.icon-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.icon-grid__icon {
  width: 100px;
  height: 100px;
  color: var(--color-accent-on-dark);
  opacity: 0.9;
}

.icon-grid__icon svg { width: 100%; height: 100%; }

.icon-grid__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
}

.icon-grid__label--top { color: var(--color-accent-on-dark); }

/* ---- Philosophie ---- */

.philosophy {
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
}

.philosophy__visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}

.philosophy__image { position: absolute; inset: 0; overflow: hidden; }

.philosophy__image-inner {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  animation: kenBurns 20s ease-in-out infinite alternate;
  transition: transform 0.6s ease;
}

.philosophy__visual.is-visible .philosophy__image-inner {
  animation: kenBurns 20s ease-in-out infinite alternate, imageReveal 1.2s ease forwards;
}

@keyframes imageReveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.philosophy__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px;
  max-width: none;
  text-align: left;
}

.philosophy__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-on-dark);
  margin-bottom: 20px;
}

.philosophy__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-white);
  margin-bottom: 28px;
}

.philosophy__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin-bottom: 36px;
}

.philosophy__title .accent,
.philosophy__text .accent { color: var(--color-accent-on-dark); }

.philosophy__inner .btn { align-self: flex-start; }

/* ---- Parallax-Banner ---- */

.parallax-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.parallax-banner__bg {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.parallax-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 21, 26, 0.84);
}

.parallax-banner__content {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  max-width: 680px;
}

.parallax-banner__content h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.parallax-banner__content h2 .accent { color: var(--color-accent-on-dark); }

.parallax-banner__content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* ---- Leistungen ---- */

.services {
  padding: 100px 0;
  background: var(--color-light);
}

.services__header {
  text-align: center;
  margin-bottom: 64px;
}

.services__header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.services__header h3 {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

/* 9 Leistungen ergeben im 3er-Raster genau drei volle Reihen –
   so bleiben keine leeren Rasterfelder sichtbar */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.service-item {
  background: var(--color-white);
  padding: 36px 28px;
  transition: background var(--transition);
}

.service-item:hover { background: rgba(var(--color-accent-rgb), 0.04); }

.service-item__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-red);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.service-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.service-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ---- Ablauf ---- */

.process { padding: 100px 0; }

.process__header {
  text-align: center;
  margin-bottom: 56px;
}

.process__header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.process__header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process__step {
  position: relative;
  padding-top: 28px;
  border-top: 3px solid var(--color-border);
  transition: border-color var(--transition);
}

.process__step:hover { border-top-color: var(--color-red); }

.process__step strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 10px;
}

.process__step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.process__step p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---- FAQ ---- */

.faq { padding: 100px 0; background: var(--color-light); }

.faq__header { text-align: center; margin-bottom: 48px; }

.faq__header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-dark);
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
}

.faq__item { border-bottom: 1px solid var(--color-border); }

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
}

.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-accent);
  transition: transform var(--transition);
}

.faq__item.is-open .faq__icon { transform: rotate(45deg); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq__answer p {
  padding: 0 28px 22px 4px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* großzügig bemessen, damit auch längere Antworten auf schmalen
   Displays nicht abgeschnitten werden */
.faq__item.is-open .faq__answer { max-height: 800px; }

/* ---- Branchen ---- */

.branches { padding: 80px 0; text-align: center; }

.branches__header { margin-bottom: 44px; }

.branches__header h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.branches__header h2 .accent { color: var(--color-accent-on-dark); }

.branches__header p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 620px;
  margin: 0 auto;
}

.branches__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 44px;
}

.branches__item {
  background: var(--color-dark-bg);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: background var(--transition);
}

.branches__item:hover { background: rgba(255, 255, 255, 0.05); }

.branches__item svg {
  width: 34px;
  height: 34px;
  color: var(--color-accent-on-dark);
}

.branches__item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
}

.branches__item small {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ---- Kontakt ---- */

.contact-cta { padding: 100px 0; background: var(--color-white); }

.contact-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-cta__info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.contact-cta__info > p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.contact-cta__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-cta__details a { color: var(--color-accent); }
.contact-cta__details a:hover { color: var(--color-accent-hover); }

.contact-cta__phone {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  transition: color var(--transition);
  display: inline-block;
}

.contact-cta__phone:hover { color: var(--color-accent-hover); }

.contact-cta__details em {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.contact-cta__map {
  position: relative;
  border: 1px solid var(--color-border);
  min-height: 420px;
}

.contact-cta__map-frame {
  position: absolute;
  inset: 0;
  filter: grayscale(0.15) contrast(1.05);
}

.contact-cta__map-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

/* Zwei-Klick-Lösung: Google Maps wird erst nach ausdrücklicher
   Zustimmung nachgeladen, vorher fließen keine Daten zu Google. */
.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 32px 28px;
  text-align: center;
  background: var(--color-light);
}

.map-consent svg {
  width: 36px;
  height: 36px;
  color: var(--color-accent);
}

.map-consent h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
}

.map-consent p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 380px;
}

.map-consent p a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.map-consent__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.map-consent__link:hover { color: var(--color-accent); }

/* ---- Footer ---- */

.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__slogan {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--color-accent-on-dark);
  font-weight: 500;
}

.footer__col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer__col ul li { margin-bottom: 8px; }

.footer__col a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__col a:hover { color: var(--color-accent-on-dark); }

.footer__col p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__legal { display: flex; gap: 24px; }

.footer__legal a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer__legal a:hover { color: var(--color-accent-on-dark); }

/* ---- Mobile Leiste ---- */

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 10px 16px;
  background: var(--color-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-bar__btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ---- Animationen ---- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__bg,
  .spotlight-card__image-inner,
  .philosophy__image-inner { animation: none !important; }
}

.anim-fade-up,
.anim-bounce-left,
.anim-bounce-up,
.anim-bounce-right,
.anim-slide-right,
.anim-zoom-in { opacity: 0; }

.anim-fade-up.is-visible { animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.anim-bounce-left.is-visible { animation: bounceInLeft 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.anim-bounce-up.is-visible { animation: bounceInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.anim-bounce-right.is-visible { animation: bounceInRight 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.anim-slide-right.is-visible { animation: slideInRight 1s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.anim-zoom-in.is-visible { animation: zoomIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceInLeft {
  0% { opacity: 0; transform: translateX(-80px); }
  60% { opacity: 1; transform: translateX(12px); }
  80% { transform: translateX(-6px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes bounceInUp {
  0% { opacity: 0; transform: translateY(80px); }
  60% { opacity: 1; transform: translateY(-12px); }
  80% { transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes bounceInRight {
  0% { opacity: 0; transform: translateX(80px); }
  60% { opacity: 1; transform: translateX(-12px); }
  80% { transform: translateX(6px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}

/* ---- Reveal ---- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal--visible { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .spotlight__grid { grid-template-columns: 1fr; }
  .spotlight { padding: 40px 0 0; margin-top: 0; }
  .icon-grid__items { grid-template-columns: repeat(4, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  /* ungerade Anzahl: letzte Kachel füllt die Reihe, damit kein leeres Feld bleibt */
  .services__grid .service-item:last-child { grid-column: 1 / -1; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .branches__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .philosophy { grid-template-columns: 1fr; }
  .philosophy__visual { min-height: 280px; }
  .philosophy__inner { padding: 60px 24px; text-align: center; }
  .philosophy__inner .btn { align-self: center; }
}

@media (max-width: 768px) {
  .topbar { display: none; }

  html { scroll-padding-top: var(--header-h); }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--color-white);
    padding: 16px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .nav--open { transform: translateY(0); opacity: 1; pointer-events: all; }

  .nav__link, .nav__cta { padding: 14px 24px; width: 100%; text-align: left; }

  .nav__cta { margin: 8px 24px 0; width: calc(100% - 48px); text-align: center; }

  .burger { display: flex; }

  .hero { min-height: 78vh; }

  .icon-grid__items { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .contact-cta__grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }

  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  .mobile-bar { display: block; }
  body { padding-bottom: 64px; }
}

@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .branches__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .icon-grid__items { grid-template-columns: 1fr 1fr; }
  .logo__img { height: 34px; }
}

/* ---- Rechtsseiten (Impressum / Datenschutz) ---- */

.legal { padding: 64px 0 100px; }

.legal__inner { max-width: 760px; margin: 0 auto; }

.legal__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.legal h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 40px 0 12px;
}

.legal h2:first-of-type { margin-top: 0; }

.legal p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal__list {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.9;
  padding-left: 20px;
  list-style: disc;
}

.legal a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__todo {
  display: inline-block;
  padding: 1px 8px;
  background: #FFF3CD;
  border: 1px dashed #C9A227;
  color: #7A5C00;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.legal__crosslink {
  display: inline-block;
  margin-top: 48px;
  font-weight: 700;
  text-decoration: none;
}

/* ---- Über-uns-Seite ---- */

.story { padding: 64px 0 100px; }

.story__inner { max-width: 760px; margin: 0 auto; }

.story__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.story h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-dark);
  margin-bottom: 24px;
}

.story__lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-dark);
  margin-bottom: 40px;
}

.story__image {
  width: 100%;
  height: auto;
  margin-bottom: 40px;
}

.story h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 44px 0 12px;
}

.story p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.story__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  margin-bottom: 8px;
}

.story__facts li {
  background: var(--color-white);
  padding: 22px 18px;
  text-align: center;
}

.story__facts strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1.2;
  margin-bottom: 4px;
}

.story__facts span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.story__claim {
  margin: 48px 0 40px;
  padding: 28px 32px;
  background: var(--color-light);
  border-left: 4px solid var(--color-accent);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-dark);
}

.story__cta { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .story__facts { grid-template-columns: repeat(2, 1fr); }
  .story__claim { padding: 22px 20px; }
  .story__cta { flex-direction: column; }
  .story__cta .btn { width: 100%; }
}
