/* ===== DESIGN-SYSTEM ===== */
:root {
  --primary: #7c3aed;
  --secondary: #f472b6;
  --accent: #14b8a6;
  --background: #fdf4ff;
  --surface: #ffffff;
  --text: #3b0764;
  --muted: #6b7280;
  
  --font-heading: "Fraunces", serif;
  --font-body: "Karla", sans-serif;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.07);
  --radius: 12px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--background);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--primary); }

p { margin-bottom: 1rem; max-width: 65ch; }
a { color: var(--primary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent); }
ul { list-style: none; }

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.section-with-bg {
    background-color: var(--surface);
    border-radius: var(--radius);
    margin: 2rem auto;
    width: 95%;
    max-width: 1600px;
}

.text-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-container > * { text-align: center; }
.text-container p { margin-left: auto; margin-right: auto; }

.disclaimer {
    font-size: 0.9rem;
    color: var(--muted);
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
}

/* ===== HEADER ===== */
.main-header {
  background-color: rgba(253, 244, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
}

.logo-icon path, .logo-icon circle { transition: transform 0.3s ease; }
.logo:hover .logo-icon path { transform: rotate(5deg); }
.logo:hover .logo-icon circle { transform: scale(1.1); }


.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 700;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

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

.nav-toggle { display: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--surface);
}
.btn-primary:hover {
  background-color: var(--surface);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--surface);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}


/* ===== HERO SECTION ===== */
.hero {
  padding-top: 4rem;
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-block;
  background-color: rgba(244, 114, 182, 0.1);
  color: var(--secondary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 1rem;
}

.subheadline {
  font-size: 1.25rem;
  max-width: 60ch;
  margin: 1.5rem auto 2.5rem;
  color: var(--muted);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-container {
  display: none; /* Mobile first, hide complex visual */
}

/* ===== TRUST BADGES ===== */
.trust-badges {
    background-color: var(--surface);
    padding: 2rem 0;
}
.trust-badges .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}
.badge-item {
  text-align: center;
}
.badge-item span {
  font-size: 2.5rem;
}
.badge-item h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0;
}
.badge-item p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ===== EINFÜHRUNG ===== */
.reflection-box {
  background-color: var(--surface);
  border-left: 5px solid var(--accent);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  margin-top: 2rem;
  font-style: italic;
  box-shadow: var(--shadow-sm);
}

/* ===== GELDTYPEN ===== */
.section-intro {
  text-align: center;
  max-width: 70ch;
  margin: 0 auto 3rem auto;
  color: var(--muted);
}

.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.type-card {
  background: var(--background);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(124, 58, 237, 0.1);
}
.type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.card-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1rem;
}
.type-card h3 {
  margin-bottom: 1.5rem;
}
.type-card p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.type-card .quote {
  font-style: italic;
  color: var(--muted);
  padding: 1rem 0;
  border-top: 1px dashed rgba(124, 58, 237, 0.2);
  margin-top: 1rem;
}
.type-card strong { color: var(--text); }


/* ===== GLAUBENSSÄTZE ===== */
.beliefs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.beliefs-column ul {
    list-style-type: '✗ ';
    padding-left: 1.5rem;
    color: var(--secondary);
}
.beliefs-column li {
    padding-left: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}
.beliefs-column.positive ul {
    list-style-type: '✓ ';
    color: var(--accent);
}
.beliefs-column h3 {
    text-align: center;
    border-bottom: 2px solid;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
.beliefs-column h3 { border-color: var(--secondary); }
.beliefs-column.positive h3 { border-color: var(--accent); }

.exercise-box {
    background: var(--background);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

/* ===== ÜBUNGEN ===== */
.exercises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.exercise-card {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-top: 5px solid var(--accent);
}

/* ===== WISSENSCHAFT ===== */
.science-snippets .snippet {
    background-color: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.science-snippets .snippet h3 {
    margin-bottom: 0.5rem;
}
.science-snippets .snippet p {
    margin-bottom: 0;
    color: var(--muted);
}

/* ===== WANN HILFE SUCHEN ===== */
.warning-box {
    background-color: rgba(244, 114, 182, 0.05);
    border: 1px solid var(--secondary);
    border-radius: var(--radius);
    padding: 2rem;
    margin-bottom: 2rem;
}
.warning-box h3 { color: var(--secondary); }
#hilfe ul {
    list-style-type: '– ';
    padding-left: 1rem;
}
#hilfe li {
    padding-left: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ===== FAQ ===== */
.faq-container {
    width: 100%;
}
.faq-item {
    background-color: var(--surface);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    color: var(--text);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
}
.faq-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}
.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--muted);
}

/* ===== KONTAKT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
.contact-info p {
    font-size: 1.1rem;
}

.contact-form {
    background-color: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}
.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

/* ===== FOOTER ===== */
.main-footer {
    background-color: var(--text);
    color: var(--background);
    padding: 4rem 0 2rem 0;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-col h4 {
    color: var(--surface);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.footer-col a, .footer-col p {
    color: #ccc;
}
.footer-col a:hover {
    color: var(--accent);
}
.footer-col ul li {
    margin-bottom: 0.5rem;
}
.footer-col .logo .logo-text { color: var(--surface); }
.footer-col .address { color: var(--muted); margin-top: 1rem; }

.newsletter-form {
    display: flex;
}
.newsletter-form input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--muted);
    background: #4a1486;
    color: var(--surface);
    border-radius: 8px 0 0 8px;
    outline: none;
}
.newsletter-form button {
    padding: 0.5rem 1rem;
    background-color: var(--accent);
    color: var(--surface);
    border: none;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    color: var(--muted);
    flex-wrap: wrap;
    gap: 1rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        background-color: var(--surface);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 101;
    }

    .hamburger {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text);
        position: relative;
        transition: background-color 0.2s ease;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--text);
        left: 0;
        transition: transform 0.3s ease, top 0.3s ease;
    }
    .hamburger::before { top: -8px; }
    .hamburger::after { top: 8px; }

    .nav-open .hamburger { background-color: transparent; }
    .nav-open .hamburger::before { top: 0; transform: rotate(45deg); }
    .nav-open .hamburger::after { top: 0; transform: rotate(-45deg); }
}

@media (min-width: 769px) {
    .hero-image-container {
        display: block;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 1800px;
        height: 300px;
        z-index: 0;
    }

    .hero-image {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 70%;
        max-width: 700px;
        border-radius: 20px 20px 0 0;
        box-shadow: var(--shadow-md);
        opacity: 0.3;
    }
    .hero-shape {
        position: absolute;
        bottom: -150px;
        left: 50%;
        transform: translateX(-50%);
        width: 150%;
        height: 300px;
        background-color: var(--surface);
        border-radius: 50%;
    }

    .beliefs-grid, .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}