/* =========================================
   VAN SCHWAB – Design Tokens & Baseline
   Zweck: einheitliche Farben, Typo, Spacing
   ========================================= */

/* 1) Design Tokens (Farben, Radii, Abstände, Schatten) */
:root {
  /* Farben – Dark Theme */
  --bg: #0b0b0d; /* Haupt-Hintergrund */
  --bg-elev: #111215; /* Karten/erhöhte Flächen */
  --text: #e6e6eb; /* Primärer Text */
  --text-dim: #b3b3c2; /* Sekundärer Text */
  --accent: #e95a17; /* Markenakzent */
  --accent-600: #c94c12; /* Hover/Active */
  --border: #272833; /* feine Linien */

  /* Abstände (8px-Scale) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;

  /* Radius & Schatten */
  --radius: 14px;
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* 2) Baseline: Hintergrund, Typo, Links, Fokus */
html {
  /* nutzt deine lokal eingebundene Poppins (fonts.css) mit sinnvollen Fallbacks */
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  line-height: 1.25;
  margin: 0 0 var(--space-4);
}

p {
  color: var(--text-dim);
  margin: 0 0 var(--space-4);
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-600);
}

/* sichtbarer Tastaturfokus – dezent, aber klar (WCAG AA) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
/*======================== */
a {
  color: var(--b1); /* Standardfarbe: gleich wie Text (weißlich) */
  text-decoration: none; /* keine Unterstreichung */
}

a:hover {
  color: var(--b2); /* Hover-Effekt: dein Blau */
  text-decoration: undnerline; /* kleine Unterstreichung nur beim Hover */
}

.container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 4.5rem; /* nur schmaler Rand sichtbar */
  position: relative;
  border-radius: 2px;
  background: linear-gradient(180deg, #78899e 12%, #1f4e86 45%, #0c1e35 80%)
    content-box;
}

.section-inner {
  padding: 2rem; /* echter Innenabstand für Content */
}

.narrow {
  max-width: 800px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
  z-index: 1000;
}

.header.scrolled {
  background: rgba(10, 10, 18, 0.8);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(10px, 2vw, 18px) clamp(5px, 2vw, 18px); /* skaliert statt fix 18px */
}
.nav {
  margin-left: auto; /* Abstand zum Logo */
  margin-right: 2rem; /* optional: Abstand zum rechten Rand */
}

.logo {
  font-weight: 200;
  letter-spacing: 0.15px;
  text-decoration: none;
  color: var(--text);
  font-size: clamp(20px, 6vw, 45px); /* responsive Größe */
  margin-left: 0; /* Logo etwas nach links rausziehen */
}

.logo--small {
  font-size: clamp(12px, 1.5vw, 14px); /* auch flexibel */
}

/* Nav + Mega */
.nav__toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 8px;
}

.nav__list {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.nav__list a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.2s, color;
}

.nav__list a:hover {
  background: rgba(255, 255, 255, 0.281);
}

.nav__list a.active {
  background: rgba(71, 76, 76, 0.295); /* gleich wie Hover */
  color: #4646a1;
}

.has-mega {
  position: relative;
}

.mega {
  display: none;
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f0f19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px;
  gap: 26px;
  grid-template-columns: repeat(3, 1fr) 220px;
  box-shadow: var(--shadow);
}

/*.has-mega:hover .mega {
  display: none;
}*/

.mega__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
}

.mega__title {
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 4px;
}

.mega a {
  color: var(--text);
  opacity: 0.85;
  text-decoration: none;
}

.mega a:hover {
  opacity: 1;
}

.mega__cta {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding-top: 20px;
}

.hero--slim {
  min-height: auto;
  padding: 120px 0 40px;
}

.hero__bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      40% 40% at 20% 30%,
      rgba(138, 92, 255, 0.35),
      transparent 60%
    ),
    radial-gradient(
      40% 40% at 80% 30%,
      rgba(90, 179, 255, 0.35),
      transparent 60%
    );
  filter: blur(60px);
  opacity: 0.6;
  pointer-events: none;
}

.hero__title {
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.1;
  margin: 0 0 14px;
}

.hero__subtitle {
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 20px);
  margin: 0 auto 28px;
  max-width: 820px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero--fade {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: white;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);

  padding-top: 13rem; /* Abstand nach Header */
  padding-bottom: 2rem;
}

/* HERO Überschrift */

.hero__headline {
  display: block;
  font-size: clamp(32px, 6vw, 72px); /* Name groß */
  font-weight: 800; /* fett */
  line-height: 1.1;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.75);
  letter-spacing: -1px;
  font-family: "Poppins", "Helvetica Neue", sans-serif;

  /* Animation */
  opacity: 0;
  animation: fadeIn 2.2s ease-out forwards;
  animation-delay: 0.25s;
}

