/*
Theme Name: Bleedout Studio
Theme URI: https://bleedout.studio
Author: Chris
Description: Custom one-page theme for Bleedout Studio
Version: 1.0
*/

/* ----------------------------
   LOCAL GOOGLE FONTS
   DSGVO SAFE
-----------------------------*/

/* Bodoni Moda Light (300) */
@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/bodoni-moda-v28-latin-500.woff2") format("woff2");
}

/* Bodoni Moda Light (600) */
@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/bodoni-moda-v28-latin-600.woff2") format("woff2");
}

/* Bodoni Moda Medium (700) */
@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/bodoni-moda-v28-latin-700.woff2") format("woff2");
}

/* Bodoni Moda Medium (800) */
@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/bodoni-moda-v28-latin-800.woff2") format("woff2");
}

/* Bodoni Moda Medium (900) */
@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("fonts/bodoni-moda-v28-latin-900.woff2") format("woff2");
}

/* Bodoni Moda Regular */
@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: regular;
  font-display: swap;
  src: url("fonts/bodoni-moda-v28-latin-regular.woff2") format("woff2");
}



:root {
  --bg: #050506;
  --bg-alt: #101015;
  --red: #0eb361;
  --red-soft: #107f32;
  --text: #f5f5f5;
  --muted: #a0a0a0;
  --border: rgba(255,255,255,0.11);
  --noise: url("assets/noise.png"); /* optional */
  --accent-font: "Bodoni Moda", "Bodoni MT", "Didot", serif; /* light Bodoni */
  --main-font: "Avenir Next Condensed", "AvenirNextCondensed-Heavy",
               "Arial Narrow", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background: radial-gradient(circle at top, #0d1a0b 0, #020203 50%, #000 100%);
  color: var(--text);
  font-family: var(--main-font);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* GLOBAL LAYOUT */

.page-frame {
  border: 1px solid rgba(255,255,255,0.12);
  margin: 14px;
  min-height: calc(100vh - 28px);
  position: relative;
  background:
    linear-gradient(135deg, rgba(22,215,41,0.24), transparent 45%),
    linear-gradient(315deg, rgba(0,0,0,0.7), rgba(0,0,0,0.95)),
    var(--noise);
  background-blend-mode: overlay, normal;
  overflow: hidden;
}

.bg-stripe {
  position: fixed;
  inset: -40vh -40vw auto auto;
  pointer-events: none;
  opacity: 0.22;
  background: conic-gradient(from 0deg, rgba(22,215,41,0.7), transparent 40%, rgba(22,215,41,0.9) 60%, transparent 80%);
  mix-blend-mode: screen;
  filter: blur(1px);
  z-index: 0;
  transform: translate3d(0,0,0);
}

.page-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 22px 120px;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .page-inner {
    padding: 72px 52px 140px;
  }
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 72px;
  position: relative;
  z-index: 2;
}

.logo-block {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-main {
  font-size: 0;              /* kein Text, verhindert extra Höhe */
}

.logo-img {
  display: block;
  height: 70px;              /* Basisgröße, je nach Logo anpassen */
  width: auto;
}

/* Desktop: Logo etwas größer */
@media (min-width: 1024px) {
  .logo-img {
    height: 75px;
  }
}

/* Untertitel behält seine Typo */
.logo-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.logo-main {
  font-size: clamp(32px, 6vw, 46px);
  font-weight: 900; /* Avenir Black */
}

.logo-main span:nth-child(2) {
  color: var(--red);
}

.logo-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

nav.site-nav {
  display: flex;
  gap: 26px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

nav.site-nav a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  padding-bottom: 6px;
  cursor: pointer;
}

nav.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}

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

nav.site-nav a:hover::after {
  width: 100%;
}

/* HERO */

section.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr);
  gap: 56px;
  align-items: stretch;
  min-height: min(80vh, 800px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  section.hero {
    grid-template-columns: 1fr;
    min-height: initial;
    padding: 48px 0 56px;
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.hero-kicker {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--muted);
  margin-bottom: 26px;
}

.hero-title {
  font-size: clamp(52px, 8.2vw, 86px);
  line-height: 0.9;
  text-transform: uppercase;
  font-weight: 900;
}

.hero-title span.alt {
  font-family: var(--accent-font);
  letter-spacing: 0.08em;
  font-weight: 300;
}

.hero-sub {
  max-width: 540px;
  margin-top: 28px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 600;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-tag {
  border: 1px solid var(--border);
  padding: 8px 14px;
  background: rgba(5,5,6,0.85);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
}

.btn {
  border: 1px solid var(--border);
  padding: 12px 26px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 14px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border 0.25s ease, color 0.25s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  border-color: var(--red);
  background: linear-gradient(135deg, var(--red) 0, #024229 60%, transparent 100%);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.2), transparent 40%);
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}

.btn:hover::before {
  transform: translateX(0);
  opacity: 1;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--red);
  box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

.btn-ghost {
  background: rgba(10,10,12,0.85);
}

.hero-meta {
  margin-top: 28px;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(22,215,41,0.6), transparent 55%),
    radial-gradient(circle at 20% 0, rgba(255,255,255,0.1), transparent 60%),
    rgba(0,0,0,0.95);
  overflow: hidden;
  min-height: 480px;
}

@media (max-width: 900px) {
  .hero-visual {
    min-height: 420px;
  }
}

@media (max-width: 540px) {
  .hero-visual {
    min-height: 380px;
  }
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/logo-typo-reference.png") center/cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.18;
}

.hero-visual-inner {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255,255,255,0.06);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 22px;
  overflow: hidden;
  gap: 14px;
}

.hero-vis-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.hero-vis-title {
  font-family: var(--accent-font);
  font-size: 24px;
  letter-spacing: 0.26em;
  font-weight: 300;
}

.hero-vis-chip {
  padding: 4px 10px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.7);
}

