/* =====================================================================
   Butterflyeffect – REDESIGN DARK (Vorschau / style-dark.css)
   Warmes Dunkel-Theme · Bordeaux/Aubergine · Gold · Creme
   Reines visuelles Redesign – gleiche Selektoren wie style.css.
   Wird nur im Vorschaumodus (?preview=dark) geladen.
   ===================================================================== */

/* -------------------- */
/* Variablen            */
/* -------------------- */
:root {
  --bg:            #190E14;  /* tiefes Bordeaux-Schwarz */
  --bg-alt:        #220F19;  /* Sektionswechsel */
  --surface:       #2A1320;  /* Karten */
  --surface-alt:   #331827;  /* leicht heller */
  --ink:           #F2E8DF;  /* warmes Creme */
  --ink-soft:      #B89A8A;  /* gedämpftes Creme */
  --accent:        #C8A96A;  /* Gold – Hauptakzent auf Dunkel */
  --accent-hover:  #DFC07F;  /* helleres Gold */
  --bordeaux:      #8A2D3A;  /* Bordeaux als Sekundärfarbe */
  --gold:          #C8A96A;
  --gold-soft:     rgba(200, 169, 106, 0.35);
  --gold-glow:     rgba(200, 169, 106, 0.12);
  --line:          rgba(200, 169, 106, 0.20);  /* Trennlinien */

  /* Typografie */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script:  "Great Vibes", "Cormorant Garamond", cursive;

  /* Form */
  --radius-lg: 14px;
  --radius-sm: 5px;
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.40);
  --max-width: 1120px;

  /* Alte Variablennamen mappen */
  --color-butterfly-gold: var(--gold);
  --color-deep-magenta:   var(--bordeaux);
  --color-sunset-plum:    #6A1E2C;
  --color-twilight-violet:#4A2035;
  --color-night-sky:      var(--bg);
  --color-midnight-indigo:var(--bg-alt);
  --color-glowing-ember:  var(--gold);
  --color-soft-dawn:      var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: hidden;
  position: relative;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 140% 80% at 10% 0%, #2E1020 0%, var(--bg) 55%),
    var(--bg);
  background-attachment: fixed;
}

/* Feiner Grain-Overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Mitfließende Hintergrundgrafik (Schmetterling rechts) – Position/Transform wird per JS beim Scrollen aktualisiert */
.bf-parallax-butterfly {
  position: fixed;
  top: -8vh;
  right: -10vw;
  width: min(70vw, 880px);
  height: min(70vw, 880px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
  background: url("../images/background_butterfly_right.svg") no-repeat center / contain;
  filter: brightness(1.35) sepia(0.28);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .bf-parallax-butterfly { transition: none !important; }
}

/* -------------------- */
/* Layout Grundstruktur */
/* -------------------- */
.page-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.site-main {
  flex: 1;
  width: 100%;
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section h1, .section h2, .section h3 { color: var(--ink); margin-top: 0; }
.section p { color: var(--ink-soft); max-width: 65ch; }
.section .lead { max-width: 60ch; }

/* Alternierende vollbreite Sektionsbänder */
.site-main > .section:nth-of-type(even)::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--bg-alt);
  z-index: -1;
}

/* Schmetterling-Sektionstrenner */
.site-main > .section + .section::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: min(420px, 70%);
  height: 22px;
  background:
    linear-gradient(to right, transparent, var(--gold-soft) 20%, transparent 44%, transparent 56%, var(--gold-soft) 80%, transparent) center/100% 1px no-repeat,
    url("../images/butterfly-bullet.svg") center/22px 16px no-repeat;
  filter: brightness(1.3);
}

.section.section-accent {
  background: linear-gradient(160deg, var(--surface-alt) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.site-main > .section.section-accent:nth-of-type(even)::before { display: none; }

/* Zweispaltige Sections */
.section.section-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}
.section.section-two-column.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.section-text { padding: 0; }
.section-media {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.section.section-two-column.reverse .section-text { order: 2; }
.section.section-two-column.reverse .section-media { order: 1; }

/* -------------------- */
/* Typografie           */
/* -------------------- */
h1, h2, h3, .site-title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.3px;
}

h1, .hero-content h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin: 0 0 1rem;
  text-shadow: 0 0 60px rgba(200, 169, 106, 0.25);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--accent);
  margin-bottom: 0.6rem;
}
h3 { font-size: 1.4rem; color: var(--accent); }

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  max-width: 60ch;
}