.hero__headline span {
  display: block;
  margin-top: 0.4em;
  font-size: clamp(16px, 4vw, 40px); /* deutlich kleiner */
  font-weight: 400; /* leichter */
  letter-spacing: 0; /* neutral */
}

/* Nur Einblenden */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* HERO Subline */
.hero__subline {
  font-size: clamp(16px, 4vw, 40px);
  line-height: 1.4;
  font-weight: 300;
  max-width: 90%;
  margin: 4rem auto 0 auto; /* oben 20rem, rechts/links auto, unten 0 */
  margin-bottom: 5%; /* oder beliebig größer/kleiner */
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  font-family: "Helvetica Neue", sans-serif;

  /* Animation */
  opacity: 0;
  animation: fadeIn 2.2s ease-out forwards;
  animation-delay: 0.55s;
}

/* Nur Einblenden */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Container für die rotierenden Wörter */
.text-animation-slide {
  display: block;
  position: relative;
  height: auto; /* dynamisch statt fix 1.4em */
  min-height: 1.8em; /* Sicherheitsnetz, damit nix springt */
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-top: 0.5rem;
  text-align: center;
}

/* Einzelnes Wort */

.text-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* nimmt volle Breite */
  opacity: 0;
  transform: translateY(20px); /* nur vertikal animieren */
  transition: opacity 0.6s ease, transform 0.6s ease;
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 3.5rem); /* dynamische Größe */
}

/* Sichtbares Wort */
.text-slide.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-block;
  border: none;
  text-decoration: none;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.3s, background 0.3s;
}

.btn--primary {
  font-size: clamp(26px, 4vw, 38px);
  padding: clamp(12px, 2vw, 18px) clamp(28px, 4vw, 40px);
  border-radius: 140px;
  background: linear-gradient(45deg, #dfe0e257, #020711, #515152 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
  transition: background-position 0.5s ease; /* smoother Effekt */
  background-size: 200% 100%;
  background-position: 0% 50%; /* Startposition */
  margin-bottom: 10%;
}

/* Animation nur beim Hover */
.btn--primary:hover {
  background-position: 100% 50%;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
.btn--glow {
  box-shadow: 0 0 0 rgba(138, 92, 255, 0);
}

.btn--pulse {
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.15);
  }
}

