:root {
  --bg: #050203;
  --bg-alt: #120608;
  --bg-soft: #1a0a0d;
  --accent: #d43b52;        /* warmes, sinnliches Rot/Rosé */
  --accent-soft: #d43b5225;
  --accent-deep: #8b1530;
  --text: #f7f0ea;
  --text-muted: #d0bcbc;
  --border: #2b1519;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 22px 45px rgba(0, 0, 0, 0.85);
}

/* Grundlayout */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, #3a1118 0, #050203 45%, #020002 100%);
  color: var(--text);
}

/* HEADER */

header.header {
  max-width: 1100px;
  margin: 22px auto;
  padding: 14px 22px;
  background: linear-gradient(135deg, #0a0203, #1a0508);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg, #0a0203, #1a0508);

}

header.header{
  position: relative;
  overflow: hidden;
}
header.header::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: var(--radius-lg);
  pointer-events:none;
  background: linear-gradient(135deg, rgba(255,154,168,.12), transparent 35%);
  opacity:.45;
}

.logo {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}

/* Logo-Veredelung */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo .mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;

  background:
    radial-gradient(circle at 30% 25%, rgba(255,154,168,.35), transparent 60%),
    linear-gradient(135deg, var(--accent), var(--accent-deep));

  border: 1px solid #6a2a34;
  box-shadow: 0 14px 30px rgba(0,0,0,.85);
  position: relative;
  overflow: hidden;
}

.logo .mark::before{
  content:"";
  position:absolute;
  inset:-30%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 55%);
  mix-blend-mode: screen;
  opacity: .75;
  animation: markGlow 6.5s ease-in-out infinite;
}

@keyframes markGlow{
  0%,100% { transform: scale(1); opacity: .55; }
  50%     { transform: scale(1.06); opacity: .95; }
}

/* Text-Logo: eleganter, leicht leuchtend */
.logo .word {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(212,59,82,.22);
}

.logo .sub {
  display: block;
  margin-top: 2px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(208,188,188,.78);
}

/* Navigation – Luxury Pills */

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

/* WP Menu markup support (wp_nav_menu outputs ul/li) */
.nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}

.nav li{ position:relative; margin:0; padding:0; }

/* Dropdown (EN) */
.nav .sub-menu{
  display:none;
  position:absolute;
  left:0;
  top:calc(100% + 8px);
  min-width:180px;
  background: linear-gradient(135deg, #0a0203, #1a0508);
  border:1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding:8px;
  z-index:50;
}
.nav li:hover > .sub-menu{ display:block; }
.nav .sub-menu li{ width:100%; }
.nav .sub-menu a{ display:block; width:100%; }

.nav a {
  position: relative;
  padding: 7px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: rgba(208,188,188,.88);
  border: 1px solid rgba(90,38,47,.55);
  background: rgba(11,3,5,.35);
  transition: transform .18s, background .18s, border-color .18s, color .18s, box-shadow .18s;
  backdrop-filter: blur(10px);
}

.nav a:hover {
  color: var(--text);
  border-color: rgba(212,59,82,.55);
  background: rgba(255,255,255,.06);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,.55);
}

/* Active State mit zartem Glow-Gradient */
.nav a.active {
  color: #fff;
  border-color: rgba(212,59,82,.75);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,154,168,.18), transparent 55%),
    linear-gradient(135deg, rgba(212,59,82,.35), rgba(139,21,48,.25));
  box-shadow:
    0 18px 40px rgba(0,0,0,.70),
    0 0 0 1px rgba(212,59,82,.18) inset;
}

/* kleiner Lichtpunkt im Active-Pill (optional aber sexy) */
.nav a.active::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 10px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%);
  opacity: .8;
  pointer-events: none;
}

/* MAIN */

main {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 14px;
}
/* Breadcrumb-Navigation */

.breadcrumb {
  max-width: 1100px;
  margin: 4px auto 14px;
  padding: 0 14px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 999px;
  transition: 0.18s;
  border: 1px solid transparent;
}

.breadcrumb a:hover {
  background: #ffffff10;
  border-color: #5a262f;
  color: var(--text);
}

.breadcrumb .separator {
  opacity: 0.6;
}

.breadcrumb .current {
  padding: 2px 8px;
  border-radius: 999px;
  background: #0b0305;
  border: 1px solid #3a181f;
  color: var(--text);
}


/* HERO – Foto (Velvet/Satin) + Lesbarkeit links + warmes Glow-Pulsieren */