.hero-helmet {
  position: relative;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 0, rgba(255,255,255,0.12), transparent 60%),
    url("assets/visual-example.png") center/cover no-repeat;
  filter: grayscale(0.1) contrast(1.15);
  transform-origin: center;
  animation: floatHelm 14s ease-in-out infinite alternate;
  mix-blend-mode: screen;
  opacity: 0.95;
}

.hero-helmet::after {
  content: "BLEED • SIGNAL / 01";
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.78);
  padding: 4px 10px;
}

.hero-vis-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-vis-meta span strong {
  color: var(--text);
  font-weight: 600;
}

@keyframes floatHelm {
  0% { transform: translateY(8px) scale(1.02); filter: hue-rotate(0deg); }
  50% { transform: translateY(-12px) scale(1.05); filter: hue-rotate(-8deg); }
  100% { transform: translateY(4px) scale(1.03); filter: hue-rotate(10deg); }
}

/* SECTIONS */

section {
  margin-top: 60px;
  position: relative;
}

@media (max-width: 720px) {
  section {
    margin-top: 60px;
  }
}

.section-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-bottom: 18px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 26px;
  margin-bottom: 28px;
}

.section-title {
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-weight: 900;
}

.section-title span {
  font-family: var(--accent-font);
  font-weight: 300;
}

.section-sub {
  max-width: 520px;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
}

/* SERVICE GRID */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 26px;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.service-card {
  border: 1px solid var(--border);
  padding: 22px 20px 24px;
  background: radial-gradient(circle at top, rgb(22 215 95 / 18%), transparent 65%);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent 40%);
  opacity: 0;
  transform: translateX(-40%);
  transition: opacity 0.35s ease, transform 0.35s ease;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.service-tag {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 14px;
}

.service-title {
  font-family: var(--accent-font);
  font-size: 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 300;
}

.service-copy {
  font-size: 16px;
  color: var(--muted);
  max-width: 320px;
  line-height: 1.8;
}

.service-meta {
  margin-top: 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: 0 18px 40px rgba(0,0,0,0.75);
}

.service-card:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* ILLUSTRATION STRIP / CAROUSEL */

.strip {
  margin-top: 118px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  min-height: 360px;
}

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

.strip-left {
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}

.strip-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--muted);
}

.strip-title {
  font-family: var(--accent-font);
  font-size: 32px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  line-height: 1.05;
  font-weight: 300;
}

.strip-copy {
  font-size: 17px;
  color: var(--muted);
  max-width: 360px;
  line-height: 1.8;
}

.strip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.strip-tag {
  border: 1px solid var(--border);
  padding: 6px 12px;
  background: rgba(5,5,6,0.9);
  cursor: pointer;
  transition: background 0.2s ease, border 0.2s ease, color 0.2s ease;
}

.strip-tag.active {
  border-color: var(--red);
  color: var(--text);
  background: rgba(215,22,47,0.3);
}

.strip-right {
  position: relative;
  background:
    linear-gradient(135deg, rgba(215,22,47,0.7), rgba(0,0,0,0.95)),
    url("assets/illustration-example.png") center/cover no-repeat;
  filter: contrast(1.05);
  min-height: 320px;
  overflow: hidden;
}