.btn--cta {
  font-size: clamp(18px, 2vw, 24px);
  padding: clamp(16px, 2vw, 22px) clamp(28px, 4vw, 40px);
  border-radius: 14px;
  background: linear-gradient(-45deg, #09141f, #020711, #011a4d, #0a101d);
  background-size: 222% 333%;
  color: #fff;
  font-weight: 700;

  /* beide Animationen zusammen */
  animation: gradientMove 8s ease infinite, pulse 2.4s ease-in-out infinite;
}

/* Spezielles Styling nur für Buttons im Kontaktformular */
form .btn {
  display: block; /* Button steht alleine in der Zeile */
  margin: 5rem auto 0; /* Abstand nach oben, mittig durch auto */
  text-align: center; /* Text bleibt mittig */
}

.about__content .btn {
  margin-top: 1px; /* oder 15%, wenn dynamisch gewünscht */
}

/* Animation muss separat definiert sein */
@keyframes fadeInBg {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.btn--fadein {
  opacity: 0;
  animation-name: fadeIn;
  animation-duration: 2.2s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
  animation-delay: 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Grid */
.grid {
  display: grid;
  gap: 22px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

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

@media (max-width: 640px) {
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
}

/* Cards & sections */
.card,
.feature {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.card__link {
  display: inline-block;
  margin-top: 10px;
  color: var(--text);
  text-decoration: none;
  opacity: 0.85;
}

.card:hover {
  transform: translateY(-4px);
  transition: transform 0.2s;
}

.section__head {
  text-align: center;
  margin-bottom: 28px;
}

/* Titel in Sections */
.section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 1.2rem;
  color: var(--text);
  text-align: center;
}

.section__subtitle {
  color: var(--muted);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}
/* Benefits */
.benefit h4 {
  margin: 0 0 6px;
}

.benefit p {
  color: var(--muted);
  margin: 0;
}

.benefit-claim {
  text-align: center;
  color: #fff;
}

.benefit-claim .line {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.5s ease;
  max-width: 100%; /* volle Breite nutzbar */
  margin: 0 auto;
  font-size: clamp(1.8rem, 4vw, 2.8rem); /* größer, dynamischer */
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.benefit-claim .big {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 10px;
  opacity: 1; /* Container ist sichtbar */
  transform: none;
}

/* VAN SCHWAB Animation */
#van {
  visibility: visible; /* Container bleibt sichtbar */
  color: white;
  background: none;
  -webkit-text-fill-color: white;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.6),
    0 0 2px rgba(255, 255, 255, 0.4);
}

#van span {
  display: inline-block;
  opacity: 0; /* Buchstaben starten unsichtbar */
  transform: translateY(20px);
  transition: all 0.4s ease;
}

/* Glow-Effekt dezent */
.benefit-claim .big {
  text-shadow: 0 0 8px rgba(19, 1, 1, 0.3), 0 0 14px rgba(255, 255, 255, 0.2);
}

/* Claim-Sektion kompakter machen */
.section--tint {
  padding: 2.5rem 0;
  background: linear-gradient(60deg, #034ce928 12%, #861f35 65%, #0c1e35 80%);
}
.section--tint .line {
  background: linear-gradient(2deg, #eef1f0, #054ddd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: whitesmoke;
  text-shadow: none;
}

/* Forms */
.form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form input,
.form textarea {
  background: #0f0f19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  outline: none;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--b1);
}

/* CTA */
.cta {
  background: linear-gradient(
    90deg,
    rgba(90, 179, 255, 0.12),
    rgba(138, 92, 255, 0.12)
  );
  text-align: center;
}

.cta__inner {
  display: grid;
  gap: 10px;
  justify-items: center;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s, transform 0.6s;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Accordion */
.accordion {
  display: grid;
  gap: 14px;
}

.acc-toggle {
  width: 100%;
  text-align: left;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0f0f19;
  color: var(--text);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.acc-toggle:hover {
  border-color: var(--b1);
}

.acc-panel {
  display: none;
  padding: 16px;
  border-left: 3px solid var(--b1);
  margin: 0 6px;
}

.acc-item.open .acc-panel {
  display: block;
}

.acc-icon {
  opacity: 0.7;
}

/* Rotating words */
.hero .rotating {
  display: inline-block;
  margin-left: 8px;
  opacity: 0.9;
}

/* About Section */
.about {
  position: relative;
  padding: 120px 20px 60px 20px;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1b2a, #1b263b, #000);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0; /* Vollflächig, kein 110px Offset */
  background: url("../img/about-inset.jpg") center/cover no-repeat;
  filter: brightness(0.6);
  border-radius: 12px;
  z-index: 0;
  animation: zoomBg 30s ease-in-out infinite;
  transform-origin: center;
}

.about__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 2fr; /* Bild links, Text rechts */
  gap: 40px;
  align-items: center; /* vertikal mittig */
}

.about__image img {
  width: 100%; /* füllt Spalte */
  max-width: 320px; /* nicht größer */
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  margin: 0;
  position: relative;
  z-index: 2;
}

.about__content {
  margin: 0; /* kein künstliches runterschieben */
}

/* Animationen */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes zoomBg {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .about__inner {
    grid-template-columns: 1fr; /* Bild über Text */
    text-align: center;
  }

  .about__image img {
    margin: 0 auto;
  }

  .about__content {
    margin-top: 5.5rem; /* Abstand vom Bild zum Text */
  }
}

/* ============================= */
/* Kontaktformular Grundlayout    */
/* ============================= */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Abstand zwischen den Feldern */
}

.form__group {
  display: flex;
  flex-direction: column;
}

.form__group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #ddd; /* Labels heller für Dark-Theme */
}

/* Eingabefelder + Textarea */
.form__group input,
.form__group textarea {
  width: 100%;
  padding: 0.8rem 0.3rem;
  border: 1px solid #d5d9df;
  border-radius: 12px;
  background: rgba(20, 20, 20, 0.95);
  color: #fff; /* weiße Schrift */
  transition: all 0.2s ease;
  resize: none; /* verhindert das Ziehen */
}

/* Fokus-Effekt Text Feld*/
.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border: 0.2px solid transparent;
  border-radius: 8px;
  border-image: linear-gradient(45deg, #13db34ab, #1b263b, #a10911) 1 round;
  box-shadow: 0 0 15px rgba(233, 90, 23, 0.8);
}

/* Absenden Button*/
.contact-form .btn--primary {
  font-size: 18px;
  padding: 14px 28px;
  border-radius: 10px;
  margin-top: 1rem;
  background: linear-gradient(135deg, #e95a17, #ff7e39);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(233, 90, 23, 0.4);
}

/* ============================= */
/* DSGVO Checkbox (Basis-Layout) */
/* ============================= */
.form__group.checkbox {
  display: flex;
  align-items: center; /* sorgt dafür, dass Checkbox und Text auf einer Linie sind */
  font-size: 1rem; /* Textgröße */
  color: #ccc;
  gap: 0.6rem; /* Abstand zwischen Box und Text */
}

.form__group.checkbox input[type="checkbox"] {
  width: 20px; /* etwas größer */
  height: 20px;
  accent-color: #e95a17; /* moderne Browser färben die Checkbox orange */
  cursor: pointer;
}

/* ========== Header: Responsive Fixes ========== */

/* Desktop (ab 901px) */
@media (min-width: 901px) {
  .header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(10px, 2vw, 18px) 0;
  }

  .nav {
    margin-left: auto;
    margin-right: 2rem;
  }

  .header__inner > .nav .nav__list {
    display: flex;
    justify-content: flex-end;
    position: relative;
    background: none;
    flex-direction: row;
  }

  .nav__toggle {
    display: none; /* Burger nur auf Mobile */
  }
}

/* Mobile (bis 900px) */
@media (max-width: 900px) {
  .nav__list {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    flex-direction: column;
    padding: 1rem;
    border-radius: 8px;
    z-index: 999;
    background: none; /* <- Standard transparent */
  }

  /* Nur sichtbar & transparent, wenn geöffnet */
  .nav__toggle[aria-expanded="true"] + .nav__list {
    display: flex;
    background: transparent;
  }
}

.nav__toggle {
  display: block;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 1001;
}

/* Hamburger icon (3 bars) */
.nav__toggle .burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
  margin-right: 8px;
}
.nav__toggle .burger .bar {
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav__toggle[aria-expanded="true"] .burger .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .burger .bar:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] .burger .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__list {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 220px;
  flex-direction: column;
  padding: 1rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 999;
}

.nav__toggle[aria-expanded="true"] + .nav__list {
  display: flex;
}

/* Touch-friendly nav links */
.nav__list a {
  padding: 10px 12px;
}

.logo {
  margin-left: 1rem;
}

/* ===== FINAL HEADER & HERO FIXES (do not remove) ===== */
.header {
  z-index: 1000 !important;
}

.header__inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  text-align: initial !important;
}

.header__inner > .nav {
  margin-left: auto !important;
  margin-right: 2rem !important;
  text-align: left !important;
}

.logo {
  margin-left: 0 !important;
}

@media (max-width: 900px) {
  .header__inner > .nav {
    margin: 0 !important;
  }
}

/* Ensure hero background never overlays header */
.hero--fade {
  position: relative;
  z-index: 1 !important;
}
.hero--fade::before {
  z-index: 0 !important;
}
.hero__content {
  position: relative;
  z-index: 2 !important;
}

/* ===== HEADER CONTAINER FLUID (forces full-width header) ===== */
.header .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: clamp(12px, 3vw, 32px) !important;
  padding-right: clamp(12px, 3vw, 32px) !important;
}

