/* KonditorDesk — Haupt-Stylesheet
   Farbpalette: Warmes Braun (Kaffee) + Gold + Creme
   ================================================ */

:root {
  --braun-dark:   #3D1C02;
  --braun:        #6B3E26;
  --braun-mid:    #8B5E3C;
  --braun-light:  #C4956A;
  --gold:         #D4AF37;
  --gold-light:   #F0D060;
  --gold-pale:    #FBF3C8;
  --creme:        #FFF8F0;
  --creme-dark:   #F5E6D3;
  --creme-mid:    #EDD5B8;
  --text-dark:    #2C1A0E;
  --text-mid:     #6B5040;
  --text-light:   #9A7A60;
  --white:        #FFFFFF;
  --shadow-sm:    0 2px 8px rgba(61,28,2,.10);
  --shadow-md:    0 6px 24px rgba(61,28,2,.14);
  --shadow-lg:    0 12px 48px rgba(61,28,2,.18);
  --radius:       12px;
  --radius-sm:    8px;
  --transition:   .25s ease;
}

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--creme);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--braun); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

/* ── Typography ───────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--braun-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

.lead { font-size: 1.15rem; color: var(--text-mid); }

/* ── Utilities ────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-gold  { color: var(--gold); }
.text-braun { color: var(--braun); }
.text-center { text-align: center; }
.section-gap { padding: 5rem 0; }
.section-gap-sm { padding: 3rem 0; }
.bg-creme  { background: var(--creme); }
.bg-dark   { background: var(--braun-dark); }
.bg-braun  { background: var(--braun); }

.badge-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--braun-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 99px;
}

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--braun-dark);
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--braun-dark);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-color: var(--white);
}
.btn-dark {
  background: var(--braun-dark);
  color: var(--creme);
  border-color: var(--braun-dark);
}
.btn-dark:hover {
  background: var(--braun);
  color: var(--creme);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: .5rem 1.25rem; font-size: .9rem; }

/* ── Navbar ───────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(61,28,2,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,175,55,.2);
  transition: all var(--transition);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.navbar-brand .logo-icon { font-size: 1.6rem; }
.navbar-brand span { color: var(--creme); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,248,240,.8);
  font-size: .95rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }

.nav-cta { display: flex; align-items: center; gap: 1rem; }

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

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(61,28,2,.92) 0%, rgba(107,62,38,.85) 50%, rgba(61,28,2,.95) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.08'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  display: flex;
  align-items: center;
  padding: 8rem 1.5rem 5rem;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(212,175,55,.15);
  border: 1px solid rgba(212,175,55,.35);
  color: var(--gold-light);
  font-size: .85rem;
  font-weight: 600;
  padding: .4rem 1rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--creme);
  margin-bottom: 1.25rem;
}
.hero h1 .accent { color: var(--gold); }
.hero .lead {
  color: rgba(255,248,240,.8);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212,175,55,.2);
}
.hero-stat .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hero-stat .label {
  font-size: .8rem;
  color: rgba(255,248,240,.6);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .3rem;
}

/* Hero visual (mockup card) */
.hero-visual {
  position: relative;
}
.mockup-card {
  background: rgba(255,248,240,.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212,175,55,.25);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.mockup-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(212,175,55,.2);
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: block;
}
.mockup-dots span:nth-child(1) { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FEBC2E; }
.mockup-dots span:nth-child(3) { background: #28C840; }
.mockup-title { color: var(--gold-light); font-size: .85rem; font-weight: 600; }

.mockup-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .75rem;
  border-radius: var(--radius-sm);
  margin-bottom: .5rem;
  background: rgba(255,255,255,.04);
}
.mockup-row .icon { font-size: 1.1rem; }
.mockup-row .name { color: var(--creme); font-size: .875rem; font-weight: 500; flex: 1; }
.allergen-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-left: 2px;
}
.allergen-dot.green  { background: #4CAF50; }
.allergen-dot.yellow { background: #FFC107; }
.allergen-dot.red    { background: #F44336; }

.mockup-badge {
  font-size: .7rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 99px;
}
.mockup-badge.ok   { background: rgba(76,175,80,.25); color: #A5D6A7; }
.mockup-badge.warn { background: rgba(255,193,7,.25); color: #FFF176; }
.mockup-badge.crit { background: rgba(244,67,54,.25); color: #EF9A9A; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* ── Section Header ───────────────────────────── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header .eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-header p {
  color: var(--text-mid);
  font-size: 1.05rem;
  margin-top: .75rem;
}
.divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 99px;
  margin: 1rem auto 0;
}

/* ── Problem Section ──────────────────────────── */
.problem-section {
  background: var(--braun-dark);
  padding: 5rem 0;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.problem-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(212,175,55,.15);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}
.problem-card:hover {
  border-color: rgba(212,175,55,.35);
  transform: translateY(-3px);
}
.problem-card .problem-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.problem-card h3 { color: var(--creme); font-size: 1rem; margin-bottom: .5rem; }
.problem-card p  { color: rgba(255,248,240,.55); font-size: .9rem; }

/* ── Features ─────────────────────────────────── */
.features-section { background: var(--creme); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--creme-mid);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--braun), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: .5rem; color: var(--braun-dark); }
.feature-card p  { font-size: .9rem; color: var(--text-mid); }
.feature-tag {
  display: inline-block;
  margin-top: .75rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--braun-mid);
  background: var(--creme-dark);
  padding: .2rem .6rem;
  border-radius: 99px;
}

/* ── USP Banner ───────────────────────────────── */
.usp-section {
  background: linear-gradient(135deg, var(--braun) 0%, var(--braun-dark) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.usp-section::before {
  content: '⚠';
  position: absolute;
  right: -2rem;
  top: -3rem;
  font-size: 20rem;
  opacity: .03;
  color: var(--gold);
}
.usp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.usp-text h2 { color: var(--creme); margin-bottom: 1rem; }
.usp-text h2 .accent { color: var(--gold); }
.usp-text p  { color: rgba(255,248,240,.75); margin-bottom: 1.5rem; }
.usp-list { list-style: none; }
.usp-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: rgba(255,248,240,.85);
  font-size: .95rem;
  margin-bottom: .75rem;
}
.usp-list li .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: rgba(212,175,55,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  margin-top: .15rem;
}
.allergen-matrix {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(212,175,55,.2);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.allergen-matrix h4 { color: var(--gold-light); font-size: .9rem; margin-bottom: 1rem; }
.allergen-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.allergen-row:last-child { border-bottom: none; }
.allergen-name { color: var(--creme); font-size: .85rem; flex: 1; }
.allergen-pill {
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 99px;
}
.allergen-pill.enthalten   { background: rgba(244,67,54,.3);  color: #EF9A9A; }
.allergen-pill.spuren      { background: rgba(255,193,7,.3);  color: #FFF176; }
.allergen-pill.frei        { background: rgba(76,175,80,.3);  color: #A5D6A7; }

@media (max-width: 768px) {
  .usp-inner { grid-template-columns: 1fr; }
}

/* ── Testimonial ──────────────────────────────── */
.testimonial-section { background: var(--creme-dark); padding: 5rem 0; }
.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem; left: 2rem;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--gold);
  opacity: .3;
  line-height: 1;
}
.testimonial-text {
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  font-style: italic;
}
.testimonial-author strong { color: var(--braun-dark); display: block; font-size: 1rem; }
.testimonial-author span   { color: var(--text-mid); font-size: .875rem; }
.stars { color: var(--gold); font-size: 1.25rem; margin-bottom: 1.5rem; letter-spacing: .1em; }

/* ── Pricing ──────────────────────────────────── */
.pricing-section { background: var(--creme); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--creme-mid);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.pricing-card.featured .popular-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--braun-dark);
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem 1.25rem;
  border-radius: 99px;
  white-space: nowrap;
}
.pricing-tier { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--braun-mid); margin-bottom: .75rem; }
.pricing-name { font-size: 1.4rem; font-weight: 800; color: var(--braun-dark); margin-bottom: 1rem; }
.pricing-price { margin-bottom: 1.5rem; }
.pricing-price .amount { font-size: 3rem; font-weight: 800; color: var(--braun-dark); line-height: 1; }
.pricing-price .period { color: var(--text-mid); font-size: .875rem; }
.pricing-desc { color: var(--text-mid); font-size: .875rem; margin-bottom: 1.5rem; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 2rem; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .4rem 0;
  font-size: .9rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--creme-dark);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features .check-icon { color: var(--gold); flex-shrink: 0; margin-top: .1rem; }
.pricing-features .dim { color: var(--text-light); }

/* ── Demo Form ────────────────────────────────── */
.demo-section {
  background: linear-gradient(135deg, var(--braun-dark) 0%, var(--braun) 100%);
  padding: 5rem 0;
}
.demo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.demo-text h2 { color: var(--creme); margin-bottom: 1rem; }
.demo-text h2 .accent { color: var(--gold); }
.demo-text p  { color: rgba(255,248,240,.75); margin-bottom: 2rem; }
.demo-features { list-style: none; }
.demo-features li {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255,248,240,.85);
  margin-bottom: .75rem;
  font-size: .95rem;
}
.demo-features li span { font-size: 1.1rem; }

