﻿/* Butterflyeffect – Bereinigtes Stylesheet */

/* -------------------- */
/* Basis & Variablen    */
/* -------------------- */

:root {
  --color-butterfly-gold: #C26D30;
  --color-deep-magenta: #85322D;
  --color-sunset-plum: #6F242E;
  --color-twilight-violet: #3D2148;
  --color-night-sky: #090F2C;
  --color-midnight-indigo: #18153B;
  --color-glowing-ember: #D4986E;
  --color-soft-dawn: #F8F0EA;

  --radius-lg: 1.5rem;
  --radius-sm: 0.5rem;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.30);
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #201335 0, var(--color-night-sky) 45%, #020309 100%);
  color: var(--color-soft-dawn);
  line-height: 1.6;
}

/* -------------------- */
/* Layout Grundstruktur */
/* -------------------- */

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
  width: 100%;
}

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

.section h1,
.section h2,
.section h3 {
  color: var(--color-soft-dawn);
  margin-top: 0;
}

.section p {
  color: rgba(248, 240, 234, 0.9);
}

.section.section-accent {
  background: radial-gradient(circle at top, rgba(133, 50, 45, 0.35), rgba(9, 15, 44, 0.98));
  border-radius: var(--radius-lg);
}

/* Zweispaltige Sections (Text + Bild) */

.section.section-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.section.section-two-column.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
}

.section-text {
  padding: 0;
}

.section-media {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  overflow: hidden; /* falls irgendwann etwas übersteht */
}

/* Reihenfolge drehen bei .reverse */

.section.section-two-column.reverse .section-text {
  order: 2;
}

.section.section-two-column.reverse .section-media {
  order: 1;
}

/* -------------------- */
/* Header & Navigation  */
/* -------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to right, rgba(9, 15, 44, 0.97), rgba(24, 21, 59, 0.97));
  border-bottom: 1px solid rgba(210, 152, 110, 0.45);
  padding: 0.5rem 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: 64px;                 /* Größe des Icons – nach Geschmack anpassen */
  height: 48px;
  display: block;
  background-image: url("../images/logo2.png"); /* WICHTIG: Pfad relativ zu assets/css/ */
  background-size: contain;    /* Schmetterling komplett zeigen, nicht abschneiden */
  background-repeat: no-repeat;
  background-position: center;
}

/* Keine zusätzlichen Formen mehr darüberlegen */
.logo-symbol::before,
.logo-symbol::after {
  content: none;
}

.site-title {
  font-size: 2.35rem;
  letter-spacing: 0.12em;

  color: var(--color-soft-dawn);
  font-family: "Great Vibes", "Pacifico", serif;
}

.site-subtitle {
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(248, 240, 234, 0.75);
}

/* Navigation */

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(248, 240, 234, 0.8);
  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.4rem;
  padding: 0.2rem 0 0.6rem;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: rgba(248, 240, 234, 0.8);
  padding: 0.4rem 0;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--color-butterfly-gold), var(--color-deep-magenta));
  transition: width 0.2s ease-out;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

/* -------------------- */
/* Hero Bereich         */
/* -------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr);
  gap: 2.5rem;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(210, 152, 110, 0.5);
}

.hero-content h1 {
  font-size: clamp(2.1rem, 3vw, 3rem);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.hero-content p {
  max-width: 32rem;
  color: rgba(248, 240, 234, 0.9);
}

.lead {
  font-size: 1.05rem;
  color: var(--color-glowing-ember);
  max-width: 48rem;
}

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

/* -------------------- */
/* Bilder in Sections   */
/* -------------------- */

/* Profil / Section-Bilder – NICHT verzerren, an Box angepasst */
.section-image {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;  /* Seitenverhältnis bleibt erhalten, keine Stauchung */
  /* kein object-fit mehr, damit nichts abgeschnitten wird */
  border-radius: calc(var(--radius-lg) * 1.1);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(210, 152, 110, 0.5);
  object-fit: scale-down;
}