/* =============================
   MOBILE FULLSCREEN MENU – FINAL
   ============================= */
@media (max-width: 900px) {
  /* Burger sichtbar nur mobil */
  .nav__toggle {
    display: block !important;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    z-index: 2001;
  }

  /* Vollbild-Overlay */
  .nav__list {
    display: none !important; /* Standard: versteckt */
    position: fixed !important;
    inset: 0 !important; /* top/right/bottom/left:0 */
    width: 100% !important;
    height: 100svh !important;
    margin: 0 !important;
    padding: 6rem 2rem 3rem !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.2rem !important;
    background: rgba(7, 7, 12, 0.96) !important; /* kein Blur mehr */
    backdrop-filter: none !important;
    box-shadow: none !important;
    z-index: 2000 !important;
  }

  /* wenn Burger geöffnet → Liste anzeigen */
  .nav__toggle[aria-expanded="true"] + .nav__list {
    display: flex !important;
  }

  .nav__list a {
    color: #fff !important;
    font-size: clamp(18px, 6vw, 26px) !important;
    padding: 0.6rem 1rem !important;
    border-radius: 12px !important;
  }

  .nav__list a:active,
  .nav__list a:hover {
    background: rgba(255, 255, 255, 0.08) !important;
  }

  /* Background-Scroll sperren wenn Menü offen */
  body.menu-open {
    overflow: hidden !important;
    touch-action: none !important;
  }
}

/* =============================
   DESKTOP HEADER – Burger aus
   ============================= */
