/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

/* Kein Fokusring bei Maus-/Touch-Interaktion, aber sichtbar bei Tastaturfokus */
:focus:not(:focus-visible) { outline: none; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

:root {
  --blue:      #0077b6;
  --blue-dark: #023e8a;
  --blue-light:#90e0ef;
  --accent:    #00b4d8;
  --bg:        #f8fbfd;
  --text:      #1a1a2e;
  --muted:     #5a6a7a;
  --white:     #ffffff;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(0,119,182,.12);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Segoe UI', system-ui, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--blue-light);
  box-shadow: 0 2px 12px rgba(0,119,182,.08);
  overflow: hidden;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .9rem;
  padding-bottom: .9rem;
  gap: 1rem;
}

/* ── Logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.logo-abzieher {
  height: 52px;
  width: auto;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -.01em;
}

.logo-claim {
  font-size: .78rem;
  color: var(--muted);
  font-style: italic;
}

/* ── Nav ── */
nav {
  display: flex;
  gap: 1.75rem;
}

nav a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--blue-dark);
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}

nav a:hover {
  border-color: var(--blue);
  text-decoration: none;
}

/* ── Wave-Trenner (überall wo Blau auf einen anderen Hintergrund trifft) ── */
.wave-divider {
  display: block;
  width: 100%;
  height: 44px;
}

@media (max-width: 600px) {
  .wave-divider { height: 26px; }
}

/* Wellen-Kante, die direkt auf dem Farbverlauf einer Sektion "ausgestanzt" liegt
   (Füllfarbe = Nachbarsektion), damit kein Farbsprung gegenüber dem Verlauf entsteht */
.section-wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 48px;
  z-index: 2;
  display: block;
  pointer-events: none;
}

.section-wave--top { top: 0; }
.section-wave--bottom { bottom: 0; }

@media (max-width: 600px) {
  .section-wave { height: 30px; }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  margin: -1px 0;
  background:
    linear-gradient(160deg, var(--blue-dark) 0%, var(--blue) 55%, var(--accent) 100%);
  overflow: hidden;
}

/* Subtle pattern overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(144,224,239,.1) 0%, transparent 40%);
}

/* Abzieher-Logo als dekoratives Hero-Element */
.hero-deco {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 28%;
  max-width: 520px;
  height: auto;
  opacity: .13;
  pointer-events: none;
  z-index: 0;
  filter: brightness(0) invert(1);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 5rem 1.5rem 7rem;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.hero-content p {
  font-size: 1.1rem;
  opacity: .9;
  margin-bottom: 2rem;
}

/* ── Button ── */
.btn {
  display: inline-block;
  background: var(--white);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 1rem;
  padding: .8rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  transition: transform .15s, box-shadow .15s;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  text-decoration: none;
}

/* ── Section titles ── */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--blue-dark);
  text-align: center;
  margin-bottom: .5rem;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ── Leistungen ── */
.leistungen {
  padding: 5rem 0 4rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
  transition: transform .2s, box-shadow .2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,119,182,.18);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: #e8f4fb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: visible;
}


/* ── Blätterregen ── */
.leaf-rain {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

@keyframes leafFall {
  0%   { transform: translateY(-8px) translateX(0)           rotate(0deg);       opacity: 0;    }
  8%   { opacity: 0.35; }
  85%  { opacity: 0.15; }
  100% { transform: translateY(64px) translateX(var(--sway)) rotate(var(--rot)); opacity: 0;    }
}

.lf {
  position: absolute;
  top: -1px;
  width: 1px;
  height: auto;
  opacity: 0;
  transform-origin: center top;
  animation: leafFall var(--dur, 4.0s) ease-in var(--delay, 0s) infinite;
}

/* ── Müllwölkchen ── */
.anim-puffs {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 28px;
  pointer-events: none;
}

.anim-puffs i {
  position: absolute;
  bottom: 0;
  border-radius: 50% 50% 40% 40%;
  background: rgba(90,106,122,.28);
  opacity: 0;
}

@keyframes puff {
  0%   { transform: translateY(0)     scale(.5); opacity: 0;   }
  18%  { opacity: .65; }
  80%  { opacity: .2;  }
  100% { transform: translateY(-22px) scale(1.4); opacity: 0; }
}

.anim-puffs i:nth-child(1) {
  left: 4px;  width: 12px; height: 10px;
  animation: puff 2.4s ease-out 0s    infinite;
}
.anim-puffs i:nth-child(2) {
  left: 16px; width: 9px;  height: 8px;
  animation: puff 2.4s ease-out .8s   infinite;
}
.anim-puffs i:nth-child(3) {
  left: 26px; width: 11px; height: 9px;
  animation: puff 2.4s ease-out 1.6s  infinite;
}

.card-icon svg {
  width: 32px;
  height: 32px;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 1rem;
}

.card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.card ul li {
  padding-left: 1.4rem;
  position: relative;
  color: var(--muted);
  font-size: .95rem;
}

.card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* ── Sparkle-Effekt ── */
@keyframes sparkPop {
  0%, 100% { transform: scale(0) rotate(0deg);   opacity: 0; }
  40%       { opacity: 1; }
  60%       { transform: scale(1) rotate(45deg);  opacity: 1; }
  80%       { transform: scale(0.4) rotate(70deg); opacity: 0; }
}

.sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Jedes <i> ist ein vierzackiger Stern aus zwei schmalen Rechtecken */
.sparks i {
  position: absolute;
  display: block;
  width: 7px;
  height: 7px;
  opacity: 0;
}
.sparks i::before,
.sparks i::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #00b4d8;
  border-radius: 2px;
}
.sparks i::before { width: 7px; height: 2px; }
.sparks i::after  { width: 2px; height: 7px; }