.demo-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.demo-form h3 { color: var(--braun-dark); margin-bottom: 1.5rem; font-size: 1.2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--creme-mid);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--creme);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,.15);
}
.form-group textarea { resize: vertical; min-height: 90px; }

@media (max-width: 768px) {
  .demo-inner { grid-template-columns: 1fr; }
}

/* ── Handbuch Banner ──────────────────────────── */
.handbuch-section { background: var(--creme-dark); padding: 4rem 0; }
.handbuch-card {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--creme-mid);
}
.handbuch-icon { font-size: 4rem; flex-shrink: 0; }
.handbuch-text { flex: 1; }
.handbuch-text h3 { color: var(--braun-dark); margin-bottom: .5rem; }
.handbuch-text p  { color: var(--text-mid); font-size: .95rem; }
.handbuch-tags { margin-top: .75rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.handbuch-tag {
  font-size: .75rem;
  background: var(--creme-dark);
  color: var(--braun-mid);
  padding: .2rem .6rem;
  border-radius: 99px;
}

@media (max-width: 600px) {
  .handbuch-card { flex-direction: column; text-align: center; padding: 2rem; }
}

/* ── Footer ───────────────────────────────────── */
.footer {
  background: var(--braun-dark);
  border-top: 1px solid rgba(212,175,55,.15);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: .75rem;
}
.footer-logo span { color: var(--creme); }
.footer-tagline { color: rgba(255,248,240,.5); font-size: .875rem; line-height: 1.6; }
.footer-col h4 { color: var(--creme); font-size: .9rem; font-weight: 600; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { color: rgba(255,248,240,.55); font-size: .875rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { color: rgba(255,248,240,.35); font-size: .8rem; }
.footer-bottom nav { display: flex; gap: 1.5rem; }
.footer-bottom nav a { color: rgba(255,248,240,.35); font-size: .8rem; }
.footer-bottom nav a:hover { color: var(--gold); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Scroll animation ─────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
