/* === Miele Millefiori — Geteiltes Stylesheet === */

:root {
  --honey-deep:    #8B4513;
  --honey-amber:   #C9851F;
  --honey-gold:    #E5A028;
  --honey-light:   #F4D38A;
  --honey-pale:    #FBEFD0;
  --cream:         #FAF3E3;
  --paper:         #F7EDD3;
  --tuscan-red:    #7A2A1E;
  --tuscan-olive:  #5C5836;
  --ink:           #2A1810;
  --ink-soft:      #4A3424;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  background: var(--cream);
  color: var(--ink);
  font-size: 19px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201, 133, 31, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(122, 42, 30, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

main, header, footer, section, article { position: relative; z-index: 2; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); font-weight: 300; line-height: 1.05; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; }
h4 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }

.italic { font-style: italic; font-family: 'Fraunces', serif; font-weight: 300; }
.num    { font-family: 'JetBrains Mono', monospace; font-weight: 400; letter-spacing: -0.02em; }

p { font-size: clamp(1.05rem, 1.3vw, 1.2rem); }

a { color: var(--honey-deep); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--tuscan-red); }

/* === NAV === */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 1.2rem 4vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(250, 243, 227, 0.85);
  border-bottom: 1px solid rgba(74, 52, 36, 0.08);
}
nav .logo {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
}
nav .logo span { font-style: italic; font-weight: 300; color: var(--honey-deep); }
nav .logo a { color: inherit; }

nav ul { display: flex; list-style: none; gap: 2rem; }
nav ul a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.8rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.3s;
  position: relative;
}
nav ul a:hover, nav ul a.active { color: var(--honey-deep); }
nav ul a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--honey-deep);
  transition: width 0.3s;
}
nav ul a:hover::after, nav ul a.active::after { width: 100%; }

.menu-toggle {
  display: none;
  background: none; border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 800px) {
  nav ul {
    position: fixed;
    top: 60px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(74, 52, 36, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s;
    padding: 1rem 0;
  }
  nav ul.open { transform: translateY(0); }
  nav ul li { padding: 0.8rem 4vw; border-bottom: 1px solid rgba(74, 52, 36, 0.05); }
  .menu-toggle { display: block; }
}

/* === BREADCRUMBS === */
.breadcrumbs {
  padding: 6rem 5vw 0;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.breadcrumbs li::after {
  content: '/';
  margin-left: 0.8rem;
  color: var(--honey-deep);
}
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--honey-deep); }
.breadcrumbs li:last-child { color: var(--honey-deep); }

/* === SECTIONS === */
section {
  padding: 5rem 5vw;
  max-width: 1200px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 30px; height: 1px;
  background: var(--honey-deep);
}

/* === ARTIKEL-LAYOUT === */
.article-hero {
  padding: 8rem 5vw 3rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.article-hero h1 {
  margin-bottom: 1.5rem;
}
.article-hero h1 .accent {
  color: var(--honey-deep);
  font-style: italic;
  display: block;
  font-weight: 300;
}
.article-hero .lede {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  color: var(--ink-soft);
  font-style: italic;
  line-height: 1.5;
  max-width: 720px;
}
.article-hero .meta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(74, 52, 36, 0.15);
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
}
.article-hero .meta span { color: var(--honey-deep); }

article.long-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 5vw 5rem;
}
article.long-form h2 {
  margin: 3rem 0 1.5rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
article.long-form h2 .italic { color: var(--honey-deep); }
article.long-form h3 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--honey-deep);
  font-weight: 400;
}
article.long-form p {
  margin-bottom: 1.4rem;
  color: var(--ink-soft);
  font-size: 1.18rem;
  line-height: 1.7;
}
article.long-form p strong { color: var(--ink); font-weight: 500; }
article.long-form ul, article.long-form ol {
  margin: 1.5rem 0 1.5rem 1.5rem;
  color: var(--ink-soft);
}
article.long-form li {
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
  line-height: 1.6;
}
article.long-form blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--honey-deep);
  background: var(--paper);
  font-style: italic;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.5;
}
article.long-form .key-takeaway {
  margin: 3rem 0;
  padding: 2rem;
  background: var(--paper);
  border: 1px solid rgba(74, 52, 36, 0.12);
  position: relative;
}
article.long-form .key-takeaway::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 30px; height: 30px;
  border-top: 2px solid var(--honey-deep);
  border-left: 2px solid var(--honey-deep);
}
article.long-form .key-takeaway h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--honey-deep);
  margin-bottom: 1rem;
}
article.long-form .key-takeaway p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0;
}

/* === FAQ === */
.faq {
  background: var(--paper);
  padding: 5rem 5vw;
  max-width: none;
  margin: 4rem 0 0;
  border-top: 1px solid rgba(74, 52, 36, 0.1);
}
.faq-inner { max-width: 900px; margin: 0 auto; }
.faq h2 { margin-bottom: 2.5rem; }
.faq h2 .italic { color: var(--honey-deep); }
.faq-item {
  border-bottom: 1px solid rgba(74, 52, 36, 0.15);
  padding: 1.5rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 2rem;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--honey-deep);
  transition: transform 0.3s;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item summary:hover { color: var(--honey-deep); }