/* Logo-Claim – kleine dezente Funkel */
.sparks:not(.sparks--hero):not(.sparks--icon) i:nth-child(1) {
  top: -6px; right: 2px;
  animation: sparkPop 3s ease-in-out 0s infinite;
}
.sparks:not(.sparks--hero):not(.sparks--icon) i:nth-child(2) {
  top: 2px; right: -10px;
  width: 5px; height: 5px;
  animation: sparkPop 3s ease-in-out 1s infinite;
}
.sparks:not(.sparks--hero):not(.sparks--icon) i::before { background: #0077b6; }
.sparks:not(.sparks--hero):not(.sparks--icon) i::after  { background: #0077b6; }
.sparks:not(.sparks--hero):not(.sparks--icon) i:nth-child(3) {
  top: -2px; right: -18px;
  width: 4px; height: 4px;
  animation: sparkPop 3s ease-in-out 2s infinite;
}

/* Hero – größere, hellere Funkel */
.sparks--hero i::before,
.sparks--hero i::after { background: rgba(255,255,255,.85); }
.sparks--hero i:nth-child(1) { top: -12px; right: 8px;  width: 9px;  height: 9px;  animation: sparkPop 2.8s ease-in-out 0s   infinite; }
.sparks--hero i:nth-child(2) { top:  4px;  right: -16px; width: 6px;  height: 6px;  animation: sparkPop 2.8s ease-in-out .7s  infinite; }
.sparks--hero i:nth-child(3) { top: -6px;  right: -30px; width: 8px;  height: 8px;  animation: sparkPop 2.8s ease-in-out 1.4s infinite; }
.sparks--hero i:nth-child(4) { top: 8px;   right: 18px;  width: 5px;  height: 5px;  animation: sparkPop 2.8s ease-in-out 2.1s infinite; }

/* Außenreinigung-Icon – kleine blaue Funkel */
.sparks--icon i::before,
.sparks--icon i::after { background: #0077b6; }
.sparks--icon i:nth-child(1) { top: -4px;  right: 4px;  width: 6px; height: 6px; animation: sparkPop 2.5s ease-in-out 0s   infinite; }
.sparks--icon i:nth-child(2) { top:  6px;  right: -6px; width: 4px; height: 4px; animation: sparkPop 2.5s ease-in-out .85s infinite; }
.sparks--icon i:nth-child(3) { top: -2px;  left: 4px;   width: 5px; height: 5px; animation: sparkPop 2.5s ease-in-out 1.7s infinite; }

/* ── Hero fade-in beim Laden ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-animate {
  opacity: 0;
  animation: heroFadeUp .7s ease forwards;
}
.hero-animate--1 { animation-delay: .15s; }
.hero-animate--2 { animation-delay: .35s; }
.hero-animate--3 { animation-delay: .55s; }

/* ── Scroll-Reveal ── */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes revealLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: none;
}
.reveal--left {
  transform: translateX(-28px);
}
.reveal.in-view {
  animation: revealUp .6s ease var(--reveal-delay, 0s) forwards;
}
.reveal--left.in-view {
  animation: revealLeft .6s ease var(--reveal-delay, 0s) forwards;
}

/* ── Card-Icon Animationen ── */

/* Pflanze wiegt sich im Wind */
@keyframes sway {
  0%, 100% { transform: rotate(0deg); }
  25%       { transform: rotate(-12deg); }
  75%       { transform: rotate(10deg); }
}

/* Mülleimer wackelt */
@keyframes wobble {
  0%, 100% { transform: rotate(0deg) translateX(0); }
  15%       { transform: rotate(-8deg) translateX(-3px); }
  30%       { transform: rotate(7deg)  translateX(3px); }
  45%       { transform: rotate(-5deg) translateX(-2px); }
  60%       { transform: rotate(4deg)  translateX(2px); }
  75%       { transform: rotate(-2deg) translateX(-1px); }
}

/* Besen wischt von links nach rechts */
@keyframes sweep {
  0%   { transform: translateX(0)    rotate(0deg); }
  30%  { transform: translateX(-6px) rotate(-8deg); }
  70%  { transform: translateX(6px)  rotate(6deg); }
  100% { transform: translateX(0)    rotate(0deg); }
}

.card-icon--gruen {
  transform-origin: center bottom;
  transition: background .2s;
}
.card:hover .card-icon--gruen svg,
.card-icon--gruen.scroll-animate svg {
  animation: sway .7s ease-in-out;
}

.card-icon--muell {
  transform-origin: center center;
}
.card:hover .card-icon--muell svg,
.card-icon--muell.scroll-animate svg {
  animation: wobble .6s ease-in-out;
}

.card-icon--reinigung {
  transform-origin: center center;
}
.card:hover .card-icon--reinigung svg,
.card-icon--reinigung.scroll-animate svg {
  animation: sweep .6s ease-in-out;
}

/* ── Vorteile ── */
.vorteile {
  position: relative;
  overflow: hidden;
  margin: -1px 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 5rem 0;
  color: var(--white);
}

.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.vorteil {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.vorteil-icon {
  font-size: 1.5rem;
  background: rgba(255,255,255,.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

.vorteil strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: .25rem;
}

.vorteil p {
  font-size: .9rem;
  opacity: .85;
}

/* ── Galerie / Slideshow ── */
.galerie {
  padding: 5rem 0 1rem;
}

/* Feste Rahmengröße für alle Bilder. Unterschiedliche Bildformate werden
   vollständig gezeigt (object-fit: contain); die freien Ränder füllt eine
   unscharfe, vergrößerte Kopie desselben Bildes statt leerer Balken. */
.slideshow {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--blue-dark);
  touch-action: pan-y;
}

.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 1.2s ease-in-out;
}

.slide.is-active {
  opacity: 1;
  z-index: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(28px) brightness(.7) saturate(1.15);
  transform: scale(1.25);
}

.slide-img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.06);
  transition: transform 6s ease-out;
}

