/* Header */

/* =========== Dein Header-CSS (gescoped auf .generator-page) =========== */
/* Vollflächiger Teaser-Blur nur auf der Generator-Seite */
.generator-page .gen-blur-overlay{
  position: fixed;
  inset: 0;
  backdrop-filter: blur(6px) saturate(115%);
  -webkit-backdrop-filter: blur(6px) saturate(115%);
  background: rgba(10,10,11,0.32);  /* leichter Abdunkler, durchscheinen lassen */
  z-index: 9999;
  pointer-events: none;             /* Interaktionen bleiben möglich */
}

/* Globalen 300vh-Hack auf der Generator-Seite neutralisieren */
.generator-page main{
  min-height: auto;   /* oder: 0 */
}

/* Sicherheitshalber alles Überstehende/“Artefakte“ abschalten */
.generator-page .dashed-line-section,
.generator-page .dashed-line-section2,
.generator-page .services-scroll-arrow{
  display: none !important;
}

/* Wenn du Klicks blocken willst, nimm stattdessen: */
/* .generator-page .gen-blur-overlay { pointer-events:auto; cursor:not-allowed; } */
/* Grundlegende Resets aus deinem Header – hier nur selektiv nötig */
.generator-page body {
  overflow-y: visible;
  overflow-x: hidden;
}

/* Bereiche mit Overflow aus deiner Seite */
.generator-page .hero,
.generator-page .circle,
.generator-page .parallax-container,
.generator-page .about-me,
.generator-page .contact-section,
.generator-page .recent-work-section {
  overflow-x: hidden;
  max-width: 100%;
}

/* Pixel-Overlay (aus) */
.generator-page .pixel-overlay {
  display: none;
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px) 0 0 / 2px 2px repeat;
}
@media (max-width: 750px) {
  .generator-page .pixel-overlay { display: none; }
}



/* HEADER */
.generator-page header {
  width: 100%;
  max-width: 100%;
  text-align: center;
  background: transparent;
}

/* Desktop */
.generator-page .nav {
  position: relative;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 97% !important;
  width: 95%;
  padding: 15px;
  z-index: 1000;
  display: flex;
  background: transparent;
}
.generator-page .nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 6%;
  width: 88%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Logo links */
.generator-page .logo-header {
  position: fixed;
  margin-left: 7%;
  margin-top: -25px;
  height: 65px;
  width: auto;
}

/* Links (Desktop sichtbar) */
.generator-page .nav-links {
  position: relative;
  left: 18%;
  top: 3%;
  list-style: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.generator-page .nav-links li a {
  color: #f0f0f0;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 400;
  padding: 0px 15px;
  transition: color 0.3s ease;
}
.generator-page .nav-links li a:hover {
  color: rgba(170, 225, 255, 0.8);
}

/* WhatsApp / Social Container */
.generator-page .nav-social-container {
  position: fixed;
  right: 18%;
  top: 5px;
  display: flex;
  align-items: center;
  gap: 22px;
  z-index: 1000;
}
.generator-page .whatsapp-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 15px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 200 !important;
  backdrop-filter: blur(4px);
  transition: background 0.3s ease;
}
.generator-page .whatsapp-button:hover { background-color: rgba(255, 255, 255, 0.08); }
.generator-page .whatsapp-button img { width: 28px; height: 28px; filter: brightness(1.3); }
.generator-page .whatsapp-button .faded { opacity: 0.4; }

/* Rechte Social-Leiste */
.generator-page .nav-social {
  position: fixed;
  right: 8%;
  top: 47%;
  transform: translateY(-50%);
  opacity: 0.8;
  display: flex;
  flex-direction: row;
  gap: 18px;
  z-index: 1000;
}
.generator-page .nav-social a img {
  width: 25px;
  height: auto;
  filter: brightness(1) contrast(1);
  transition: filter 0.3s ease;
}
.generator-page .nav-social a:hover img { filter: brightness(1.3) contrast(1.2); }

/* Hamburger (Desktop aus) */
.generator-page .hamburger { display: none; }
@media (min-width: 1201px) {
  .generator-page .nav-mobile-title { display: none; }
}

