
/* ── NOTES ─────────────────────────────────────────── */

/* Karrussel per swipe */




/* ── TOKENS ─────────────────────────────────────────── */
:root {
  --font:        "Roboto Flex", system-ui, -apple-system, sans-serif;
  --font-display: "Abril Fatface", Georgia, serif;

  --text:        #7B776F;
  --text-dim:    #979390;
  --heading:     #595651;
  
  --bg:          #ffffff;
  --light:       #f0f0f0;
  --border:      #e8e8e8;
  --radius:      0.25rem;

  --u:           1.5rem;
  --u-xs:        0.75rem;
  --u-l:         3rem;
  --u-xl:        4.5rem;
  --u-xxl:       6rem;

  --col:         680px;
  --pad:         1.25rem;


  /* Karussell: verfügbare Breite explizit als vw-basierte Variable */
  --carousel-w:  min(calc(100vw - var(--pad) * 2), var(--col));


  /* ── PALETTE ────────────────────────────────────────── */
  --neutral-50:  #E0DDD7;
  --neutral-100: #C2BEB6;
  --neutral-200: #979390;
  --neutral-300: #7B776F;
  --neutral-400: #595651;  /* SVG-Logo-Fill: logo.svg + logo-claim.svg */

  --magenta-50:  #F89BFC;
  --magenta-100: #EF72F8;
  --magenta-200: #DA4FED;
  --magenta-300: #AE3FBB;

  --amber-50:    #F7DE61;
  --amber-100:   #ECBF42;
  --amber-200:   #D6972B;
  --amber-300:   #AA7822;

  --olive-50:    #E9EE00;
  --olive-100:   #D1DA00;
  --olive-200:   #ADB900;
  --olive-300:   #8A9300;

  --black:       #000000;
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; line-height: 1; }

/* ── BASE ───────────────────────────────────────────── */
body {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 350;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

h1 {
  font-family: var(--font);
  color: var(--heading);
  font-weight: 430;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: calc(4 * var(--u-xs))
}

h2 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-bottom: calc(2 * var(--u-xs))
}

h3 {
  color: var(--heading);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.7rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2rem); }
h3 { font-size: 1.125rem; }

p { line-height: 1.65; margin-bottom: var(--u-xs); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--heading); }

hr {
  border: none;
  background: var(--heading);
  height: 0px;
  width: var(--u);
  margin: var(--u-l) 0;
}

blockquote {
  border-left: 4px solid var(--heading);
  padding-left: calc(0.5 * var(--u));
  margin: var(--u-l) 0;


}

/* ── LAYOUT ─────────────────────────────────────────── */
.site {
  max-width: calc(var(--col) + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.wrap {
  max-width: var(--col);
  margin: 0 auto;
}

.section { padding: var(--u-xl) 0; }

/* .section + .section { border-top: 1px solid var(--border); } */

/* ── OVERLINE ────────────────────────────────────────── */
.overline {
  display: block;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom:  calc(0.6 * var(--u-xs));
}

/* ── NAV ─────────────────────────────────────────────── */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom:  calc(2 * var(--u-xs));
  padding: var(--u) 0;
}

.nav-brand { display: flex; flex-direction: column; }
.nav-logo { display: block; }
.logo-img { display: block; width: auto; }
.logo-img--header { height: 88px; }
.logo-img--footer { height: 40px; margin-bottom: 6px; }

.nav-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 0.35rem; margin-bottom: -6px; }
.nav-lang { font-size: 0.8125rem; color: var(--text-dim); }
.nav-cta { font-size: 0.8125rem; font-weight: 600; color: var(--heading); text-decoration: underline; text-underline-offset: 0.2em; }

/* ── FOOTER ─────────────────────────────────────────── */
.footer {
  margin-top: var(--u-xxl);
  padding: var(--u-l) 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--u);
}

.footer-brand { display: flex; flex-direction: column; gap: 0.2rem;}
.footer-wordmark { font-weight: 600; font-size: 1rem; color: var(--heading); }
.footer-claim { font-size: 1rem; color: var(--text-dim); }

.footer-links { display: flex; flex-wrap: wrap; gap: var(--u-xs) var(--u); }
.footer-links a { font-size: 0.8125rem; color: var(--text-dim); }
.footer-links a:hover { color: var(--heading); }

