@import url('fonts/fonts.css');

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background-color: #F9F7F4;
  color: #2A2018;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===========================
   CSS VARIABLES
=========================== */
:root {
  --bg: #F9F7F4;
  --bg-card: #FFFFFF;
  --bg-sand: #EDE0CC;
  --text: #2A2018;
  --heading: #1B2B4B;
  --cta: #B8734A;
  --cta-hover: #A0622E;
  --accent: #C9A070;
  --divider: #CFC0AD;
  --navy: #1B2B4B;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(61, 43, 31, 0.08);
  --shadow-hover: 0 16px 50px rgba(61, 43, 31, 0.22);
  --transition: 0.3s ease;
  --max-width: 1100px;
  --section-padding: 100px 24px;
}

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); font-weight: 800; font-family: 'Playfair Display', serif; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-family: 'Playfair Display', serif; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { font-size: 1.05rem; color: var(--text); }

a { color: inherit; text-decoration: none; }

.section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cta);
  display: block;
  margin-bottom: 12px;
}

/* ===========================
   LAYOUT
=========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: var(--section-padding); }

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
}
.btn-primary:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--heading);
  border-color: var(--heading);
}
.btn-outline:hover {
  background: var(--heading);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--cta);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--bg-sand);
  transform: translateY(-2px);
}

/* ===========================
   NAVIGATION
=========================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition);
  background: rgba(249, 247, 244, 0.95);
  backdrop-filter: blur(10px);
}

nav.scrolled {
  background: rgba(249, 247, 244, 0.95);
  backdrop-filter: blur(10px);
  padding: 14px 24px;
  box-shadow: 0 2px 20px rgba(61, 43, 31, 0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--cta); }

.nav-cta .btn-primary { color: #fff; }
.nav-cta .btn-primary:hover { color: #fff; }

.nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===========================
   HERO
=========================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
  background-image: radial-gradient(circle, rgba(42, 32, 24, 0.2) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  text-align: center;
}

.hero-label {
  display: inline-block;
  background: var(--bg-sand);
  color: var(--cta);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeInUp 0.6s ease 0.2s forwards;
}

.hero-headline {
  margin-bottom: 24px;
  overflow: hidden;
}

.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: wordIn 0.6s ease forwards;
  margin-right: 0.25em;
}

.hero-subline {
  font-size: 1.15rem;
  color: var(--text);
  max-width: 580px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeInUp 0.6s ease 1.4s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.6s ease 1.6s forwards;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeInUp 0.6s ease 2s forwards;
}

.scroll-indicator span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--divider);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--divider), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}

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

/* ===========================
   LEAD MAGNET
=========================== */
#lead-magnet {
  background: var(--heading);
  padding: 80px 24px;
}

#lead-magnet h2 { color: #fff; }

#lead-magnet .lead-magnet-inner > p { color: rgba(255,255,255,0.8); }

#lead-magnet .lead-magnet-disclaimer { color: rgba(255,255,255,0.4); }

.strip-light {
  background: var(--bg);
  padding: 40px 0;
}

.lead-magnet-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.lead-magnet-inner h2 {
  margin-bottom: 16px;
}

.lead-magnet-inner > p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 36px;
}

.lead-magnet-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lead-magnet-fields {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.lead-magnet-fields input {
  flex: 1;
  min-width: 160px;
  max-width: 220px;
}

.lead-magnet-fields .btn {
  flex-shrink: 0;
}

.lead-magnet-disclaimer {
  font-size: 0.8rem;
  color: var(--divider);
  margin-top: 14px;
  text-align: center;
}

/* ===========================
   COMMUNITY INHALTE
=========================== */
#community-inhalte {
  background: var(--heading);
  padding: var(--section-padding);
  color: #fff;
}

#community-inhalte .container {
  max-width: var(--max-width);
  margin: 0 auto;
}

#community-inhalte .section-label { color: var(--cta); }

#community-inhalte h2 {
  color: #fff;
  margin-bottom: 16px;
}

#community-inhalte > .container > p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 48px;
}

.topics-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  max-width: 680px;
}

.topic h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.topic-icon {
  font-size: 1.7rem;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

.topic p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  padding-left: 42px;
}

.community-highlight {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}


/* ===========================
   TESTIMONIALS
=========================== */
#testimonials {
  background: var(--bg);
  padding: var(--section-padding);
}

#testimonials .container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
}

.testimonial-quote {
  font-size: 4rem;
  font-weight: 700;
  color: var(--cta);
  line-height: 0.8;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.testimonial p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}

.testimonial-author {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--divider);
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .lead-magnet-fields { flex-direction: column; align-items: stretch; }
  .lead-magnet-fields input { max-width: 100%; }
}

/* ===========================
   PORTRAIT SECTION
=========================== */
#portrait {
  background: var(--bg);
  padding: var(--section-padding);
}

.portrait-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.portrait-image {
  aspect-ratio: 4/5;
  background: var(--bg-sand);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.portrait-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
}