/* Sanfter Zoom-Out, während das Bild sichtbar ist */
.slide.is-active .slide-img {
  transform: scale(1);
}

.slideshow-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.75);
  color: var(--blue-dark);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  transform: translateY(-50%);
  transition: background .2s, transform .2s;
}

.slideshow-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.08);
}

.slideshow-btn svg {
  width: 22px;
  height: 22px;
}

.slideshow-btn--prev { left: 1rem; }
.slideshow-btn--next { right: 1rem; }

.slideshow-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  gap: .5rem;
  transform: translateX(-50%);
}

.slideshow-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 5px;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  transition: width .35s ease, background .35s ease;
}

.slideshow-dot.is-active {
  width: 28px;
  background: var(--white);
}

@media (max-width: 600px) {
  .slideshow { aspect-ratio: 1 / 1; }
  .slideshow-btn { width: 36px; height: 36px; }
  .slideshow-btn svg { width: 18px; height: 18px; }
  .slideshow-btn--prev { left: .6rem; }
  .slideshow-btn--next { right: .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .slide { transition-duration: .4s; }
  .slide-img,
  .slide.is-active .slide-img { transform: none; transition: none; }
}

/* ── Über uns / Team ── */
.team {
  padding: 5rem 0 4rem;
}

.person-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
  max-width: 640px;
  margin: 0 auto;
}

.person-photo {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #e8f4fb;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue-light), 0 4px 16px rgba(0,119,182,.18);
  overflow: hidden;
}

.person-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: .2rem;
}

.person-role {
  display: block;
  color: var(--blue);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .75rem;
}

.person-info p {
  color: var(--muted);
  font-size: .95rem;
}