/* Video – optisch wie Section-Bilder */
.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: calc(var(--radius-lg) * 1.1);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(210, 152, 110, 0.5);
  background: rgba(0, 0, 0, 0.35);
}

/* Galerie – einheitliche Kacheln, Bild füllt Box, darf minimal beschnitten werden */
.gallery-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  background: linear-gradient(to bottom right, rgba(24, 21, 59, 0.94), rgba(61, 33, 72, 0.98));
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(210, 152, 110, 0.4);
}

/* Bild bleibt in der Kachel, ohne Verzerren */
.gallery-image {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 0.8rem 1rem 1rem;
  font-size: 0.92rem;
  color: rgba(248, 240, 234, 0.92);
}

/* -------------------- */
/* Listen, Buttons, Cards */
/* -------------------- */

/* Klassenname an HTML angepasst: highlight-list */
.highlight-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1.2rem;
}

.highlight-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.4rem;
  color: rgba(248, 240, 234, 0.9);
}

.highlight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--color-butterfly-gold), var(--color-glowing-ember));
}

/* Buttons – unterstützen .primary / .secondary UND .btn-primary /.btn-secondary */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, background 0.2s ease-out;
}

.primary,
.btn-primary {
  background: linear-gradient(135deg, var(--color-butterfly-gold), var(--color-deep-magenta));
  color: var(--color-soft-dawn);
  box-shadow: 0 12px 25px rgba(194, 109, 48, 0.25);
}

.secondary,
.btn-secondary {
  background: rgba(248, 240, 234, 0.06);
  color: rgba(248, 240, 234, 0.9);
  border-color: rgba(210, 152, 110, 0.4);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.secondary:hover,
.btn-secondary:hover,
.secondary:focus-visible,
.btn-secondary:focus-visible {
  background: rgba(248, 240, 234, 0.12);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  background: linear-gradient(to bottom right, rgba(24, 21, 59, 0.92), rgba(61, 33, 72, 0.98));
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(210, 152, 110, 0.35);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.25);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--color-glowing-ember);
  letter-spacing: 0.06em;
}

.card p {
  margin: 0;
  color: rgba(248, 240, 234, 0.9);
}

/* -------------------- */
/* Tabellen (Preise)    */
/* -------------------- */

.table-wrapper {
  overflow-x: auto;
  margin-top: 1.6rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 260px;
}

.price-table thead {
  background: rgba(24, 21, 59, 0.9);
}

.price-table th,
.price-table td {
  padding: 0.75rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(210, 152, 110, 0.25);
}

.price-table th {
  font-weight: 600;
  color: var(--color-soft-dawn);
}

.price-table tbody tr:nth-child(even) {
  background: rgba(24, 21, 59, 0.4);
}

/* optional, falls du den Hinweistext wie im Old-Style willst */
.note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(248, 240, 234, 0.78);
}

/* -------------------- */
/* Formular             */
/* -------------------- */

.form-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-weight: 600;
  color: rgba(248, 240, 234, 0.9);
}

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(210, 152, 110, 0.35);
  background: rgba(8, 10, 22, 0.55);
  color: rgba(248, 240, 234, 0.95);
}

.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: rgba(248, 240, 234, 0.78);
}

.form-error {
  color: #ffb4a8;
}

.form-success {
  color: #c6ffb8;
}

/* -------------------- */
/* Footer               */
/* -------------------- */

.site-footer {
  border-top: 1px solid rgba(210, 152, 110, 0.35);
  background: rgba(9, 15, 44, 0.92);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.footer-brand {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(248, 240, 234, 0.85);
}

.footer-links {
  margin: 0;
}

.footer-links a {
  color: rgba(248, 240, 234, 0.8);
  text-decoration: none;
  border-bottom: 1px dashed rgba(210, 152, 110, 0.5);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--color-glowing-ember);
  border-bottom-color: var(--color-glowing-ember);
}

/* -------------------- */
/* 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) {
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    gap: 0.9rem;
    padding: 0.9rem 0 0.6rem;
  }

  .main-nav.open {
    display: flex;
  }

  .site-title {
    font-size: 2rem;
  }
}