.portrait-placeholder {
  text-align: center;
  color: var(--divider);
  font-size: 0.9rem;
  padding: 24px;
}

.portrait-placeholder span {
  display: block;
  font-size: 3rem;
  margin-bottom: 12px;
}

.portrait-text h2 { margin-bottom: 20px; }

.portrait-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
  color: var(--text);
}

.stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

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

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--divider);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===========================
   ANGEBOTE
=========================== */
#angebote {
  background: var(--bg);
  padding: var(--section-padding);
}

#angebote .container { text-align: center; }
#angebote h2 { margin-bottom: 16px; }
#angebote > .container > p {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 60px;
  color: var(--text);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
  margin-top: 60px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--cta);
}

.card-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--cta);
  opacity: 0.7;
  margin-bottom: 16px;
}

.card-tag {
  display: inline-block;
  background: var(--bg-sand);
  color: var(--cta);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--heading);
}

.card > p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 24px;
}

.card-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.card-features li {
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
}

.card-features li::before {
  content: '✓';
  color: var(--cta);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 20px;
}

.card-price small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--divider);
  display: block;
  margin-top: 4px;
}

.card .btn { width: 100%; justify-content: center; }

/* ===========================
   KAFFEEPAUSE BANNER
=========================== */
#kaffeepause {
  background: var(--bg-sand);
  padding: 60px 24px;
}

.kaffeepause-inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.kaffeepause-inner h3 {
  font-size: 1.5rem;
  color: var(--heading);
}

.kaffeepause-inner p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}

.kaffeepause-icon {
  font-size: 3.5rem;
  line-height: 1;
}

.kaffeepause-text p {
  font-size: 1rem;
  color: var(--text);
}

.kaffeepause-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cta);
}

/* ===========================
   ÜBER MICH
=========================== */
#ueber-mich {
  background: var(--heading);
  color: #fff;
  padding: var(--section-padding);
}

#ueber-mich .container {
  max-width: var(--max-width);
  margin: 0 auto;
}

#ueber-mich .section-label { color: var(--cta); }

#ueber-mich h2 {
  color: #fff;
  margin-bottom: 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
  margin-top: 24px;
}

.about-text h2 { color: #fff; margin-bottom: 20px; }

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 16px;
  height: 100%;
}

.credential {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.credential:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--cta);
}

.credential h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
  margin-bottom: 6px;
}

.credential-sub {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
  margin-top: 4px;
}

/* ===========================
   KONTAKT
=========================== */
#kontakt {
  background: var(--bg);
  padding: var(--section-padding);
}

#kontakt .container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

#kontakt h2 { margin-bottom: 12px; }
#kontakt > .container > p {
  margin-bottom: 48px;
  font-size: 1.05rem;
}
#kontakt > .container > p:first-of-type {
  margin-bottom: 6px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input, textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--divider);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-card);
  transition: border-color var(--transition);
  outline: none;
}

input::placeholder, textarea::placeholder { color: var(--divider); }

input:focus, textarea:focus {
  border-color: var(--cta);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

form .btn {
  align-self: center;
  padding: 16px 48px;
  margin-top: 8px;
}

.contact-alt {
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--divider);
}

.contact-alt a {
  color: var(--cta);
  font-weight: 500;
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: var(--heading);
  color: rgba(255,255,255,0.7);
  padding: 40px 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--cta); }

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  width: 100%;
  text-align: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===========================
   SCROLL ANIMATIONS
=========================== */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .portrait-inner { grid-template-columns: 1fr; gap: 40px; }
  .portrait-image { max-width: 400px; margin: 0 auto; }
  .cards { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .credentials { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-padding: 70px 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 99;
  }
  .nav-links.open a { font-size: 1.3rem; }
  .kaffeepause-inner { align-items: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .stats { gap: 20px; }
  .credentials { grid-template-columns: 1fr; }
}

/* ===========================
   KEYNOTE PAGE
=========================== */
.keynote-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(42, 32, 24, 0.2) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

.keynote-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 60px;
}

.keynote-content {
  max-width: 640px;
  width: 100%;
  text-align: center;
}

.keynote-content h1 { font-size: 2rem; margin-bottom: 12px; }
.keynote-content > p { font-size: 1.05rem; margin-bottom: 48px; }

.keynote-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
  margin-bottom: 40px;
}

.keynote-card {
  background: var(--bg-card);
  border: 1.5px solid var(--divider);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.keynote-card h3 { font-size: 1rem; margin-bottom: 8px; }
.keynote-card p { font-size: 0.85rem; margin-bottom: 20px; line-height: 1.5; }

.keynote-form { display: flex; flex-direction: column; gap: 10px; }
.keynote-form input { font-size: 0.9rem; padding: 12px 14px; }
.keynote-form .btn { justify-content: center; width: 100%; font-size: 0.9rem; padding: 12px; }

@media (max-width: 600px) {
  .keynote-options { grid-template-columns: 1fr; }
}