.strip-right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at bottom left, transparent 0, rgba(0,0,0,0.9) 60%);
  mix-blend-mode: multiply;
}

/* Container passt sich automatisch der Höhe des aktiven Slides an */
.strip-right-inner {
  position: relative;
  padding: 24px 22px;
  min-height: 320px;
  z-index: 1;
} 

/* Slides liegen normal im Flow, nur der aktive wird angezeigt */
.visual-slide {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.visual-slide.active {
  display: flex;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.visual-top-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.7);
}

.visual-title {
  margin-top: 10px;
  font-family: var(--accent-font);
  font-size: 24px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 300;
}

.visual-copy {
  margin-top: 18px;
  max-width: 340px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(238,238,238,0.92);
}

.visual-meta {
  margin-top: auto;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.75);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.visual-meta span {
  white-space: normal;
}

/* PROCESS */

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 30px;
  margin-top: 24px;
}

.process-list {
  border: 1px solid var(--border);
  padding: 24px 20px 28px;
  font-size: 16px;
  color: var(--muted);
  background: rgba(3,3,4,0.96);
  position: relative;
  overflow: hidden;
  line-height: 1.8;
}

.process-list::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.06) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: soft-light;
  opacity: 0.12;
  pointer-events: none;
}

.process-badge {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 14px;
}

.process-list ol {
  list-style: none;
  counter-reset: step;
}

.process-list li {
  counter-increment: step;
  margin-bottom: 12px;
  padding-left: 36px;
  position: relative;
}

.process-list li::before {
  content: "0" counter(step);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--red);
  text-transform: uppercase;
}

.process-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.signal-box {
  border: 1px solid var(--border);
  padding: 22px 20px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(circle at top right, rgb(22 215 111 / 45%), rgba(5, 5, 6, 0.96));
  font-size: 16px;
  line-height: 1.8;
}

.signal-title {
  font-family: var(--accent-font);
  font-size: medium;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 300;
}

.signal-copy {
  color: var(--muted);
  max-width: 360px;
}

.signal-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.signal-chip {
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.7);
}

/* SHOP STRIP */

.shop-strip {
  margin-top: 120px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgb(22 215 111 / 58%), rgba(0, 0, 0, 0.95));
}

.shop-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(0,0,0,0.32),
    rgba(0,0,0,0.32) 4px,
    transparent 4px,
    transparent 8px
  );
  mix-blend-mode: overlay;
  opacity: 0.7;
}

.shop-strip-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 26px;
  z-index: 1;
  flex-wrap: wrap;
}

.shop-title {
  font-family: var(--accent-font);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 300;
}

.shop-copy {
  max-width: 480px;
  font-size: 17px;
  line-height: 1.8;
}

.shop-copy span {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 14px;
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 34px;
  margin-top: 24px;
}

.contact-panel {
  border: 1px solid var(--border);
  padding: 24px 20px 28px;
  background: rgba(3,3,5,0.98);
  font-size: 17px;
  color: var(--muted);
  position: relative;
  overflow: hidden;
  line-height: 1.8;
}

.contact-panel p + p {
  margin-top: 12px;
}

.contact-grid form {
  border: 1px solid var(--border);
  padding: 24px 20px 28px;
  background: rgba(0,0,0,0.3);
  font-size: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

input, textarea {
  background: rgba(7,7,9,0.95);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--text);
  padding: 10px 11px;
  font-family: inherit;
  font-size: 16px;
  outline: none;
  resize: vertical;
  min-height: 46px;
  line-height: 1.5;
}

textarea {
  min-height: 110px;
}

input:focus, textarea:focus {
  border-color: var(--red);
}

