:root {
  --bg: #f7f0e8;
  --surface: #faf5ee;
  --border: #e0d8cc;
  --text: #3a3228;
  --text-muted: #8a7a6a;
  --text-light: #a89a88;
  --red: #b87858;
  --red-light: rgba(184,120,88,0.12);
  --red-dark: #9a6248;
  --green: #7a9a80;
  --green-light: rgba(122,154,128,0.12);
  --amber: #a89050;
  --amber-light: rgba(168,144,80,0.12);
  --grey: #9a9490;
  --grey-light: rgba(154,148,144,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 1.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/images/bg-hero.webp') center / cover no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(247,240,232,0.5) 0%,
    rgba(247,240,232,0.5) 30%,
    rgba(247,240,232,0.65) 50%,
    rgba(247,240,232,0.8) 65%,
    rgba(247,240,232,0.9) 78%,
    rgba(247,240,232,0.96) 88%,
    rgba(247,240,232,1) 100%
  );
}

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

.hero-logo {
  width: 140px;
  height: 140px;
  margin-bottom: 0.3rem;
  filter: drop-shadow(0 4px 32px rgba(58,40,28,0.45))
          drop-shadow(0 0 60px rgba(184,120,88,0.3))
          drop-shadow(0 0 16px rgba(58,40,28,0.3));
  filter: drop-shadow(0 2px 8px rgba(184,120,88,0.3));
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-shadow: 0 2px 16px rgba(255,255,255,0.6);
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.hero-title span {
  color: var(--red);
  text-shadow: 0 2px 16px rgba(255,255,255,0.6);
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 400;
  color: var(--text);
  text-shadow: 0 1px 8px rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.hero-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-shadow: 0 1px 8px rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ===== Tool Section ===== */
.tool-section {
  max-width: 860px;
  margin: -2rem auto 0;
  padding: 0 1.5rem 3rem;
  position: relative;
  z-index: 3;
}

.tool-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.tool-frame iframe {
  width: 100%;
  border: none;
  min-height: 500px;
  display: block;
}

/* ===== Disclaimer ===== */
.disclaimer {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-light);
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  font-size: 0.8rem;
  color: var(--text-light);
  border-top: 1px solid var(--border);
  max-width: 600px;
  margin: 0 auto;
}

.footer a {
  color: var(--red);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-legal {
  margin-top: 0.5rem;
}

.footer-probatorik {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.88rem;
}
.footer-probatorik:hover { text-decoration: underline; }

.kofi-btn {
  display: inline-block;
  margin-bottom: 1.2rem;
  padding: 0.55rem 1.2rem;
  background: var(--red);
  color: #fff;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.15s;
}

.kofi-btn:hover {
  background: var(--red-dark);
  text-decoration: none;
}

/* ===== Prose (Impressum, Datenschutz) ===== */
.prose {
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  line-height: 1.7;
}

.prose h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.prose h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.prose p {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: #5a4e44;
}

.prose ul,
.prose ol {
  margin-bottom: 0.8rem;
  padding-left: 1.4rem;
  font-size: 1rem;
  color: #5a4e44;
}

.prose li {
  margin-bottom: 0.3rem;
}

.prose a {
  color: var(--red);
  text-decoration: none;
  padding: 0.15rem 0;
}

.prose a:hover {
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  font-size: 0.92rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
}

.back-link:hover {
  color: var(--red);
}

.back-bottom {
  margin-top: 3rem;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding: 3rem 1.2rem 1rem;
  }

  .hero-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 0.5rem;
  }

  .hero-bg {
    opacity: 0.3;
  }

  .tool-section {
    margin-top: 0;
    padding: 0;
  }

  .tool-frame {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .tool-frame iframe {
    min-height: 320px;
  }
}