/* Mobile <= 900px */
@media (max-width: 900px) {
  .generator-page .nav {
    position: relative;
    width: 100%;
    max-width: 95%;
    justify-content: space-between;
    padding: 10px 15px;
    flex-direction: row;
    overflow: visible;
  }
  .generator-page .nav::after {
    content: "";
    position: absolute;
    top: 70px;
    bottom: 0;
    left: 6%;
    width: 92%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .generator-page .nav-links.active { display: flex; flex-direction: column; }

  .generator-page .logo-header {
    position: relative;
    left: 5px;
    top: 15px;
    height: 65px;
    z-index: 10;
  }

  .generator-page .nav-mobile-title {
    display: none;
    position: absolute;
    top: 10px;
    left: 50px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: -0.8px;
    line-height: 1.1;
    transform: scaleX(0.95) scaleY(1.05);
    z-index: 1000;
    pointer-events: none;
  }

  .generator-page .hamburger {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 28px;
    background: transparent;
    border: none;
    display: flex; flex-direction: column; justify-content: space-between; align-items: center;
    cursor: pointer; z-index: 1100; overflow: visible;
  }
  .generator-page .hamburger .bar {
    position: relative; height: 1px; width: 25px; background-color: white;
    transform-origin: center; transition: transform 0.3s ease, opacity 0.3s ease; z-index: 1110;
  }
  .generator-page .hamburger:focus,
  .generator-page .hamburger:active { outline: none; border: none; box-shadow: none; }

  .generator-page .nav-links {
    display: none;
    position: absolute;
    top: 0px; left: 50%; transform: translateX(-50%);
    max-width: 100%; width: 100%; height: 350px;
    flex-direction: column; justify-content: space-between;
    background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(10px);
    border-radius: 0px; padding: 3px 0 30px; z-index: 10;
  }
  .generator-page .nav-links.active { display: flex; }

  .generator-page .hamburger.open .bar:nth-child(1) { transform: rotate(45deg) translate(9px, 9px); background-color: #28b4ff; }
  .generator-page .hamburger.open .bar:nth-child(2) { opacity: 0; background-color: #28b4ff; }
  .generator-page .hamburger.open .bar:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); background-color: #28b4ff; }

  .generator-page .nav-links li {
    position: relative; text-align: center; justify-content: space-between;
    margin: 8px 0; padding-top: 0px;
  }
  .generator-page .nav-links li:first-child { margin-top: 70px; }
  .generator-page .nav-links li a { font-size: 18px; font-weight: 400; }

  /* Socials mobil */
  .generator-page .nav-social-container {
    position: absolute; top: 10px; right: 0px;
    display: flex; flex-direction: row; gap: 8px; transform: none; scale: 0.8; z-index: 10;
  }
  .generator-page .nav-social {
    position: relative; top: 0; right: 5px; transform: none; flex-direction: row; gap: 10px;
  }
  .generator-page .whatsapp-button { position: relative; padding: 3px 12px; margin-top: 30px; font-size: 12px; right: 2px; }
  .generator-page .whatsapp-button img { width: 20px; height: 20px; }
}





/* powered by info section */

/* ===== WebGen Architecture Section (scoped) ===== */
.generator-page .gen-arch {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0;
  background: none; /* bisherigen Hintergrund entfernen */
  overflow: visible !important; /* damit nichts abgeschnitten wird */
  isolation: isolate;
  z-index: 2;
}

/* Farbklecks als eigenes Element */
.generator-page .gen-arch::before {
  content: "";
  position: absolute;
  /* höher ansetzen, damit der Glow oberhalb sichtbar ist */
  top: -200px;
  left: 48%;
  transform: translateX(-52%);

  /* großflächig und zentriert – damit nichts links/rechts abgeschnitten wird */
  width: min(1200px, 140vw);
  height: clamp(520px, 56vh, 780px);

  /* weicher, ovaler Farbklecks – mehrere Layer für Tiefe */
  background:
    radial-gradient(ellipse 70% 48% at 50% 32%,
      rgba(14,165,233,.10) 0%,
      rgba(14,165,233,.06) 33%,
      transparent 72%),
    radial-gradient(ellipse 36% 26% at 58% 30%,
      rgba(14,165,233,.08) 0%,
      transparent 70%);

  /* weiche Kanten */
  filter: blur(18px) saturate(120%);
  opacity: .95;
  z-index: 0;           /* hinter Inhalt */
  pointer-events: none; /* rein dekorativ */
}

@media (max-width: 960px) {
  .generator-page .gen-arch::before {
    width: 180vw;         /* extra breit auf Mobil */
    height: clamp(520px, 48vh, 740px);
    top: -120px;
  }
}



.generator-page .gen-arch .arch-title {
  text-align: center;
  font-size: clamp(22px, 2.6vw, 32px);
  margin: 0 0 24px;
  letter-spacing: .2px;
}

.generator-page .gen-arch .arch-title span {
  background: linear-gradient(90deg, #e7e7ea, #467496, #e7e7ea);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: archTitleShimmer 8s linear infinite;
}
@keyframes archTitleShimmer { to { background-position: 200% 0; } }


/* die 3 info boxen */

.generator-page .gen-arch .arch-network {
  position: relative;
  margin-top: -5% !important;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 100px; /* Platz für Chip */
  background: transparent;
}

/* Linien-Layer (SVG) */
.generator-page .gen-arch .arch-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .85;
  filter: url(#glow);
  background: none;
}
.generator-page .gen-arch .wire {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 10;
  animation: dash 6.5s linear infinite;
}
.generator-page .gen-arch .wire:nth-child(2) { animation-delay: .5s; }
.generator-page .gen-arch .wire:nth-child(3) { animation-delay: 1s; }
@keyframes dash { to { stroke-dashoffset: -160; } }

/* CHIP */
.generator-page .gen-arch .arch-chip {
  position: relative;
  bottom: 50px;
  width: max-content;
  margin: 0 auto 24px;
  padding-top: 8px; /* pins platz */
}

.generator-page .gen-arch .chip-core {
  position: relative;
  z-index: 2;
  padding: 12px 24px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: .3px;
  background: linear-gradient(180deg, #1a1b1f, #141519);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 12px 30px rgba(0,0,0,.45);
}

.generator-page .gen-arch .chip-core::after {
  /* dezenter Sweep über dem Chip-Rand */
  content: "";
  position: absolute; inset: -2px;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(90deg, transparent 35%,
             rgba(255,255,255,.25) 50%, transparent 65%) 0 0 / 200% 100% no-repeat;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: borderSweep 8s linear infinite;
}


/* GRID der 3 Karten */
.generator-page .gen-arch .arch-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
@media (max-width: 980px) {
  .generator-page .gen-arch .arch-grid { grid-template-columns: 1fr; }
}

/* Cards – Next.js‑artige Optik, auf deine Vars abgestimmt */
.generator-page .gen-arch .arch-card {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, #111111, #000000);
  border: 1px solid var(--cardBorder);
  box-shadow:
    0 12px 28px rgb(0, 0, 0),
    inset 0 1px 0 rgba(8, 8, 8, 0.962);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.generator-page .gen-arch .arch-card::before{
  /* feines Grid */
  content:"";
  position:absolute; inset:0; border-radius:14px;
  background: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0/14px 14px;
  opacity:.2; pointer-events:none; mix-blend-mode: overlay;
}
.generator-page .gen-arch .arch-card::after{
  /* dezenter Rand-Sweep - animation */
  content:""; position:absolute; inset:-1px; border-radius:16px; padding:2px;
  background: linear-gradient(90deg, transparent 35%, rgb(55, 55, 55) 50%, transparent 65%) 0 0/200% 100% no-repeat;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: cardSweep 10s linear infinite;
  opacity:.85;
}
.generator-page .gen-arch .arch-card:nth-child(2)::after { animation-delay: .8s; }
.generator-page .gen-arch .arch-card:nth-child(3)::after { animation-delay: 1.6s; }
@keyframes cardSweep { to { background-position: 200% 0; } }

.generator-page .gen-arch .arch-card:hover {
  border-color: rgba(72, 72, 72, 0.35);
  box-shadow:
    0 18px 40px rgba(0,0,0,.5),
    0 0 0 1px rgba(140,200,255,.15) inset;
}

.generator-page .gen-arch .arch-card .card-icon{
  font-size: 24px; margin-bottom: 8px; opacity:.9;
  text-shadow: 0 0 18px rgba(88,176,255,.25);
}
.generator-page .gen-arch .arch-card h3{
  margin: 0 0 6px; font-size: 18px; color: #fff;
}
.generator-page .gen-arch .arch-card p{
  margin: 0 0 12px; color: var(--muted); line-height: 1.5;
}
.generator-page .gen-arch .arch-card footer{
  font-size: 12px; color: rgba(231,231,234,.6);
  border-top: 1px dashed rgba(255,255,255,.08);
  padding-top: 8px;
}

/* Platzierung des Chip-Layers über dem SVG */
.generator-page .gen-arch .arch-chip,
.generator-page .gen-arch .arch-grid { position: relative; z-index: 3; }
.generator-page .gen-arch .arch-lines { z-index: 2; }




/* LINIEN UNTER DEN INFO BOXEN */

/* ===== Gen‑Arch: verbindende Linien  ===== */
.generator-page .gen-arch {
  position: relative;
}

/* SVG-Layer über die Fläche legen, aber hinter den Karten bleiben */
.generator-page .gen-arch .arch-links {
  position: absolute;
  top: 0;                 /* oben an die Section */
  bottom: -30px;          /* etwas Luft nach unten */
  left: 50%;              /* am Viewport zentrieren */
  transform: translateX(-50%);
  width: min(1200px, 92vw);  /* wie Container, zentriert */
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

/* exakte Startpunkte der drei Pfade im 1000x360 ViewBox-Raster */
.generator-page .gen-arch .arch-links .arch-path:first-of-type {
  d: path("M 166.5 140 Q 333 200 500 220");
}
.generator-page .gen-arch .arch-links .arch-path:nth-of-type(2) {
  d: path("M 500 140 Q 500 200 500 220");
}
.generator-page .gen-arch .arch-links .arch-path:nth-of-type(3) {
  d: path("M 833.5 140 Q 667 200 500 220");
}
.generator-page .gen-arch .arch-links .arch-spine {
  d: path("M 500 220 L 500 340");
}

/* Die drei Karten haben ohnehin z-index durch Schatten; wir heben sie vor das SVG */
.generator-page .gen-arch [data-arch-card] {
  position: relative;
  z-index: 1;
}

/* Grundstil der Linien – Next.js-ähnlich, dezent */
.generator-page .gen-arch .arch-path {
  fill: none;
  stroke: rgba(120, 180, 255, 0.28);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 6 10;
  /* Lauf-Animation */
  animation: archDash 2.8s linear infinite;
  filter: drop-shadow(0 0 2px rgba(120,180,255,0.35));
}

/* Mittlere Senkrechte: leicht kräftiger */
.generator-page .gen-arch .arch-path.arch-spine {
  stroke: rgba(120, 180, 255, 0.34);
  stroke-width: 2.2;
  animation-duration: 2.2s;
}

/* Knotenpunkt in der Mitte mit sanftem Glow */
.generator-page .gen-arch .arch-node {
  fill: rgba(180, 210, 255, 0.9);
  filter: drop-shadow(0 0 8px rgba(120,180,255,0.55));
  opacity: 0.95;
}

/* laufender Dash-Effekt */
@keyframes archDash {
  to { stroke-dashoffset: -64; }
}

/* Responsives Finetuning: auf schmalen Screens etwas weicher biegen */
@media (max-width: 960px) {
  .generator-page .gen-arch .arch-links {
    top: 0;
    bottom: -24px;          /* etwas weniger Überstand auf kleineren Screens */
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 92vw);
  }
  /* alternative, flachere Kurven */
  .generator-page .gen-arch .arch-links .arch-path:first-of-type {
    d: path("M 140 130 Q 320 190 500 210");
  }
  .generator-page .gen-arch .arch-links .arch-path:nth-of-type(2) {
    d: path("M 500 130 Q 500 190 500 210");
  }
  .generator-page .gen-arch .arch-links .arch-path:nth-of-type(3) {
    d: path("M 860 130 Q 680 190 500 210");
  }
  .generator-page .gen-arch .arch-links .arch-spine {
    d: path("M 500 210 L 500 330");
  }
}





/* HERO / MAIN */

/* Alles strikt scopen, damit es deine globale Seite nicht beeinflusst */
.generator-page {
  --bg: #0a0a0a;
  --card: #000000;
  --cardBorder: rgba(255,255,255,0.08);
  --text: #e7e7ea;
  --muted: #a6a6ad;
  --brand: #0ea5e9;
  --surface: #181818;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  background: var(--bg);
  color: var(--text);
  min-height: 100%;
}

/* Container-Breite an deine Site anlehnen */
.generator-page .container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* Header/Navigation – minimal, damit es nicht mit deinem globalen Header kollidiert */
.generator-page .site-header {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(15,16,19,0.0), rgba(15,16,19,0.0));
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--cardBorder);
}
.generator-page .header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.generator-page .brand {
  font-weight: 600; letter-spacing: .2px; color: var(--text); text-decoration: none;
}
.generator-page .nav a {
  color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 14px;
}
.generator-page .nav a.active,
.generator-page .nav a:hover { color: var(--text); }







/* Footer ???????*/
.generator-page .site-footer {
  border-top: 1px solid var(--cardBorder);
  padding: 28px 0; margin-top: 64px;
  background: var(--surface);
}
.generator-page .footer-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.generator-page .footer-nav a {
  color: var(--muted); text-decoration: none; margin-left: 16px; font-size: 14px;
}
.generator-page .footer-nav a:hover { color: var(--text); }



/* Shell: Formular + Vorschau */
.generator-page .gen-shell {
  display: grid; gap: 20px; grid-template-columns: 360px 1fr;
  align-items: start; padding: 12px 0 8px;
}
@media (max-width: 960px) {
  .generator-page .gen-shell { grid-template-columns: 1fr; }
}

/* Karten/Pane */
.generator-page .card {
  background: linear-gradient(180deg, #141414, #000000);
  border: 1px solid var(--cardBorder);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 18px;
}

/* Match left input card height to the preview pane on desktop */
.generator-page .gen-shell > .card:first-child {
  min-height: clamp(540px, 64vh, 760px);
  display: flex;
  flex-direction: column;
}
/* ensure form content can flow/scroll inside if it exceeds */
.generator-page .gen-shell > .card:first-child .gen-form {
  flex: 1 1 auto;
  min-height: 0;           /* fix for flex overflow in some browsers */
  overflow: auto;
}

/* On small screens stack naturally without forced height */
@media (max-width: 960px) {
  .generator-page .gen-shell > .card:first-child {
    min-height: auto;
  }
}
.generator-page .card-title {
  font-size: 16px; font-weight: 600; margin: 0 0 14px 0; color: #fff;
}

/* Formular */
.generator-page .gen-form .field { display: grid; gap: 8px; margin-bottom: 34px; }
.generator-page .gen-form .field span { font-size: 12px; color: var(--muted); }
.generator-page .gen-form input,
.generator-page .gen-form textarea {
  -webkit-appearance: none; appearance: none;
  width: 100%; border-radius: 10px;
  background: #0f0f0f; color: var(--text);
  border: 1px solid var(--cardBorder);
  padding: 10px 12px; font-size: 14px; outline: none;
}
.generator-page .gen-form textarea { resize: vertical; min-height: 90px; }
.generator-page .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .generator-page .grid-2 { grid-template-columns: 1fr; } }

.generator-page .actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.generator-page .btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; padding: 10px 14px; font-weight: 600; font-size: 14px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.generator-page .btn-primary {
  background: var(--brand); color: #0b0b0c; border-color: rgba(255,255,255,0.08);
  box-shadow: 0 8px 20px rgba(14,165,233,0.25);
}
.generator-page .btn-primary:hover { filter: brightness(.68); transform: translateY(-0px); }
.generator-page .status { font-size: 12px; color: var(--muted); }

.generator-page .note {
  margin-top: 10px; font-size: 12px; color: var(--muted);
  border-top: 1px dashed var(--cardBorder); padding-top: 10px;
}




/* Vorschau Rechts (überarbeitet – Next.js‑Look, ohne neue Markup‑Blöcke) */

/* Grundhöhe/Layout der rechten Vorschau-Card (höher) */
.generator-page .gen-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  height: clamp(540px, 64vh, 760px); /* vorher ~460px/56vh; jetzt höher */
  overflow: hidden;
}

/* Headerleiste in der Preview */

.generator-page .preview-swatches { display: inline-flex; gap: 8px; }
.generator-page .swatch {
  --c: #0ea5e9;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--c);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.25);
}

/* leerer Zustand – ruhiger Card‑Look, kein starker Dash‑Kontrast */
.generator-page .gen-preview-empty .empty-icon {
  font-size: 26px; opacity: .6; margin-bottom: 6px;
}

/* Skelett nur anzeigen, wenn explizit geladen wird – standardmäßig aus */
.generator-page .demo-skeleton {
  display: none;
  margin-top: 0;
  position: static;
  inset: 64px 16px 16px 16px;
  grid-auto-rows: minmax(18px, auto);
  gap: 14px;
  pointer-events: none;
}

.generator-page .gen-preview.is-loading .demo-skeleton,
.generator-page .gen-preview[data-state="loading"] .demo-skeleton { display: grid; }
.generator-page .gen-preview.is-loading .gen-preview-empty,
.generator-page .gen-preview[data-state="loading"] .gen-preview-empty { display: none; }

.generator-page .skeleton { border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 16px; background: #0d0e11; }
.generator-page .skeleton.hero .title { height: 22px; width: 60%; }
.generator-page .skeleton.hero .text { height: 14px; width: 80%; margin-top: 10px; }
.generator-page .skeleton.hero .cta { height: 34px; width: 160px; margin-top: 14px; border-radius: 8px; }
.generator-page .skeleton.features .title.small { height: 16px; width: 40%; }
.generator-page .skeleton .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.generator-page .skeleton .box { height: 64px; border-radius: 10px; }

.generator-page .shimmer {
  position: relative;
  overflow: hidden;
  background: #0b0c0f;
  border: px solid rgba(255,255,255,0.08);
  border-radius: 8px;
}
.generator-page .shimmer::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: translateX(-100%);
  animation: shimmer 2.2s infinite;
}
@keyframes shimmer { 100% { transform: translateX(100%); } }

/* Subtiles Raster + Shine‑Sweep – an Next.js angelehnt */
.generator-page .gen-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background:
    radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px) 0 0 / 14px 14px;
  opacity: .18;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* dezenter, auf den Rand begrenzter Sweep (statt Vollfläche) */
/* Top-border Sweep – etwas kräftiger und besser sichtbar */
.generator-page .gen-preview::after {
  content: "";
  position: absolute;
  inset: -1px;               /* deckt den Rahmen mit ab */
  border-radius: 16px;
  padding: 2px;              /* Ringbreite */
  background:
    linear-gradient(90deg,
      transparent 35%,
      rgba(255,255,255,0.20) 50%,   /* etwas kräftiger für bessere Sichtbarkeit */
      transparent 65%
    ) 0 0 / 200% 100% no-repeat;
  /* nur der Rand (XOR‑Maske zwischen content‑ und border‑box) */
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;       /* Safari/Chrome */
          mask-composite: exclude;   /* Firefox (Fallback weiter unten) */
  animation: borderSweep 8s linear infinite;
  animation-delay: 0s;               /* Top-Sweep startet sofort */
  mix-blend-mode: screen;
  pointer-events: none;
}
@keyframes borderSweep { to { background-position: 200% 0; } }

.generator-page .demo-skeleton .shimmer:nth-child(2)::after { animation-delay: .35s; }
.generator-page .demo-skeleton .shimmer:nth-child(3)::after { animation-delay: .7s; }
.generator-page .demo-skeleton .shimmer:nth-child(4)::after { animation-delay: 1.05s; }

@supports not ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
  .generator-page .gen-preview::after {
    inset: 0 auto auto 0;  /* nur oben */
    height: 2px;
    width: 100%;
    padding: 0;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, transparent 35%, rgba(255,255,255,0.18) 50%, transparent 65%) 0 0 / 200% 100% no-repeat;
    animation: borderSweep 8s linear infinite;
  }
}