@media (min-width: 901px) {
  .nav__toggle {
    display: none !important;
  }
  .nav__list {
    display: flex !important;
    position: static !important;
    height: auto !important;
    width: auto !important;
    padding: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
}
/* ================================
   MOBILE: BURGER BUTTON POSITION
   ================================ */
@media (max-width: 900px) {
  .nav__toggle {
    position: relative;
    right: 30px; /* Abstand vom rechten Rand */
  }
}

/* ================================
   MOBILE: NAV LIST LAYOUT (zentriert)
   ================================ */
@media (max-width: 900px) {
  .nav__list {
    display: flex !important; /* Standard-Anordnung */
    flex-direction: column !important; /* Links untereinander */
    justify-content: center !important; /* vertikal mittig */
    align-items: center !important; /* horizontal mittig */
    padding: 0 !important;
    margin: 0 !important;
  }
}

/* ================================
   MOBILE: NAV LIST OVERLAY BACKGROUND
   ================================ */
@media (max-width: 900px) {
  .nav__list {
    background: rgba(0, 0, 0, 0.75) !important; /* 20% transparenter */
  }
}

/* ================================
   MOBILE: NAV LIST ANZEIGEN / VERSTECKEN
   (öffnet nur bei aria-expanded="true")
   ================================ */
@media (max-width: 900px) {
  .nav__list {
    display: none !important; /* immer versteckt im Normalzustand */
  }
  .nav__toggle[aria-expanded="true"] ~ .nav__list {
    display: flex !important; /* nur sichtbar, wenn Burger aktiv */
  }
}

/* ================================
   MOBILE: NAV LIST ANIMATION
   ================================ */
@media (max-width: 900px) {
  .nav__list {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav__toggle[aria-expanded="true"] ~ .nav__list {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   MOBILE: Section-Subtitle + Benefits ausblenden
   ================================ */
@media (max-width: 768px) {
  .section__subtitle,
  .benefits {
    display: none !important;
  }
}

/* ================================
   MOBILE: Contact-Form mit Rahmen-Effekt
   ================================ */
@media (max-width: 768px) {
  .contact-form {
    width: 100%;
    max-width: 90%; /* etwas breiter als Felder */
    margin: 0 auto;
    padding: 1.5rem; /* mehr Innenabstand sichtbar */
    background: rgba(0, 0, 0, 0.25);
    border-radius: 14px;
    box-sizing: border-box;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%; /* Felder füllen Innenfläche */
    max-width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    margin-bottom: 0.7rem;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.85); /* dunkler für besseren Kontrast */
    color: #fff;
  }

  .contact-form .btn {
    width: 100%;
    font-size: 16px;
    padding: 0.9rem;
    border-radius: 8px;
    margin-top: 1rem;
  }
}

/* ================================
   MOBILE: Hero Subline optimieren
   ================================ */
@media (max-width: 768px) {
  .hero__subline {
    margin-top: 3.8rem;
    margin-bottom: 0.8rem;
    font-size: clamp(20px, 5vw, 28px);
    line-height: 1.4;
    font-weight: 500;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.9);
    text-align: center;
  }

  .hero__subline .text-animation-slide {
    position: relative;
    display: inline-block;
    min-height: 1.4em; /* Mindesthöhe, aber wächst mit */
  }

  .hero__subline .text-slide {
    position: relative;
    left: 0;
    right: 0;
    font-size: clamp(30px, 8vw, 46px);
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.95);
    opacity: 0;
    animation: slideVerticalSoft 8s infinite;
  }

  /* nacheinander triggern */
  .hero__subline .text-slide:nth-child(1) {
    animation-delay: 0s;
  }
  .hero__subline .text-slide:nth-child(2) {
    animation-delay: 2.5s;
  }
  .hero__subline .text-slide:nth-child(3) {
    animation-delay: 5s;
  }
  .hero__subline .text-slide:nth-child(4) {
    animation-delay: 7.5s;
  }
}

/* ================================
   MOBILE: Hero Headline optimieren
   ================================ */
@media (max-width: 768px) {
  .hero__headline {
    margin-top: -9.5rem; /* etwas weiter nach oben */
    font-size: clamp(32px, 9vw, 52px); /* ca. +30% größer */
    line-height: 1.2;
    text-align: center;
  }
}

/* ================================
   MOBILE: About-Section Background
   ================================ */

@media (max-width: 768px) {
  .about::before {
    inset: 35px; /* viel kleiner auf Mobile */
  }
}
.about__content p:last-of-type {
  margin-bottom: 1.5rem;
  color: var(--text);
  font-weight: 600;
}

/* Nur auf Kontaktseite */
body.contact .section.contact {
  background: linear-gradient(45deg, #13db343f, #1b263b, #a1091162);
  padding: 80px 20px;
  border-radius: 2px;
}
body.contact .section.contact:first-of-type {
  background: linear-gradient(135deg, #052a6ed5 10%, #9109098a 80%);
}

body.contact .contact-form {
  background: rgba(228, 222, 222, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ================================
   MOBILE: About-Section Mehr Abstand zwischen den Listenpunkten
   ================================ */

/* Mehr Abstand zwischen den Listenpunkten auf mobilen Geräten */
@media (max-width: 768px) {
  .about__content ul li {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .about__content .btn--primary {
    font-size: 18px; /* kleiner Text */
    padding: 12px 22px; /* schmalere Höhe/Breite */
    border-radius: 12px; /* nicht pillenförmig */
    width: 100%; /* volle Breite für mobile */
    max-width: 280px; /* aber nicht zu breit */
    margin: 1.5rem auto 0; /* zentriert mit Abstand */
    display: block;
  }
}

/* About Animation */
.about__image .reveal {
  opacity: 0;
  transform: translateX(-40px); /* startet links */
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: 0.8s; /* Verzögerung, damit Background schon da ist */
}

.about__image.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Text-Inhalt nur über die .reveal-Klassen steuern */
.about__content {
  opacity: 1; /* fix sichtbar lassen */
  transform: none;
}

.about__content.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Basis Reveal (von unten) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   MOBILE: About-Section optimiert
   ================================ */
@media (max-width: 768px) {
  .about__headline {
    display: block !important;
    font-size: 1.6rem;
    margin-top: -7rem;
    margin-bottom: 0.8rem;
    text-align: center;
  }

  .about__content p:first-of-type {
    margin-top: 0;
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 5rem;
    text-align: center;
  }

  .about__content p:nth-of-type(2) {
    font-size: 1.5rem;
    font-weight: 200;
    margin-bottom: 1.2rem;
    text-align: center;
  }

  .about__content ul {
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: left;
  }

  .about__content ul li {
    margin-bottom: 1.2rem;
    line-height: 1.5;
  }
}
@media (max-width: 768px) {
  /* Claim-Text */
  .about__content p:last-of-type {
    font-size: 1rem;
    font-weight: 400;
    margin: 2rem 0;
    text-align: center;
    color: var(--text);
    line-height: 1.6;
  }

  /* Abschluss "Ihr Vorsprung beginnt hier." */
  .about__content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text);
  }

  /* Button */
  .about__content .btn--primary {
    font-size: 18px;
    padding: 12px 22px;
    border-radius: 12px;
    width: 100%; /* volle Breite auf Mobile */
    max-width: 280px; /* nicht zu breit */
    margin: 0 auto 2rem; /* zentriert + Luft nach unten */
    display: block;
  }
}

/* Footer */
.footer {
  padding: 40px 0;
  background: rgba(0, 0, 0, 0.35);
  margin-top: 40px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__brand p {
  margin: 0.25rem 0;
  color: var(--muted);
}

.footer__links {
  display: flex;
  gap: 16px;
}

.footer__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--text);
}

.footer__meta {
  font-size: 13px;
  color: var(--muted);
}

/* Speziell für rechtliche Seiten */
.page-legal .section {
  text-align: left; /* Inhalt mittig */
  margin-top: 5%; /* Abstand zum Header */
}

.page-legal .container {
  max-width: 700px; /* Text schmäler für bessere Lesbarkeit */
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111; /* dunkler Hintergrund */
  color: #fff;
  padding: 1rem;
  font-size: 14px;
  display: none; /* per JS gesteuert */
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.6);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap; /* mobil untereinander */
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  flex: 1 1 60%;
}

.cookie-buttons {
  flex: 1 1 30%;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-buttons button {
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s ease-in-out;
}

#cookie-accept {
  background: #28a745; /* grün */
  color: #fff;
}
#cookie-accept:hover {
  background: #218838;
}

#cookie-decline {
  background: #dc3545; /* rot */
  color: #fff;
}
#cookie-decline:hover {
  background: #c82333;
}