.hero {
  margin: 0 auto 30px;
  padding: 26px 22px 24px;
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;

  /* 1) Text-Lesbarkeit links (immer!) */
  background-image:
    linear-gradient(90deg,
      rgba(5,2,3,.96) 0%,
      rgba(5,2,3,.72) 52%,
      rgba(5,2,3,.18) 100%),

    /* 2) warmes Farbbett */
    radial-gradient(circle at 22% 18%,
      rgba(212,59,82,.22) 0%,
      rgba(18,6,8,.62) 50%,
      rgba(7,2,4,.92) 100%),

    /* 3) dein Foto */
    url("/assets/images/hero-velvet.jpg");

  background-size: cover;
  background-repeat: no-repeat;

  /* Stoff rechts, Text links */
  background-position: 78% 45%;
}

/* Glow-Overlay mit sanftem Pulsieren (Atmosphäre) */
.hero::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,106,131,.45) 0%, transparent 60%),
    radial-gradient(circle at 70% 90%, rgba(139,21,48,.35) 0%, transparent 75%);
  opacity: 0.75;
  mix-blend-mode: screen;
  pointer-events: none;
  transform: scale(1);
  animation: heroGlow 7s ease-in-out infinite;
}

/* Satin-Schimmer (dezent, edel) */
.hero::after {
  content:"";
  position:absolute;
  inset:-25%;
  background:
    radial-gradient(circle at 72% 30%, rgba(255,154,168,.20), transparent 55%),
    linear-gradient(135deg, transparent 10%, rgba(255,255,255,.07) 48%, transparent 75%);
  opacity:.65;
  pointer-events:none;
  mix-blend-mode: screen;
  filter: blur(0.25px);
}

/* Sanfte Glow-Animation (atmet langsam) */
@keyframes heroGlow {
  0%   { opacity: 0.62; transform: scale(1); }
  50%  { opacity: 0.90; transform: scale(1.03); }
  100% { opacity: 0.62; transform: scale(1); }
}


.hero h1 {
  position: relative;
  margin-top: 0;
  margin-bottom: 10px;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 30px;
  letter-spacing: 0.03em;
}

.hero p {
  position: relative;
  max-width: 45rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 15px;
}
.hero {
  margin: 0 auto 30px;
  padding: 26px 22px 24px;

  /* Bild + deine warmen Layer */
  background-image:
    radial-gradient(circle at 20% 15%, #d43b5533 0%, #120608 45%, #070204 100%),
    url("/assets/images/hero-velvet.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

/* Buttons im Hero */

.buttons {
  position: relative;
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  border: 1px solid transparent;
  transition: 0.18s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-color: var(--accent-deep);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.9);
}

.btn.primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  border-color: #5d3039;
  color: var(--text-muted);
}

.btn.ghost:hover {
  background: #ffffff12;
  color: var(--text);
}

/* KARTEN – kurze Info-Blöcke */

.cards {
  max-width: 1100px;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--bg-soft);
  padding: 18px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #ffffff10, transparent 40%);
  opacity: 0.4;
  pointer-events: none;
}

.card h2 {
  position: relative;
  margin-top: 0;
  margin-bottom: 6px;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 17px;
  color: var(--accent);
}

.card p {
  position: relative;
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Content-Bereiche – längere Texte */

.content {
  max-width: 1100px;
  margin: 0 auto 22px;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
}

.content::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at top left, #ffffff14 0, transparent 65%);
  opacity: 0.35;
  pointer-events: none;
}

.content h2 {
  position: relative;
  margin-top: 0;
  margin-bottom: 8px;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 17px;
  color: var(--accent);
}

.content p {
  position: relative;
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.content p:last-child {
  margin-bottom: 0;
}

/* FOOTER */

footer {
  max-width: 1100px;
  margin: 0 auto 18px;
  padding: 16px 14px 0;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid #16070a;
}

/* Sprachumschalter */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px;
  margin-left: 10px;
  border-radius: 999px;
  background: #0b0305;
  border: 1px solid #5a262f;
}

.lang-link {
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-muted);
  transition: 0.18s;
}

.lang-link:hover {
  background: #ffffff12;
  color: var(--text);
}

.lang-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
}

/* Formular-Styling */

.form {
  display: block;
}

.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.form-row .form-group {
  flex: 1 1 200px;
}

label {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text);
}

.required {
  color: var(--accent);
}