/* Unterer Border-Sweep – läuft zeitversetzt nur im Content-Bereich */
.generator-page .gen-preview-empty {
  position: relative; /* für das pseudo-element unten */
}
.generator-page .gen-preview-empty::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(90deg, transparent 35%, rgba(255,255,255,0.18) 50%, transparent 65%) 0 0 / 200% 100% no-repeat;
  animation: borderSweep 8s linear infinite;
  animation-delay: 1.6s;  /* zeitlich versetzt zum oberen Sweep */
  mix-blend-mode: screen;
  pointer-events: none;
}
/* Falls ein Skeleton aktiv ist, auch dort den unteren Sweep zeigen */
.generator-page .gen-preview[data-state="loading"] .demo-skeleton::before,
.generator-page .gen-preview.is-loading .demo-skeleton::before {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent 35%, rgba(255,255,255,0.16) 50%, transparent 65%) 0 0 / 200% 100% no-repeat;
  animation: borderSweep 8s linear infinite;
  animation-delay: 1.6s;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Shimmer durch die H2 im Preview-Bereich */
.generator-page .gen-preview h2 {
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg,
    rgba(231,231,234,0.92) 0%,
    rgba(120,180,255,0.95) 20%,
    rgba(231,231,234,0.92) 40%,
    rgba(231,231,234,0.92) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  animation: h2Shimmer 6.5s linear infinite;
}
@keyframes h2Shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Steps */
.generator-page .gen-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 28px auto 0;
}
@media (max-width: 900px) { .generator-page .gen-steps { grid-template-columns: 1fr; } }
.generator-page .step h3 { margin: 0 0 8px 0; font-size: 16px; }
.generator-page .step p { margin: 0; color: var(--muted); }