strong { color: var(--ink); font-weight: 700; }

/* -------------------- */
/* Header & Navigation  */
/* -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(22, 10, 18, 0.88);
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 1.5rem 0.75rem;
}
.site-header > .logo-title,
.site-header > .main-nav { max-width: var(--max-width); margin: 0 auto; }

.logo-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo-link { display: inline-flex; align-items: center; text-decoration: none; gap: 0.75rem; }

.logo-symbol {
  width: 58px; height: 46px;
  display: block;
  background-image: url("../images/logo2.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.logo-symbol::before, .logo-symbol::after { content: none; }

.site-title {
  font-family: var(--font-script);
  font-size: 2.5rem;
  letter-spacing: 0.02em;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 30px rgba(200, 169, 106, 0.30);
}
.site-subtitle {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
}

.menu-toggle { display: none; background: transparent; border: none; cursor: pointer; padding: 0.5rem; }
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--ink-soft);
  margin: 5px 0; transition: all 0.3s ease; border-radius: 1px;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

.main-nav { display: flex; gap: 1.6rem; padding: 0.2rem 0 0.5rem; font-size: 0.9rem; }
.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.25s ease;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; border-radius: 999px;
  background: linear-gradient(to right, var(--gold), var(--bordeaux));
  transition: width 0.25s ease-out;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after { width: 100%; }

/* -------------------- */
/* Hero                 */
/* -------------------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr);
  gap: 3rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vh, 7rem) 1.5rem;
}
/* Goldener Schimmer-Kreis hinter dem Text */
.hero::before {
  content: "";
  position: absolute;
  top: 50%; left: -80px;
  transform: translateY(-50%);
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,106,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft), 0 0 0 1px var(--gold-soft);
}
.hero-image {
  display: block; width: 100%; height: auto;
  transition: transform 0.6s ease;
}
.hero-media:hover .hero-image { transform: scale(1.03); }

.hero-content h1 { color: var(--accent); }
.hero-content p { max-width: 34rem; color: var(--ink-soft); }
.hero .lead { color: var(--ink); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }

/* Gestaffeltes Einblenden */
.hero-content h1 { animation: bf-rise 0.7s ease both; }
.hero-content .lead { animation: bf-rise 0.7s ease 0.12s both; }
.hero-content p:not(.lead) { animation: bf-rise 0.7s ease 0.22s both; }
.hero-actions { animation: bf-rise 0.7s ease 0.34s both; }
@keyframes bf-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -------------------- */
/* Bilder in Sections   */
/* -------------------- */
.section-image {
  display: block;
  max-width: 100%; width: 100%; height: auto;
  object-fit: scale-down;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft), 0 0 0 1px var(--gold-soft);
  transition: transform 0.6s ease;
}
.section-media:hover .section-image { transform: scale(1.03); }

.video-wrapper { display: flex; justify-content: center; align-items: center; margin-top: 1.25rem; }
.section-video {
  display: block; width: 100%; max-width: 820px; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft), 0 0 0 1px var(--gold-soft);
  background: #000;
}

/* Galerie */
.gallery-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}
.gallery-item {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--gold-soft);
}
.gallery-image {
  display: block; width: 100%; height: 230px; object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover .gallery-image { transform: scale(1.04); }
.gallery-item figcaption {
  padding: 0.9rem 1.1rem 1.1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* -------------------- */
/* Listen               */
/* -------------------- */
.highlight-list { list-style: none; padding-left: 0; margin-top: 1.3rem; }
.highlight-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.65rem;
  color: var(--ink-soft);
}
.highlight-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 1.1rem; height: 0.85rem;
  background: url("../images/butterfly-bullet.svg") no-repeat center / contain;
  filter: brightness(1.3);
}

