/* =========================================================
     SOULFIRE REBELLION – GLOBAL STYLES (ZENTRALE CSS)
   ========================================================= */

/* ---------- ROOT VARIABLES ---------- */

:root {
  --bg: #07050b;
  --bg-soft: #140b1f;
  --bg-hero: radial-gradient(circle at 20% 0%, #4b2f80 0, #0b0712 55%);
  --surface: #140d1f;
  --surface-soft: #1b1027;

  --accent: #ffb469;
  --accent-strong: #ff7a3f;

  /* weicheres Pink & Purple, Purple an Startseiten-Lila angepasst */
  --accent-pink: #ff7a9e;
  --accent-purple: #9468ff;

  --accent-soft: #ffd6a0;
  --accent-gold: #ffdca3;

  --text: #f7f3ff;
  --muted: #c2bfd4;

  --border-subtle: rgba(255,255,255,0.04);
  --chip-bg: rgba(8, 5, 18, 0.9);

  --danger: #ff4b6b;

  --nav-height: 68px;

  --font-heading: "Georgia", "Times New Roman", serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- GLOBAL RESET ---------- */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- LAYOUT BASICS ---------- */

.wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Utility */
.nowrap { white-space: nowrap; }

/* =========================================================
   TOP BAR / NAVIGATION
   ========================================================= */

.top-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background:
    radial-gradient(circle at 0 0, rgba(255,157,104,0.12), transparent 55%),
    rgba(5,3,10,0.96);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-bar-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-family: var(--font-heading);
  letter-spacing: 0.22em;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #fdf5e9;
}

.brand-subline {
  font-size: 0.8rem;
  color: rgba(250,240,255,0.78);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  color: rgba(244,238,255,0.9);
}

.nav-links a {
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-strong), var(--accent-pink));
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 20px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #ffe0c0 0, #ff7a3f 45%, #ff4f8f 100%);
  color: #1b0705;
  font-weight: 600;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    0 12px 35px rgba(0,0,0,0.75);
}

.nav-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* ---------- MOBILE NAV / HAMBURGER ---------- */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #fdf5e9;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    width 0.18s ease;
}

.nav-toggle span + span {
  margin-top: 4px;
}

/* =========================================================
   MAIN / BACKGROUND
   ========================================================= */

main {
  background:
    radial-gradient(circle at 0 0, rgba(255,148,104,0.15), transparent 55%),
    radial-gradient(circle at 85% 0, rgba(148,104,255,0.22), transparent 60%),
    #07050b;
  min-height: 100vh;
  padding-bottom: 60px;
}

/* =========================================================
   HERO SECTIONS
   ========================================================= */

.hero {
  padding: 40px 0;
  background: var(--bg-hero);
}

/* Startseiten-Hero mit 2-Spalten-Layout */
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

/* Unterseiten-Hero (Visionsraum, Angebote, Über mich) */
.hero--page {
  padding: 84px 0 40px; /* mehr Luft unter dem Sticky-Header */
}

.hero-inner--page {
  display: block; /* einspaltig, ruhiger */
}

.hero--page .hero-title {
  font-size: clamp(2.1rem, 3.4vw, 2.7rem);
}

.hero--page .hero-text {
  max-width: 640px;
}

/* Optional: feine Unterschiede je Unterseite */
.hero--visionsraum {
  background:
    radial-gradient(circle at 10% 0, rgba(148,104,255,0.26), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(255,148,104,0.18), transparent 60%),
    #07050b;
}

.hero--angebote {
  background:
    radial-gradient(circle at 20% 0, rgba(255,148,104,0.22), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(148,104,255,0.18), transparent 60%),
    #07050b;
}

h1.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0 0 22px;
  background: linear-gradient(120deg, #ffe7c4, #ffb469, #ff7a3f, #ff5f9a);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 18px rgba(255,180,105,0.4),
    0 0 38px rgba(147,106,255,0.35);
  animation: titleGlow 12s ease-in-out infinite;
}

@keyframes titleGlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =========================================================
   SECTION STYLES
   ========================================================= */

section {
  padding: 40px 0;
}

.section-shell {
  background:
    radial-gradient(circle at 0 0, rgba(111,76,255,0.08), transparent 60%),
    linear-gradient(180deg, rgba(9,5,18,0.98), rgba(7,4,14,0.98));
  border-radius: 28px;
  padding: 32px 26px 30px;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 26px 70px rgba(0,0,0,0.85);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: #ffdca3;
}

/* =========================================================
   OFFERS / PLANS
   ========================================================= */

.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.offer-card {
  background: rgba(13, 9, 22, 0.92);
  border-radius: 18px;
  padding: 22px 20px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow:
    0 14px 40px rgba(0,0,0,0.7),
    inset 0 0 18px rgba(111,76,255,0.08);
}

.offer-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: radial-gradient(circle at 0 0, rgba(255,180,105,0.16), rgba(7,5,15,0.95));
  border: 1px solid rgba(255,180,105,0.55);
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.offer-card h3 {
  margin: 0 0 6px;
  color: rgba(255,214,188,0.96);
}

.offer-for-whom {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.offer-price {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 12px 0;
  color: var(--accent-gold);
  text-shadow: 0 0 12px rgba(255,180,105,0.35);
}

.offer-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.offer-card ul li {
  margin-bottom: 6px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    border-color 0.18s ease;
}

/* Haupt-Button */
.btn-primary {
  background: radial-gradient(circle at 0 0, #ffe7c4 0, #ffb469 40%, #ff7a3f 100%);
  color: #290b06;
  box-shadow:
    0 0 0 1px rgba(255,230,210,0.35),
    0 16px 40px rgba(0,0,0,0.8);
  border: none;
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* Secondary: ruhiger Button */
.btn-secondary {
  background: transparent;
  color: var(--accent-gold);
  border: 1px solid rgba(255,214,188,0.65);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 10px 28px rgba(0,0,0,0.7);
}

.btn-secondary:hover {
  background: rgba(255,214,188,0.10);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.6),
    0 14px 32px rgba(0,0,0,0.85);
  transform: translateY(-1px);
}

/* Ghost: dezente Option */
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text);
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  padding: 16px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #05030a;
}