/* --- */




/* FOOTER */

/* ===== Footer (scoped) ===== */
.generator-page .gen-footer {
  position: relative;
  color: white;
  text-align: center;
  margin-top: 70px;
  bottom: 0;
  padding: 0;
  width: 100%;
  z-index: 9;
  background: transparent;
}

/* NAVIGATION IM FOOTER */
.generator-page .navfooter {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Lekton', sans-serif;
  font-size: 14px;
  font-weight: 200;
  text-align: center;
  width: 100%;
  padding: 20px 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* LINKLISTE IM FOOTER */
.generator-page .navfooter ul {
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

/* LINKS SELBST */
.generator-page .navfooter ul li a {
  color: rgb(200, 200, 200);
  text-decoration: none;
  font-size: 12px;
  transition: all 0.3s ease;
}
.generator-page .navfooter ul li a:hover {
  color: white;
  text-decoration: underline;
}

/* COOKIE BANNER */
.generator-page .cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: bottom 0.5s ease;
  box-sizing: border-box;
  z-index: 9999;
}
.generator-page .cookie-banner.show { bottom: 0; }

.generator-page .cookie-banner a {
  color: #4a91e295;
  text-decoration: underline;
}

.generator-page .button-container {
  display: flex;
  gap: 12px;
}

.generator-page .cookie-banner button {
  background-color: #4a7bb48b;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.generator-page .cookie-banner button:hover { background-color: #6395c1; }

/* Mobil */
@media (max-width: 750px) {
  .generator-page .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 12px;
    bottom: 0;
    height: 40vh;
    justify-content: flex-start;
    overflow-y: auto;
    z-index: 99999;
  }
  .generator-page .cookie-banner p {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 20px;
    margin-bottom: 25px;
    text-align: left;
  }
  .generator-page .button-container {
    flex-direction: column;
    width: 70%;
    gap: 15px;
  }
  .generator-page .cookie-banner button {
    width: 100%;
    font-size: 14px;
    padding: 10px 16px;
  }

  .generator-page .gen-footer { margin-top: 90px; }
  .generator-page .navfooter { font-size: 12px; padding: 15px 0; }
  .generator-page .navfooter ul { gap: 10px; flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 600px) {
  .generator-page .gen-preview { height: clamp(360px, 48vh, 520px); }
}




/* 
1) .generator-page
   • Globales Farbschema, Hintergründe, Textfarben, Schatten; scoped auf die Generator-Seite

2) .generator-page .container
   • Zentrierter Hauptcontainer, max. Seitenbreite

3) .generator-page .gen-hero
   • Abstand/Spacing im Kopfbereich über Formular+Vorschau

4) .generator-page .gen-hero-copy h1
   • Titelgröße/Typografie der Überschrift „Website‑Generator“

5) .generator-page .gen-hero-copy .sub
   • Untertitel/Tagline unter dem Haupttitel

6) .generator-page .gen-shell
   • Grid-Layout: links Formular (360px), rechts Vorschau (1fr)
   • @media (max-width: 960px): Stapelt die Spalten

7) .generator-page .card
   • Kartenoptik (Hintergrund-Gradient, Rahmen, Radius, Schatten) für Formular- und Vorschau-Box

8) .generator-page .card-title
   • Überschriftenstil in Karten („Briefing“, „Vorschau“)

9) .generator-page .gen-form .field
   • Feld-Stacking/Abstände je Formularfeld

10) .generator-page .gen-form input,
    .generator-page .gen-form textarea
    • Inputs/Textareas (Hintergrund, Rahmen, Radius, Schrift, Padding)

11) .generator-page .grid-2
    • Zweispaltiges Feld-Grid (Markenname/Primärfarbe)

12) .generator-page .actions
    • Container für Button + Statuszeile

13) .generator-page .btn, .btn-primary
    • Button-Basis + Primär-Button (blau, Hover, Shadow)

14) .generator-page .status
    • Kleine Status-/Hinweistexte neben Button

15) .generator-page .note
    • Hinweisbereich unter dem Button (gestrichelte Linie, kleiner Text)

16) .generator-page .gen-preview
    • Rechter Vorschau‑Pane: Höhe (clamp), Rahmen, Radius, Shadow, Overflow
    • Enthält die animierten Effekte (siehe ::before/::after)

17) .generator-page .gen-preview-header
    • Kopfzeile der Vorschau mit den „Kreise‑Indikatoren“ (rechts oben)

18) .generator-page .preview-swatches, .swatch
    • Kleine Farbpunkte/Indicators im Preview‑Header

19) .generator-page .gen-preview-empty
    • Leerer Zustand in der Vorschau (zentrierter Text, gestrichelter Rahmen)

20) .generator-page .demo-skeleton,
    .skeleton..., .shimmer, @keyframes shimmer
    • Skelett-/Shimmer‑Loader innerhalb der Vorschau (Platzhalterflächen)

21) .generator-page .gen-preview::before
    • Subtiles Raster (Overlay) in der Vorschau

22) .generator-page .gen-preview::after, @keyframes genSweep
    • „Shine/Sweep“-Animation quer über die Vorschau

23) .generator-page .gen-steps,
    .generator-page .step h3, .generator-page .step p
    • Untere 3‑Karten („1. Briefing / 2. Vorschau / 3. Export“): Grid, Titel, Beschreibung

24) .generator-page .gen-footer
    • Footer-Container des Generators (scoped)

25) .generator-page .navfooter,
    .navfooter ul, .navfooter ul li a
    • Footer‑Navigation: Layout, Items, Links, Hover

26) .generator-page .cookie-banner (+ .show),
    .button-container,
    .cookie-banner button, .cookie-banner a
    • Cookie-Banner: Position fixed unten, Layout/Buttons/Links
    • Mobile @media (max-width: 750px): Spaltenlayout, Scroll, Höhenanpassung

27) Header‑Spezifische Scopes (nur im Generator):
    • .generator-page header, .nav, .logo-header, .nav-links, .nav-social-container,
      .whatsapp-button, .nav-social, .hamburger (+ mobile Varianten)
    • Navigationsleiste/Logo/Socials/Hamburger – nur für die Generator-Seite scoped
    */