:root{
  --bg:#fbf7f0;
  --text:#1d1b16;
  --muted:#5a5347;
  --border:#eadfce;
  --card:#ffffff;
  --card2:#fff8ee;
  --accent:#d6a84a;
  --accent2:#e9d8c4;
  --shadow:0 18px 40px rgba(25,20,12,.08);
  --max:1100px;
  --radius:16px;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  line-height:1.55;
  color:var(--text);
  background: radial-gradient(1100px 520px at 18% 6%, rgba(214,168,74,.16), transparent 60%),
              radial-gradient(900px 520px at 86% 18%, rgba(233,216,196,.35), transparent 55%),
              var(--bg);
}

.container{ width:min(var(--max), calc(100% - 32px)); margin:0 auto; }


.skip-link{
  position:absolute;
  left:12px;
  top:12px;
  padding:10px 12px;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateY(-140%);
  transition: transform .2s ease;
  z-index: 999;
}
.skip-link:focus{
  transform: translateY(0);
}
/* === Warm Minimalism Theme (Brand/UI) === */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--text);
}
.brand-mark{
  width:36px;
  height:36px;
  border-radius:999px;
  background: radial-gradient(circle at 30% 30%, #ffe8b2, var(--accent) 65%, #b67b1e 120%);
  box-shadow: 0 10px 22px rgba(25,20,12,.14);
  border: 1px solid rgba(234,223,206,.9);
}
.brand-name{
  display:block;
  font-weight:700;
  letter-spacing:.2px;
}
.brand-tagline{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-top:2px;
}

.hero h1{
  font-size: clamp(28px, 2.4vw, 40px);
  margin: 0 0 8px 0;
}
.hero h2{
  margin-top: 0;
}
.hero .lead{
  font-size: 16px;
  color: var(--muted);
  max-width: 68ch;
  margin: 0 0 14px 0;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(234,223,206,.95);
  background: rgba(255,255,255,.82);
  text-decoration:none;
  color: var(--text);
  box-shadow: 0 10px 20px rgba(25,20,12,.06);
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(25,20,12,.09);
}
.btn--primary{
  background: linear-gradient(180deg, #1d1b16, #0f0e0b);
  border-color: #1d1b16;
  color: #fff;
}
.btn--primary:hover{
  opacity: .96;
}

.hero-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 10px 0 10px;
}

.hero--home{
  position:relative;
  overflow:hidden;
  padding: 26px;
}
.hero--home::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 360px at 18% 12%, rgba(214,168,74,.22), transparent 60%),
    radial-gradient(900px 420px at 76% 32%, rgba(233,216,196,.55), transparent 58%);
  pointer-events:none;
}
.hero--home::after{
  content:"";
  position:absolute;
  right:-50px;
  bottom:-56px;
  width:min(560px, 46vw);
  height: 380px;
  background-image: url('/assets/img/brand/set-hero.png');
  background-repeat:no-repeat;
  background-size: contain;
  background-position: right bottom;
  filter: drop-shadow(0 26px 40px rgba(25,20,12,.18));
  opacity: .95;
  pointer-events:none;
}
.hero--home .hero-content{
  position:relative;
  z-index:1;
  max-width: 62ch;
}
@media (min-width: 980px){
  .hero--home{
    padding-right: 420px;
    min-height: 300px;
  }
}
@media (max-width: 640px){
  .hero--home::after{
    width: 360px;
    height: 250px;
    right: -120px;
    bottom: -90px;
    opacity: .55;
  }
}

.site-footer{
  background: rgba(255,248,238,.92);
  position:relative;
  overflow:hidden;
}
.site-footer::before{
  content:"";
  position:absolute;
  left:-30px;
  bottom:-34px;
  width: 320px;
  height: 220px;
  background-image: url('/assets/img/brand/footer-keramik.png');
  background-repeat:no-repeat;
  background-size: contain;
  background-position: left bottom;
  opacity: .22;
  filter: blur(.0px);
  pointer-events:none;
}
.site-footer .footer-grid{
  position:relative;
  z-index:1;
}


a{
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(214,168,74,.55);
  text-underline-offset: 3px;
}
a:hover{
  text-decoration-color: rgba(214,168,74,1);
}

.site-header{ border-bottom:1px solid var(--border); background: rgba(251,247,240,.86); backdrop-filter: blur(10px); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0; }

.nav{ display:flex; flex-wrap:wrap; gap:10px 14px; list-style:none; margin:0; padding:0; }
.nav a{display:inline-block; padding:8px 10px; border-radius:10px; text-decoration:none; color:var(--text);
  border:1px solid transparent;
}
.nav a:hover{ background: rgba(255,255,255,.72); border-color: rgba(234,223,206,.9); box-shadow: 0 12px 22px rgba(25,20,12,.06); }

.hero{
  margin:18px 0;
  border:1px solid var(--border);
  background: rgba(255,255,255,.86);
  padding:18px;
  border-radius:var(--radius);
  box-shadow: var(--shadow);
}

.site-footer{
  border-top:1px solid var(--border);
  margin-top:24px;
  padding:16px 0;
  color:var(--muted);
  font-size:14px;
  background: rgba(255,248,238,.92);
  position:relative;
  overflow:hidden;
}
/* === Affiliate UI (Module 3) === */
.aff-disclosure{
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0;
}

.aff-section h2{
  margin-top: 0;
}

.aff-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.aff-card{
  grid-column: span 12;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
}

@media (min-width: 820px){
  .aff-card{ grid-column: span 6; }
}

.aff-card h3{
  margin: 0 0 6px 0;
}

.aff-meta{
  margin: 0 0 10px 0;
  color: var(--muted);
  font-size: 14px;
}

.aff-points{
  margin: 0 0 14px 18px;
}

.aff-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.aff-btn{
  display: inline-block;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.aff-btn:hover{
  background: var(--card);
}

.aff-btn--primary{
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.aff-btn--primary:hover{
  opacity: 0.92;
}

.aff-badge{
  display: inline-block;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  margin-bottom: 8px;
}
/* === Step-Layout für Anleitungen (Bild + Text) === */
.step{
  display:grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  margin: 16px 0;
}

.step-media{ margin: 0; }
.step-media img{
  display:block;
  width:100%;
  height:auto;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border);
  background: #fff;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.step-media figcaption{
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.step-body h3{ margin: 0 0 8px; }
.step-body p{ margin: 0 0 10px; }
.step-body .aff-meta{ margin: 8px 0 0; }

@media (max-width: 820px){
  .step{
    grid-template-columns: 1fr;
  }
}
/* === Step-Layout für Anleitungen (Bild + Text) === */
.step{
  display:grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  margin: 16px 0;
}

.step-media{ margin: 0; }
.step-media img{
  display:block;
  width:100%;
  height:auto;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border);
  background: #fff;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.step-media figcaption{
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.step-body h3{ margin: 0 0 8px; }
.step-body p{ margin: 0 0 10px; }
.step-body .aff-meta{ margin: 8px 0 0; }

@media (max-width: 820px){
  .step{
    grid-template-columns: 1fr;
  }
}

/* Footer: Rechtliches & stabile Links */
.site-footer .footer-grid{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.site-footer .footer-links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.site-footer .footer-links a{
  color:var(--muted);
  text-decoration:none;
}
.site-footer .footer-links a:hover{
  text-decoration:underline;
}
.site-footer .footer-note{
  white-space:nowrap;
}
@media (max-width: 600px){
  .site-footer .footer-note{ white-space:normal; }
}