footer a {
  color: var(--accent-gold);
}

/* =========================================================
   INDEX PAGE – additional components
   ========================================================= */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--chip-bg);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--accent-gold);
  backdrop-filter: blur(4px);
}

.chip--ki {
  color: var(--accent-pink);
  border-color: rgba(255,106,150,0.4);
}

.chip--self {
  color: var(--accent-purple);
  border-color: rgba(143,108,255,0.4);
}

.hero-text {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 12px 0 16px;
  max-width: 600px;
}

.hero-card {
  background: rgba(13,9,22,0.92);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  box-shadow:
    0 14px 40px rgba(0,0,0,0.75),
    inset 0 0 14px rgba(111,76,255,0.08);
  padding: 24px 22px;
  max-width: 340px;
}

.hero-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: var(--accent-gold);
}

.hero-card-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.section-subtitle {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin: 26px 0 6px;
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 12px;
}

.section-footer-link {
  margin-top: 22px;
}

.section-footer-link a {
  color: var(--accent-gold);
  text-decoration: underline;
}

.visionsraum-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact-note,
.legal-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 12px;
}

.legal-hint {
  margin-top: 20px;
}

/* =========================================================
   ABOUT PAGE / ÜBER MICH
   ========================================================= */

.header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.header-text {
  max-width: 520px;
}

.header-photo {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.header-photo::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 180, 105, 0.25), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(148, 104, 255, 0.22), transparent 60%);
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.header-photo img {
  position: relative;
  z-index: 1;
  max-width: 260px;
  border-radius: 16px;
  border: 1px solid rgba(255, 214, 188, 0.65);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.85);
  display: block;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .header-photo img:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.95);
    border-color: rgba(255, 184, 120, 0.85);
  }
}

/* Card mit leichtem lila/orange Glow */
.card {
  background:
    radial-gradient(circle at 0 0, rgba(148,104,255,0.12), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(255,148,104,0.10), transparent 60%),
    var(--surface);
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  padding: 24px 20px 26px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65);
}

/* Back link style (falls irgendwo noch genutzt) */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--muted);
}

.back-link span {
  font-size: 1.1rem;
}

/* Vereinheitlichte About-Headline (ruhiger, goldener Glow) */
.about-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: #ffdca3;
  text-shadow:
    0 0 12px rgba(255,180,105,0.35),
    0 0 24px rgba(0,0,0,0.6);
}

/* =========================================================
   Gradient Headings / Highlights
   ========================================================= */

.gradient-heading {
  background: linear-gradient(
    120deg,
    var(--accent-gold),
    var(--accent-pink),
    var(--accent-purple)
  );
  background-size: 180% 180%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 10px rgba(255, 106, 61, 0.16),
    0 0 16px rgba(148, 104, 255, 0.20);
  animation: titleGlow 10s ease-in-out infinite;
}

.card h2.gradient-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 32px 0 14px;
}

.card h2.gradient-heading:first-of-type {
  margin-top: 0;
}

.highlight {
  color: var(--accent-soft);
  font-weight: 500;
}

.card h3.gradient-heading,
.card h4.gradient-heading {
  background: none;
  color: #c9b5ff;
  text-shadow: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 22px 0 8px;
}

/* =========================================================
   CTA REIHEN
   ========================================================= */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions a {
  flex: 0 1 auto;
  white-space: normal;
}

/* =========================================================
   RESPONSIVE / MOBILE
   ========================================================= */

/* Tablet & kleiner: Hero stacken, Kontakt/Visionsraum einspaltig, Hamburger aktivieren */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 100%;
    margin-top: 24px;
  }

  .offers-grid {
    grid-template-columns: 1fr;
  }

  .visionsraum-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  /* Navigation: Hamburger anzeigen, Menü einklappen */
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    padding: 16px 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background:
      radial-gradient(circle at 0 0, rgba(255,157,104,0.18), transparent 55%),
      rgba(5,3,10,0.98);
    transform: translateY(-160%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }

  body.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta {
    align-self: stretch;
    text-align: center;
  }

  .top-bar-inner {
    gap: 16px;
  }

  main {
    padding-bottom: 48px;
  }
}

/* Animation des Hamburgers im geöffneten Zustand */

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  width: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* =========================================================
   MOBILE TWEAKS – HEADINGS & ABOUT-HERO
   ========================================================= */

/* Section-Titel auf dem Handy etwas kleiner
   + lange Wörter/Fragen angenehmer umbrechen (VISIONSRAUM). */
@media (max-width: 600px) {
  .section-title {
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-wrap: balance;

    /* wichtig: kein break-word mehr → verhindert hässliche Satzzeichen-Umbrüche */
    overflow-wrap: normal;
    word-break: normal;
  }
}

/* ABOUT-HERO: ab Tablet/Handy alles untereinander statt nebeneinander */
@media (max-width: 1024px) {
  .header-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .header-photo {
    justify-content: flex-start;
    width: 100%;
  }

  .header-photo img {
    max-width: 260px;
  }
}

/* Hamburger-Icon nur auf großen Screens ausblenden */
@media (min-width: 901px) {
  .nav-toggle {
    display: none;
  }
}