/* ── BUTTON ─────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--heading);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.35rem 0.8rem;
  border-radius: calc(5 * var(--radius));
  margin-left: -2px;

}

.btn-wrap { margin-top: var(--u); }

.btn-sub {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: 0.8125rem;
}

/* ── STATS ──────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--u-l); margin: var(--u-l) 0; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(8rem, 8vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-text { font-size: 1rem; line-height: 1.55; margin-bottom: 0.2rem; }
.stat-source { font-size: 0.8125rem; color: var(--neutral-100); margin-top: 0.4rem; }

.stat--1 .stat-number { color: var(--magenta-100); }
.stat--1 .stat-text   { color: var(--magenta-200); }
.stat--2 .stat-number { color: var(--olive-100); }
.stat--2 .stat-text   { color: var(--olive-200); }

/* ── FEATURES ───────────────────────────────────────── */
.features { margin-top: var(--u); }
.feature { padding: var(--u) 0; border-top: 1px solid var(--border); }
.feature:last-child { border-bottom: 1px solid var(--border); }
.feature-title { font-weight: 600; color: var(--heading); margin-bottom: 0.35rem; font-size: 1rem; }
.feature-text { font-size: 1rem; color: var(--text-dim); line-height: 1.6; }

/* ── FORMATS TABLE ──────────────────────────────────── */
.formats-table { width: 100%; border-collapse: collapse; margin: var(--u) 0; }
.formats-table td {
  padding: var(--u-xs) 0;
  font-size: 1rem;
  color: var(--text-dim);
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.formats-table td:first-child { font-weight: 600; color: var(--heading); width: 35%; padding-right: var(--u-xs); }
.formats-table td:last-child { text-align: right; color: var(--heading); white-space: nowrap; }
.formats-note { font-size: 1rem; color: var(--text-dim); margin-top: var(--u-xs); }

/* Preis-Subzeile: Desktop versteckt, Mobile sichtbar */
.formats-price-m {
  display: none;
}

@media (max-width: 480px) {
  .formats-table td { font-size: 0.875rem; padding: 0.4rem 0; }
  .formats-table td:first-child { width: 38%; }
  .formats-price-d { display: none; }
  .formats-price-m {
    display: block;
    font-weight: 400;
    font-size: 0.8125rem;
    color: var(--text-dim);
    margin-top: 0.15rem;
  }
  .formats-note { font-size: 0.875rem; }
}

/* ── STEPS ──────────────────────────────────────────── */
.steps { margin-top: var(--u); }
.step {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: var(--u);
  padding: var(--u) 0;
  border-top: 1px solid var(--border);
}
.step:last-child { border-bottom: 1px solid var(--border); }
.step-number { font-size: 1rem; color: var(--text-dim); padding-top: 0.1rem; }
.step-title { font-weight: 600; color: var(--heading); margin-bottom: 0.35rem; font-size: 1rem; }
.step-text { font-size: 1rem; color: var(--text-dim); line-height: 1.6; }

/* ── GUIDES (Homepage) ──────────────────────────────── */
.guide-carousel {
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;  /* älteres iOS */
  scrollbar-width: none;              /* Firefox */
  width: 100%;
  margin-top: var(--u);
}
.guide-carousel::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.guide-list {
  display: flex;
  margin-top: var(--u-xs);
  gap: var(--u-xs);
  align-items: stretch;
}

.guide-card {
  background: var(--neutral-300);
  color: #fff;
  padding: var(--u) var(--u);
  border-radius: var(--radius);
  flex: 0 0 calc((var(--carousel-w) - var(--u) * 2 - var(--u-xs)) / 2.07);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

@media (max-width: 600px) {
  .guide-card { flex: 0 0 calc(var(--carousel-w) - var(--u) * 3); }
  .guide-bio  { display: none; }
}

.guide-name { font-size: 1.75rem; font-weight: 400; letter-spacing: -0.01em; line-height: 1.15; margin-bottom: 0.5rem; color: #fff; }
.guide-role { font-size: 0.8125rem; line-height: 1.2; color: rgba(255,255,255,0.5); margin-bottom: var(--u); }
.guide-quote {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  border-left: 2px solid rgba(255,255,255,0.5);
  padding-left: calc(0.5 * var(--u));
  margin-bottom: var(--u);
  font-style: italic;
  line-height: 1.65;
}
.guide-bio { font-size: 1rem; color: rgba(255,255,255,0.5); line-height: 1.65; margin-bottom: var(--u); }
.guide-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: var(--u); }
.guide-tag {
  font-size: 0.8125rem;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.6);
}
.guide-actions {
  display: flex;
  gap: var(--u-xs);
  padding-top: var(--u-xs);
  border-top: 1px solid rgba(255,255,255,0.3);
  margin-top: auto;
}
.guide-actions a { font-size: 0.875rem; color: #fff; text-decoration: none; text-underline-offset: 0.2em; }

/* Karussell-Navigation */
.guide-nav {
  display: flex;
  gap: calc(0.5 * var(--u-xs));
/*   justify-content: flex-end; */
  margin-top: var(--u-xs);
}
@media (max-width: 400px) {
  .guide-nav { display: none; }
}
.guide-nav-btn {
  background: none;
  border: none;
  border-radius: var(--radius);
  width: 1.2rem;
  height: 1.2rem;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.guide-nav-btn:hover { background: var(--light); }

/* CTA-Kachel */
.guide-card--cta {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}
.guide-card--cta .guide-name { color: var(--neutral-300); font-weight: 400; margin-bottom: 1rem; }
.guide-card--cta .guide-role { font-size: 1rem; color: var(--text-dim); }
.guide-cta-text { font-size: 1rem; line-height: 1.65; color: var(--text); margin-bottom: var(--u); flex: 1; }
.guide-card--cta .guide-actions { border-top-color: var(--border); }
.guide-card--cta .guide-actions a { color: var(--neutral-300); }

/* ── B2B ────────────────────────────────────────────── */
.b2b-list { margin: var(--u) 0; display: flex; flex-direction: column; gap: var(--u-xs); }
.b2b-item {
  font-size: 1rem;
  color: var(--text-dim);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.55;
}
.b2b-item::before { content: '→'; position: absolute; left: 0; color: #ccc; }

/* ── GUIDE PROFILE PAGE ─────────────────────────────── */
.profile-header {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: var(--u-l);
  align-items: start;
  margin-bottom: var(--u-xs);
}

.profile-portrait { position: relative; margin-top: 0.7rem; }
.portrait-img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: var(--radius);
}

.portrait-placeholder {
  width: 100%;
  aspect-ratio: 5 / 6;
  background: var(--light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-placeholder span {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--border);
  line-height: 1;
  user-select: none;
}

.profile-name { margin-bottom: 0.25rem; }
.profile-role { font-size: 1rem; color: var(--text-dim); margin-top: 0.25rem; }
.profile-location { font-size: 0.875rem; color: var(--text-dim); margin-top: 0.2rem; }
.profile-quote {
  margin: var(--u) 0;
  font-size: 1rem;
  border-left: 4px solid var(--heading);
  padding-left: calc(0.5 * var(--u));
  color: var(--text-dim);
  line-height: 1.6;
  font-style: italic;
}
.profile-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: var(--u) 0; }

@media (max-width: 540px) {
  .profile-header {
    grid-template-columns: 1fr;
  }
  .portrait-img {
    aspect-ratio: 1 / 1;
    max-width: 100%;
  }
}
.profile-tag {
  font-size: 0.8125rem;
  background: var(--light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
}

.focus-list { margin-top: var(--u-xs); }
.focus-item {
  display: grid;
  grid-template-columns: 2rem 1fr;
  padding: 0.6rem 0;
  border-top: 1px solid var(--border);
  font-size: 1rem;
}
.focus-item:last-child { border-bottom: 1px solid var(--border); }
.focus-number { color: var(--text-dim); font-size: 0.8125rem; padding-top: 0.1rem; }
.focus-title { color: var(--heading); font-weight: 500; }

.qual-list { margin-top: var(--u-xs); }
.qual-item {
  font-size: 1rem;
  color: var(--text-dim);
  padding: 0.4rem 0;
  border-top: 1px solid var(--border);
  line-height: 1.5;
}
.qual-item:last-child { border-bottom: 1px solid var(--border); }

.profile-links { display: flex; gap: var(--u); margin-top: var(--u-xs); }
.profile-links a { font-size: 0.875rem; color: var(--text-dim); text-decoration: underline; text-underline-offset: 0.2em; }


/* ── CTA BOX ────────────────────────────────────────── */
.cta-box {
  background: var(--light);
  padding: var(--u-l) var(--u);
  border-radius: calc(4 * var(--radius));
  /* border-radius: var(--radius); */
  margin-top: var(--u-l);
}
.cta-box h2 { margin-bottom: var(--u-xs); }
.cta-box p { color: var(--text-dim); margin-bottom: var(--u); }


/* ── DEFAULT PAGE ───────────────────────────────────── */
.text-page h2 { font-size: 1.125rem; margin-top: var(--u-l); margin-bottom: var(--u-xs); }
.text-page h2:first-child { margin-top: 0; }
.text-page p { color: var(--text-dim); font-size: 0.9375rem; }


/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; gap: var(--u); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