@media (max-width: 560px) {
  .person-card {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Kontakt ── */
.kontakt {
  padding: 5rem 0;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 720px) {
  .kontakt-grid { grid-template-columns: 1fr; }
}

.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.kontakt-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.kontakt-item svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-top: .1rem;
}

.kontakt-item strong {
  display: block;
  color: var(--blue-dark);
  font-weight: 700;
  margin-bottom: .2rem;
}

.kontakt-item p, .kontakt-item a {
  color: var(--muted);
  font-size: .97rem;
}

.kontakt-item a:hover { color: var(--blue); }

/* ── Form ── */
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.kontakt-form input,
.kontakt-form textarea {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 1.5px solid #cde;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .97rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
  resize: vertical;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.kontakt-form .btn {
  background: var(--blue);
  color: var(--white);
  align-self: flex-start;
}

.kontakt-form .btn:hover {
  background: var(--blue-dark);
}

.kontakt-form-fields {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  overflow: hidden;
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
  transition: max-height .5s ease, opacity .35s ease, transform .35s ease, margin .5s ease;
}

.kontakt-form-fields.is-hidden {
  max-height: 0;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .75rem;
  padding: 2.5rem 1rem;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .4s ease .15s, transform .4s ease .15s;
}

.form-success.is-visible {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

.form-success p {
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
}

.form-success-icon {
  width: 64px;
  height: 64px;
}

.form-success-icon__circle {
  stroke: #2a9d3a;
  stroke-width: 2.5;
  stroke-miterlimit: 10;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: form-success-circle .5s ease forwards;
}

.form-success-icon__check {
  stroke: #2a9d3a;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: form-success-check .3s ease .45s forwards;
}

@keyframes form-success-circle {
  to { stroke-dashoffset: 0; }
}

@keyframes form-success-check {
  to { stroke-dashoffset: 0; }
}

/* ── Maps ── */
.maps-wrap {
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  padding-bottom: 40%;
  min-height: 300px;
}

.maps-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.form-hint {
  color: #2a9d3a;
  font-size: .92rem;
  font-weight: 600;
  margin-top: .25rem;
}

.form-hint--error {
  color: #d64545;
}

/* ── Footer ── */
footer {
  margin-top: -1px;
  background: linear-gradient(180deg, var(--blue-dark) 0%, #01254f 100%);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .85rem;
  transition: transform .25s ease;
}

.footer-logo:hover {
  transform: translateY(-2px);
}

.footer-abzieher {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}

footer .logo-name { color: var(--white); font-size: 1rem; letter-spacing: .02em; }
footer .logo-claim { color: rgba(255,255,255,.55); font-style: italic; font-size: .8rem; }

.footer-divider {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-light), transparent);
  opacity: .5;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,.75);
  transition: color .2s ease, transform .2s ease;
}

.footer-social-link:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.footer-social-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.footer-copy {
  font-size: .85rem;
  opacity: .6;
}

.footer-links {
  font-size: .85rem;
}

.footer-links a {
  color: rgba(255,255,255,.75);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

/* ── Rechtstexte (Datenschutz etc.) ── */
.legal {
  padding: 3.5rem 0 5rem;
}

.legal-content {
  max-width: 760px;
}

.legal-content h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 1.5rem;
}

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 2rem 0 .75rem;
}

.legal-content p {
  color: var(--muted);
  margin-bottom: .75rem;
}

.legal-content ul {
  color: var(--muted);
  margin: 0 0 .75rem 1.25rem;
}

.legal-content li {
  margin-bottom: .35rem;
}

.legal-updated {
  margin-top: 2.5rem;
  font-size: .85rem;
  font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .header-inner { flex-wrap: wrap; }
  nav { gap: 1rem; }
  .logo-abzieher { height: 40px; }
  .hero-content { padding-bottom: 6rem; }
  .hero-deco { opacity: .08; right: 2%; width: 88%; max-width: none; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .hero-deco { right: 6%; width: 50%; max-width: none; }
}

/* ── Cookie-Consent-Banner ── */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--white);
  border-top: 2px solid var(--blue-light);
  box-shadow: 0 -4px 24px rgba(0,119,182,.15);
}

.cookie-consent-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-consent-inner p {
  flex: 1 1 380px;
  color: var(--muted);
  font-size: .92rem;
  margin: 0;
}

.cookie-consent-actions {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
}

.cookie-consent .btn {
  background: var(--blue);
  color: var(--white);
  padding: .65rem 1.5rem;
  font-size: .92rem;
  box-shadow: none;
}

.cookie-consent .btn:hover {
  background: var(--blue-dark);
  transform: none;
  box-shadow: none;
}

.cookie-consent .btn--outline {
  background: transparent;
  color: var(--blue-dark);
  border: 1.5px solid #cde;
}

.cookie-consent .btn--outline:hover {
  background: #e8f4fb;
}

@media (max-width: 600px) {
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: .85rem 1rem;
    gap: .65rem;
  }
  .cookie-consent-inner p {
    flex: 0 1 auto;
    font-size: .8rem;
    line-height: 1.4;
  }
  .cookie-consent-actions { justify-content: center; gap: .5rem; }
  .cookie-consent .btn {
    flex: 1;
    padding: .55rem .75rem;
    font-size: .82rem;
  }
}