/* -------------------- */
/* Buttons              */
/* -------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.primary, .btn-primary {
  background: linear-gradient(135deg, var(--accent), #A88848);
  color: #190E14;
  box-shadow: 0 8px 24px rgba(200, 169, 106, 0.30);
}
.primary:hover, .btn-primary:hover,
.primary:focus-visible, .btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--accent-hover), #C8A96A);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(200, 169, 106, 0.40);
}
.secondary, .btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--gold-soft);
}
.secondary:hover, .btn-secondary:hover,
.secondary:focus-visible, .btn-secondary:focus-visible {
  background: var(--gold-glow);
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--accent-hover);
}

/* -------------------- */
/* Cards                */
/* -------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.25rem;
}
.card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 1.6rem; right: 1.6rem;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold-soft), transparent);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--gold-soft);
}
.card h3 { margin: 0.4rem 0 0.7rem; color: var(--accent); letter-spacing: 0.01em; }
.card p { margin: 0; color: var(--ink-soft); }

/* -------------------- */
/* Preistabelle         */
/* -------------------- */
.table-wrapper {
  overflow-x: auto;
  margin-top: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 280px;
}
.price-table thead { background: transparent; }
.price-table thead th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 2px solid var(--gold-soft);
}
.price-table th, .price-table td {
  padding: 1.05rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr { transition: background 0.2s ease; }
.price-table tbody tr:hover { background: var(--surface-alt); }
.price-table td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.price-table th:last-child { text-align: right; }
.price-table td:first-child { color: var(--ink-soft); }

.note { margin-top: 1.1rem; font-size: 0.95rem; color: var(--ink-soft); }

/* -------------------- */
/* Formular             */
/* -------------------- */
.form-grid { display: grid; gap: 1.1rem; margin-top: 2rem; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.form-field input, .form-field select, .form-field textarea {
  font: inherit;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #6B5040; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.15);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.2rem; }
.form-note { margin-top: 1rem; font-size: 0.95rem; color: var(--ink-soft); }
.form-error { color: #E88080; }
.form-success { color: #80CFA0; }

/* -------------------- */
/* Footer               */
/* -------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: rgba(15, 7, 12, 0.95);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid;
  gap: 0.6rem;
}
.footer-brand { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }
.footer-links { margin: 0; }
.footer-links a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-soft);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-links a:hover, .footer-links a:focus-visible {
  color: var(--accent-hover);
  border-bottom-color: var(--accent);
}
.footer-sep { color: var(--gold-soft); }

/* -------------------- */
/* Skip-Link & A11y     */
/* -------------------- */
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--accent); color: var(--bg);
  font-weight: 700; font-size: 0.95rem;
  border-radius: 0 0 0.5rem 0.5rem;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; outline: 3px solid var(--ink); outline-offset: 2px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.main-nav a[aria-current="page"] { color: var(--accent); }
.main-nav a[aria-current="page"]::after { width: 100%; }
.main-nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .skip-link { transition: none; }
}

/* -------------------- */
/* Responsive           */
/* -------------------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .section.section-two-column,
  .section.section-two-column.reverse { grid-template-columns: 1fr; }
  .section.section-two-column.reverse .section-text { order: 1; }
  .section.section-two-column.reverse .section-media { order: 2; }
}

@media (max-width: 760px) {
  .bf-parallax-butterfly, .hero::before { display: none; }

  .menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; flex-shrink: 0; }
  .logo-title { flex-wrap: nowrap; }
  .site-subtitle { display: none; }
  .main-nav {
    display: none; flex-direction: column; gap: 0.9rem;
    padding: 0.9rem 0 0.6rem; width: 100%;
  }
  .main-nav.open { display: flex; }
  .site-title { font-size: 1.9rem; }
  .hero { padding: 2.5rem 1rem; }
  .section { padding: 2.5rem 1rem; }
  .gallery-grid { padding: 0 1rem 2.5rem; grid-template-columns: 1fr; }
  .price-table th, .price-table td { padding: 0.85rem 1rem; }
}