.form-note {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* FOOTER */

footer.site-footer {
  margin-top: 110px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links button {
  background: none;
  border: none;
  padding: 0;
  color: var(--muted);
  font: inherit;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  cursor: pointer;
  position: relative;
}

.footer-links button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.25s ease;
}

.footer-links button:hover::after {
  width: 100%;
}

/* WELCOME OVERLAY */

.welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: linear-gradient(135deg,rgba(10, 74, 28, 1) 0%, rgba(4, 33, 14, 1) 23%, rgba(2, 18, 11, 1) 54%, rgba(15, 2, 2, 1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: auto;
}

.welcome-inner {
  position: relative;
  text-align: center;
}

.welcome-ring {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.welcome-ring::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    conic-gradient(from 0deg, rgb(22 215 79 / 90%), transparent 40%, rgb(22 215 93 / 90%) 60%, transparent 80%), radial-gradient(circle at center, transparent 0, rgba(0, 0, 0, 0.96) 55%);
  mix-blend-mode: screen;
  animation: ringSpin 6s linear infinite;
  opacity: 0.8;
}

.welcome-logo {
  position: relative;
  z-index: 2;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 900;
}

.welcome-logo-main {
  font-size: 30px;
}

.welcome-logo-main span:nth-child(2) {
  color: var(--red);
}

.welcome-logo-sub {
  font-size: 10px;
  margin-top: 6px;
  letter-spacing: 0.28em;
  color: var(--muted);
}

.welcome-bar {
  margin-top: 18px;
  width: 220px;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.welcome-bar-fill {
  position: absolute;
  inset: 0;
  width: 0;
  background: linear-gradient(90deg, var(--red), #7bff89);
  animation: barFill 2.4s ease-out forwards 0.5s;
}

.welcome-skip {
  margin-top: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  cursor: pointer;
}

.welcome-fade-out {
  animation: fadeOut 0.7s ease forwards;
  pointer-events: none;
}

@keyframes ringSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes barFill {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}

/* POPUP */

.popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0,0,0,0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.popup {
  max-width: 460px;
  width: 100%;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top, rgb(22 215 105 / 55%), rgba(5, 5, 7, 0.98));
  padding: 20px 20px 22px;
  position: relative;
  box-shadow: 0 18px 50px rgba(0,0,0,0.9);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  background: rgba(0,0,0,0.6);
}

.popup-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-bottom: 10px;
}

.popup-title {
  font-family: var(--accent-font);
  text-transform: uppercase;
  font-size: 24px;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
  font-weight: 300;
}

.popup-copy {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.9;
}

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

.popup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.popup-actions .btn {
  font-size: 13px;
}

/* LEGAL MODALS */

.legal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 880;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.legal-modal {
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  border: 1px solid var(--border);
  background: rgba(5,5,7,0.98);
  padding: 18px 18px 20px;
  overflow-y: auto;
  font-size: 15px;
  color: var(--muted);
  position: relative;
  line-height: 1.8;
}

.legal-title {
  font-family: var(--accent-font);
  font-size: 22px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 300;
}

.legal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 11px;
  padding: 3px 8px;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.7);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.legal-modal p + p {
  margin-top: 10px;
}

/* SCROLL REVEAL */

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view,
.reveal-left.in-view,
.reveal-right.in-view {
  opacity: 1;
  transform: translate3d(0,0,0);
}

/* MOBILE TWEAKS */

@media (max-width: 768px) {
  .bg-stripe { opacity: 0.12; }
  .hero-visual::before { opacity: 0.12; }
  .section-title-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  .page-frame { margin: 8px; }
  .page-inner { padding: 44px 18px 90px; }
  header.site-header { margin-bottom: 0px; }
  nav.site-nav { display: none; }

  section.hero { padding-top: 40px; padding-bottom: 44px; }
  .hero-ctas { gap: 16px; flex-direction: column; align-items: flex-start; }
  .services-grid { gap: 22px; }
  .strip-left { padding: 30px 18px; }
  .contact-grid { gap: 26px; }

  .visual-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .shop-strip-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 26px; /* mehr Luft links/rechts */
  }

  .shop-copy {
    max-width: 100%;
  }
}


/* ===============================
   GALLERY PREVIEW (Landing)
=============================== */

.gallery-preview-section {
  margin-top: 80px;
}

.gallery-preview-section .section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.gallery-preview-section .section-link {
  font-family: var(--main-font);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 3px;
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

.gallery-preview-section .section-link:hover {
  color: #fff;
  border-color: #fff;
  transform: translateY(-1px);
}

.gallery-preview-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.gallery-preview-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.5);
}

.gallery-preview-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity .25s ease, transform .25s ease;
}

.gallery-preview-item:hover img {
  opacity: 1;
  transform: scale(1.03);
}

.gallery-preview-empty {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}

/* Fix mobile alignment of gallery preview title */
@media (max-width: 768px) {
  .gallery-preview-section .section-title-row {
    flex-direction: column;
    align-items: flex-start;   /* Titel + Link linksbündig */
    text-align: left;          /* Sicherheit */
    gap: 4px;
  }

  .gallery-preview-section .section-link {
    align-self: flex-start;
  }
}