/* Sticky Footer (Hybrid) */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 0 0 auto; /* nur so hoch wie der Inhalt, nicht dehnen */
}

.footer {
  margin-top: auto; /* Footer rutscht ans Ende */
  padding: 40px 0;
  background: rgba(0, 0, 0, 0.35);
}

/* === Sticky Footer Hybrid (final override) === */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 0 0 auto;
}
.footer {
  margin-top: auto;
}

/* =====================================
   BACK TO TOP – VAN SCHWAB STYLE (isoliert)
   ===================================== */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, #85817f 0%, #969493 80%);
  box-shadow: 0 0 5px rgba(233, 90, 23, 0.6);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 9999;
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
}

#backToTop:hover {
  transform: translateY(-4px);
}

/* ======= VAN SCHWAB ARROW ======= */
.vanschwab-arrow {
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  transform: rotate(-45deg);
  position: relative;
}

.vanschwab-arrow::before,
.vanschwab-arrow::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-style: solid;
  border-color: #fff;
  transition: 0.25s ease;
}

.vanschwab-arrow::before {
  border-width: 3px 3px 0 0;
  top: 0;
  left: 0;
  transform-origin: 100% 0;
}

.vanschwab-arrow::after {
  border-width: 0 3px 0 0;
  top: 0;
  left: 0;
  transform-origin: 80% 0;
}

#backToTop:hover .vanschwab-arrow::after {
  transform: rotate(45deg);
  border-color: #ffb347;
  height: 120%;
}

#backToTop:hover .vanschwab-arrow::before {
  border-color: #ffb347;
  transform: scale(0.8);
}

@media (max-width: 768px) {
  #backToTop {
    width: 45px;
    height: 45px;
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .vanschwab-arrow {
    width: 16px;
    height: 16px;
  }
}