input[type="text"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0b0305;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

input[type="text"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
  background: #15060a;
}

textarea {
  resize: vertical;
}

.form-hint {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.form-section-title {
  margin-top: 6px;
  margin-bottom: 10px;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 16px;
  color: var(--accent);
}

.form-label-like {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--text-muted);
}

.form-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.option {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.option input[type="checkbox"] {
  accent-color: var(--accent);
}

.form-separator {
  border: none;
  border-top: 1px solid #2b1519;
  margin: 18px 0 14px;
}

.form-actions {
  margin-top: 18px;
}

.btn-submit {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-color: var(--accent-deep);
  color: #fff;
  font-weight: 500;
  cursor: pointer;
}

.btn-submit:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.form-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Formular responsive */

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}

.age-warning {
  position: relative;
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid #7a1d22;
  background: #2a0508;
  color: #f3c7c7;
  font-size: 12px;
}
/* Fingercode-Karten */

.fingercode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.fingercode-card {
  background: #0c0507;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 14px 14px 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.8);
}

.fingercode-card h3 {
  margin-top: 10px;
  margin-bottom: 6px;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 15px;
  color: var(--accent);
}

.fingercode-card p {
  font-size: 13px;
  line-height: 1.6;
}

.fingercode-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  border: 1px solid #5a262f;
  background: radial-gradient(circle at 20% 15%, #d43b5533 0%, #120608 45%, #070204 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7e3e3;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.9);
}

.fc-label {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #ff9aa8;
  background: #2a060a;
}

/* Fingercode mobile */

@media (max-width: 700px) {
  .fingercode-grid {
    grid-template-columns: 1fr;
  }
}
/* Regel-Übersicht (Generelle Regeln) */

.rule-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 40px;
  margin-top: 10px;
}

.rule-list-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rule-list-bottom {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.rule-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 2px 0;
  transition: color 0.18s, transform 0.18s;
}

.rule-link:hover {
  color: var(--accent);
  transform: translateX(2px);
}

.rule-arrow {
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

/* Mobile: eine Spalte */

@media (max-width: 800px) {
  .rule-list-grid {
    grid-template-columns: 1fr;
    gap: 6px 0;
  }
}


/* RESPONSIVE */

@media (max-width: 840px) {
  header.header {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 500px) {
  main {
    padding: 0 10px;
  }

  header.header {
    margin: 14px auto;
    padding: 10px 14px;
  }

  .hero {
    padding: 18px 14px 16px;
  }
}

/* ===== Popups: Age Gate + Cookie Banner ===== */

.modal-overlay{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
  z-index: 9999;
}

.modal-overlay.is-open{ display: flex; }

.modal{
  width: min(560px, 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(90,38,47,.75);
  background:
    radial-gradient(circle at 25% 15%, rgba(212,59,82,.22), transparent 55%),
    linear-gradient(135deg, #0a0203, #16070a);
  box-shadow: 0 30px 80px rgba(0,0,0,.9);
  padding: 18px 18px 16px;
  position: relative;
  overflow: hidden;
}

.modal h2{
  margin: 0 0 8px;
  font-family: "Playfair Display", "Times New Roman", serif;
  color: var(--accent);
  letter-spacing: .03em;
  font-size: 20px;
}

.modal p{
  margin: 0 0 12px;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 14px;
}

.modal-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.modal-note{
  margin-top: 12px;
  font-size: 12px;
  opacity: .9;
}

/* Cookie Banner */
.cookie-banner{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  z-index: 9998;
  padding: 12px;
}

.cookie-banner.is-open{ display: block; }

.cookie-inner{
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(90,38,47,.75);
  background: rgba(11,3,5,.80);
  backdrop-filter: blur(12px);
  box-shadow: 0 26px 60px rgba(0,0,0,.85);
  padding: 12px 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.cookie-text{
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

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

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

@media (max-width: 700px){
  .cookie-inner{
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Popups Animation */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-overlay.is-open{
  animation: fadeIn .22s ease-out both;
}

.modal{
  animation: fadeUp .28s ease-out both;
}

.cookie-banner.is-open{
  animation: fadeUp .28s ease-out both;
}

.cookie-more{
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,154,168,.90);
  text-decoration: none;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,154,168,.25);
  width: fit-content;
  transition: transform .18s, background .18s, color .18s, border-color .18s;
}

.cookie-more:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,154,168,.45);
  color: #fff;
}

/* Cookie Preferences */
.cookie-prefs{
  display: grid;
  gap: 10px;
  margin: 10px 0 4px;
}

.pref-row{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(90,38,47,.65);
  background: rgba(11,3,5,.35);
}

.pref-row input{
  margin-top: 2px;
  accent-color: var(--accent);
}

.pref-row strong{
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

.pref-hint{
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}