.faq-item p {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* === RELATED ARTICLES === */
.related {
  padding: 5rem 5vw;
  max-width: 1200px;
  margin: 0 auto;
}
.related h2 { margin-bottom: 2.5rem; }
.related h2 .italic { color: var(--honey-deep); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.related-card {
  padding: 2rem;
  background: var(--paper);
  border: 1px solid rgba(74, 52, 36, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
  color: inherit;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(74, 52, 36, 0.08);
}
.related-card .category {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--honey-deep);
  margin-bottom: 0.8rem;
}
.related-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}
.related-card p {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* === CTA BANNER === */
.cta-banner {
  background: var(--ink);
  color: var(--honey-pale);
  padding: 5rem 5vw;
  max-width: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(229, 160, 40, 0.15), transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(122, 42, 30, 0.18), transparent 50%);
}
.cta-banner-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 2; }
.cta-banner h2 { color: var(--cream); margin-bottom: 1.5rem; }
.cta-banner h2 .italic { color: var(--honey-gold); }
.cta-banner p { color: rgba(251, 239, 208, 0.85); margin-bottom: 2.5rem; font-size: 1.15rem; }

.newsletter-inline {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  border-bottom: 1px solid var(--honey-pale);
}
.newsletter-inline input[type="email"] {
  flex: 1;
  padding: 0.9rem 0;
  border: none;
  background: transparent;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--cream);
  outline: none;
}
.newsletter-inline input::placeholder { color: rgba(251, 239, 208, 0.5); font-style: italic; }
.newsletter-inline button {
  padding: 0.9rem 1.4rem;
  border: none;
  background: transparent;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  color: var(--honey-gold);
  transition: color 0.3s, transform 0.3s;
}
.newsletter-inline button:hover { color: var(--cream); transform: translateX(4px); }
.newsletter-inline button:disabled { opacity: 0.5; cursor: wait; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-message {
  margin-top: 1.5rem;
  font-size: 1rem !important;
  font-family: 'Fraunces', serif;
  font-style: italic;
  min-height: 1.5em;
  color: var(--honey-gold) !important;
}
.form-message.error { color: #FF8C70 !important; }

/* === FOOTER === */
footer {
  background: var(--ink);
  color: var(--honey-pale);
  padding: 4rem 5vw 2rem;
  position: relative;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 500px) { .footer-inner { grid-template-columns: 1fr; } }

footer h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--honey-gold);
  margin-bottom: 1.2rem;
  font-weight: 400;
}
footer .brand-name {
  font-family: 'Fraunces', serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
footer .brand-name .italic { color: var(--honey-gold); display: block; }
footer p, footer a, footer .email-link, footer li {
  color: rgba(251, 239, 208, 0.7);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.8;
}
footer a:hover, footer .email-link:hover { color: var(--honey-gold); }
footer ul { list-style: none; }
footer .contact-name {
  color: var(--cream);
  font-style: italic;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
}
footer .copyright {
  border-top: 1px solid rgba(229, 160, 40, 0.2);
  padding-top: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(251, 239, 208, 0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.email-protected {
  cursor: pointer;
  border-bottom: 1px dotted var(--honey-gold);
  transition: color 0.3s;
}
.email-protected:hover { color: var(--honey-gold); }

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

/* === KOMPONENTEN AUS DER HOMEPAGE === */
.hero-home {
  min-height: 95vh;
  padding: 8rem 5vw 4rem;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  max-width: none;
}
.hero-home-inner { max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin-bottom: 1.8rem;
}
.hero-eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--honey-gold);
  border-radius: 50%;
  margin: 0 0.7rem 0.15rem;
  vertical-align: middle;
}
.hero-home h1 { margin-bottom: 1.5rem; }
.hero-home h1 .accent {
  font-style: italic;
  font-weight: 300;
  color: var(--honey-deep);
  display: block;
}
.hero-home .lede {
  max-width: 620px;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
}
.hero-home .lede em { color: var(--honey-deep); font-style: italic; }
.hero-home .cta-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.btn-primary, .btn-secondary {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 1rem 1.8rem;
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.btn-primary { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-primary:hover { background: var(--honey-deep); border-color: var(--honey-deep); color: var(--cream); }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--cream); }

.hero-decor {
  position: absolute;
  top: 18%;
  right: 3vw;
  width: clamp(160px, 18vw, 280px);
  pointer-events: none;
  animation: gentleFloat 8s ease-in-out infinite;
}
@media (max-width: 900px) {
  .hero-decor { display: none; }
}
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-15px) rotate(2deg); }
}

/* === TOPIC-CARDS auf der Homepage === */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.topic-card {
  padding: 2.5rem;
  background: var(--paper);
  border: 1px solid rgba(74, 52, 36, 0.12);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}
.topic-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--honey-deep);
  transition: width 0.3s;
}
.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(74, 52, 36, 0.1);
}
.topic-card:hover::before { width: 80px; }

.topic-card .num-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--honey-deep);
  margin-bottom: 1.2rem;
}
.topic-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--ink);
}
.topic-card h3 .italic { color: var(--honey-deep); }
.topic-card p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.topic-card .read-more {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--honey-deep);
}