/* About image reveal delay so bg can load first */
.about__image.reveal {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1.2s ease, transform 1.2s ease;
  transition-delay: 0.6s;
}
.about__image.reveal.visible {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 900px) {
  .nav__toggle {
    display: flex;
    align-items: center;
    gap: 6px; /* Abstand Icon ↔ Text */
    font-size: 16px;
    font-weight: 500;
  }

  .nav__toggle .nav__label {
    display: inline-block;
  }
}
.section__quote {
  font-weight: 400; /* weniger fett */
  font-style: italic; /* wirkt wie ein Zitat */
  line-height: 1.5;
  max-width: 1400px; /* damit es nicht zu breit läuft */
  margin: 1.5rem auto; /* mittig mit Abstand */
  display: block;
}

.header__phone {
  margin-left: 12; /* direkt neben dem Logo mit etwas Abstand */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.header__phone:hover { opacity: 0.95; }

.header__phone .icon { 
  width: 22px; 
  height: 22px; 
  color: var(--text);
}

.header__phone .mobile { display: none; }

@media (max-width: 901px) {
  .header__phone { margin-left: 0; }
  .header__phone .desktop { display: none; } /* nur Icon auf Mobile */
  .header__phone .mobile { display: none; }
  .header__phone .icon { display: inline-block; width: 24px; height: 24px; margin-right: 25vw; }
}

/* SHOWCASE BLOCK */
.showcase-item {
  text-align: center;
  margin-bottom: 2rem;
}
/* Titel nur für Showcase-Section */
.showcase .section__title {
  font-size: 3.7rem;

  cursor: pointer;
  color: whitesmoke; /* optional */
}

/* Titel klickbar + Vorschau-Träger */
.showcase-item h3 {
  font-size: 2rem;
  position: relative;
  text-decoration: underline;
  cursor: pointer;
}

/* Vorschau-Bild jetzt direkt am H3 */
.showcase-item h3::after {
  content: "";
  position: absolute;
  top: -305px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  width: min(90vw, 490px); /* passt sich Viewport an */
  height: auto; /* Höhe skaliert mit */
  aspect-ratio: 490 / 300; /* Seitenverhältnis halten */
  background-size: cover;
  background-position: top center;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.6), 0 0 40px rgba(22, 22, 21, 0.918);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 60;
}

/* Wenn sichtbar → blockiert darunterliegende Klicks */
.showcase-item h3.active::after,
.showcase-item h3:hover::after {
  pointer-events: auto;
}

/* Bilder pro Seite */
.showcase-item.tierarzt h3::after {
  background-image: url("/assets/img/showcase-tierarzt.png");
}
.showcase-item.saegewerk h3::after {
  background-image: url("/assets/img/showcase-saegewerk.png");
}
.showcase-item.nails h3::after {
  background-image: url("/assets/img/showcase-nails.png");
}

/* Desktop Hover nur auf H3 */
.showcase-item h3:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(0.8);
}

/* Mobile Active */
.showcase-item h3.active::after {
  opacity: 1;
  transform: translateX(-55%) scale(1);
}

/* Link zur Showcase-Seite */
.showcase-item a {
  color: #d4af37;
  font-size: 1.7rem;
  font-weight: 400;
  text-decoration: none;
  position: relative;
}

.showcase-item a:hover {
  text-decoration: underline;
}

/* Showcase-Subline */
.showcase-sub {
  font-size: 1.5rem;
  font-weight: 400;
  color: #4b5563;
  line-height: 1.8;
}

/* Vorschau-Bild Standard */
.showcase-item h3::after {
  pointer-events: none; /* Bild selbst nicht klickbar */
}

/* Mobile Anpassung für Hover-Bilder */
@media (max-width: 768px) {
  .showcase-item h3::after {
    top: -200px;
    transform: translateX(-40%) scale(1.1);
  }
}

/* === HERO BLOB SHAPE (revamp) === */

/* ===== VAN SCHWAB — THEME REVAMP (Bold) ===== */
:root {
  --bg: #2d2d2d;
  --bg-2: #0e141b;
  --surface: #111926;
  --card: #131e2b;
  --text: #e8eef6;
  --muted: #9fb1c9;
  --brand: #6aa6ff;
  --brand-2: #66e7ff;
  --accent: #c68bff;
  --ok: #44d4a2;
  --warn: #ffb454;
  --radius: 16px;
  --shadow-1: 0 10px 28px rgba(0, 0, 0, 0.25);
  --shadow-2: 0 14px 50px rgba(0, 0, 0, 0.38), 0 2px 12px rgba(0, 0, 0, 0.2);
  --ring: 0 0 0 3px rgba(106, 166, 255, 0.28);
}

html,
body {
  background: var(--bg);
  color: var(--text);
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: -12vmax;
  background: radial-gradient(
      55vmax 55vmax at 8% -8%,
      rgba(106, 166, 255, 0.18),
      transparent 60%
    ),
    radial-gradient(
      55vmax 55vmax at 110% 20%,
      rgba(198, 139, 255, 0.12),
      transparent 60%
    ),
    radial-gradient(
      45vmax 45vmax at -10% 110%,
      rgba(102, 231, 255, 0.1),
      transparent 60%
    );
  pointer-events: none;
  z-index: -1;
  filter: saturate(115%);
}

.header .logo {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav__list a {
  padding: 0.5rem 0.7rem;
  border-radius: 12px;
  transition: background 0.16s ease, transform 0.16s ease;
}

.nav__list a:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.hero {
  padding: clamp(88px, 12vh, 140px) 0 96px;
}

.hero--bold {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 36px 36px;
  background: radial-gradient(
      90% 100% at 12% 0%,
      rgba(106, 166, 255, 0.16) 0%,
      transparent 60%
    ),
    radial-gradient(
      70% 90% at 110% 10%,
      rgba(198, 139, 255, 0.12) 0%,
      transparent 55%
    ),
    linear-gradient(
      180deg,
      color-mix(in oklab, var(--bg) 86%, transparent),
      var(--bg) 40%
    );
}

.hero--bold::after {
  content: "";
  position: absolute;
  inset: 5% 15%;
  background: conic-gradient(
    from 90deg at 70% 20%,
    rgba(255, 255, 255, 0.06),
    transparent 40%
  );
  animation: sweep 9s linear infinite;
  clip-path: polygon(
    50% 0%,
    100% 50%,
    50% 100%,
    0% 50%
  ); /* perfekter Diamant */
  transform: rotate(25deg); /* leichte Neigung */
}

@keyframes sweep {
  to {
    transform: rotate(1turn);
  }
}

.hero h1 {
  font-size: clamp(2.2rem, 3.6vw + 1.2rem, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin: 55px 0 4px;
}

.hero p.lead {
  font-size: clamp(1.05rem, 0.7vw + 0.9rem, 1.25rem);
  color: var(--muted);
  max-width: 72ch;
  margin-inline: auto;
}

.btn {
  --btn-bg: var(--brand);
  --btn-fg: #0b1020;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px; /* touch target */
  padding: 0.95rem 1.2rem;
  border-radius: 14px;
  font-weight: 800;
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--btn-bg) 85%, #fff 4%),
    var(--btn-bg)
  );
  color: var(--btn-fg);
  border: 1px solid color-mix(in oklab, var(--btn-bg) 60%, #000 20%);
  box-shadow: 0 12px 26px rgba(106, 166, 255, 0.28);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: saturate(110%);
  box-shadow: var(--shadow-2);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn--glow {
  position: relative;
  overflow: hidden;
}

.btn--glow::after {
  content: "";
  position: absolute;
  inset: -20% -60%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.32) 40%,
    transparent 80%
  );
  transform: translateX(-30%);
  transition: transform 0.55s ease;
}

.btn--glow:hover::after {
  transform: translateX(50%);
}
@media (max-width: 1152px) {
  .btn--ghost {
    display: block;
    margin: 0 auto;
    text-align: center;
  }
}

/* Lazy image fade-in */
img.lazy-img {
  opacity: 0.6;
  filter: blur(8px);
  transition: opacity 0.6s ease, filter 0.6s ease;
}
img.lazy-img.is-loaded {
  opacity: 1;
  filter: blur(0);
}

.section {
      padding: clamp(3px, 10vh, 10px) 0;
      border-radius: 1.5rem;
    
}

/* Ausnahme für About */
.section.about {
  padding: 120px 20px 60px 20px;
  
}

.section--legal {
  padding-top: 8rem; /* Abstand nach Header */
  padding-bottom: 4rem; /* unten normal */
  background: rgb(46, 44, 44); /* kein Gradient */
}

.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 28px);
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--surface) 96%, transparent),
    var(--surface)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: clamp(20px, 2.3vw, 28px);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
  border-color: rgba(255, 255, 255, 0.12);
}

.card h3 {
  margin: 0 0 0.35rem;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

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

.showcase-grid a.thumb {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.showcase-grid a.thumb img {
  width: 100%;
  display: block;
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.showcase-grid a.thumb:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-2);
}

.showcase-grid a.thumb:hover img {
  transform: scale(1.08);
}

.showcase-grid a.thumb .badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--bg-2) 94%, transparent),
    var(--bg-2)
  );
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;
  font-size: 0.9em;
  opacity: 0.9;
}

.text-dim {
  color: var(--muted);
}

.xl {
  font-size: clamp(1.4rem, 0.9vw + 1.1rem, 1.9rem);
}

.lh-tight {
  line-height: 1.1;
}

input,
textarea,
select {
  background: var(--surface);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(104, 240, 255, 0.35);
  box-shadow: var(--ring);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--brand-2);
  background: rgba(104, 240, 255, 0.09);
}

/* AUTO PATCH: reset margins & overflow-x */

/* FIX: remove default body margin and prevent horizontal overflow causing side borders */
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
