/* ═══════════════════════════════════════════════
   brandaktuell.eu — Shared Stylesheet
   CI: #DC5132 Rot | #65AFDF Blau | #1E2830 Dunkel
   Keine externen Abhängigkeiten
═══════════════════════════════════════════════ */

@font-face{font-family:'Carlito';src:url('Carlito-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:'Carlito';src:url('Carlito-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:'Carlito';src:url('Carlito-Italic.woff2') format('woff2');font-weight:400;font-style:italic;font-display:swap;}
@font-face{font-family:'Carlito';src:url('Carlito-BoldItalic.woff2') format('woff2');font-weight:700;font-style:italic;font-display:swap;}

:root {
  --rot:        #DC5132;
  --rot-dark:   #b83e22;
  --blau:       #65AFDF;
  --dunkel:     #1E2830;
  --dunkel-2:   #253140;
  --grau:       #4a4a4a;
  --grau-hell:  #f4f4f2;
  --rand:       #e2deda;
  --weiss:      #ffffff;
  --font:       'Carlito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --serif:      'Carlito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --max:        1140px;
  --pad-x:      clamp(1.25rem, 5vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--grau); background: var(--weiss); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAVIGATION ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  background: var(--dunkel);
  border-bottom: 3px solid var(--rot);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--weiss);
  display: flex; align-items: baseline; gap: 0;
}
.logo-brand { color: var(--rot); }
.logo-rest  { color: rgba(255,255,255,.8); font-weight: 300; }
.logo-eu    { color: var(--blau); font-size: .8em; font-weight: 400; margin-left: 1px; }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .76rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--weiss); }
.nav-links a.active { border-bottom: 2px solid var(--rot); padding-bottom: 2px; }

.nav-cta {
  padding: .45rem 1.1rem;
  background: var(--rot) !important; color: var(--weiss) !important;
  border: none; border-bottom: none !important;
  transition: background .2s;
}
.nav-cta:hover { background: var(--rot-dark) !important; }

#nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 4px;
}
#nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--weiss); margin: 5px 0;
  transition: all .3s;
}

/* ── PAGE SHELL ── */
.page-top { height: 62px; } /* nav spacer */

/* ── PAGE HERO (Unterseiten) ── */
.page-hero {
  background: var(--dunkel);
  padding: 3.5rem var(--pad-x) 3rem;
  border-left: 4px solid var(--rot);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--dunkel-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--dunkel-2) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .45; pointer-events: none;
}
.page-hero-inner {
  max-width: var(--max); margin: 0 auto;
  position: relative; z-index: 1;
}
.page-hero-label {
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--rot); font-weight: 600;
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: .7rem;
}
.page-hero-label::before {
  content: ''; display: block;
  width: 24px; height: 2px; background: var(--rot);
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400; line-height: 1.15;
  color: var(--weiss);
}
.page-hero h1 em { font-style: normal; color: var(--rot); }
.page-hero p {
  font-size: .9rem; line-height: 1.8;
  color: rgba(255,255,255,.55);
  max-width: 620px; margin-top: .9rem;
  font-weight: 300;
}

/* ── SIDEBAR LAYOUT ── */
.sidebar-wrap {
  max-width: var(--max); margin: 0 auto;
  padding: 3rem var(--pad-x);
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Sticky Sidebar */
.sidebar {
  position: sticky; top: 82px;
}
.sidebar-title {
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--rot); font-weight: 700;
  margin-bottom: .9rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--rot);
}
.sidebar-nav { list-style: none; }
.sidebar-nav li a {
  display: block;
  font-size: .8rem; font-weight: 400;
  color: var(--grau);
  padding: .55rem .75rem;
  border-left: 2px solid var(--rand);
  margin-bottom: .1rem;
  transition: color .2s, border-color .2s, background .2s;
  line-height: 1.35;
}
.sidebar-nav li a:hover {
  color: var(--dunkel); border-color: var(--rot);
  background: #fdf9f8;
}
.sidebar-nav li a.active {
  color: var(--rot); border-color: var(--rot);
  font-weight: 600; background: #fdf9f8;
}
.sidebar-sep {
  height: 1px; background: var(--rand);
  margin: 1rem 0;
}
.sidebar-cta {
  display: block; margin-top: 1.5rem;
  padding: .7rem 1rem;
  background: var(--rot); color: var(--weiss);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  text-align: center;
  transition: background .2s;
}
.sidebar-cta:hover { background: var(--rot-dark); }

/* ── CONTENT AREA ── */
.content-section {
  padding-top: 2.5rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--rand);
}
.content-section:first-child { padding-top: 0; }
.content-section:last-child  { border-bottom: none; }

.cs-label {
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--rot); font-weight: 600;
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: .6rem;
}
.cs-label::before {
  content: ''; display: block; width: 16px; height: 2px; background: var(--rot);
}
.cs-h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  font-weight: 400; line-height: 1.2;
  color: var(--dunkel); margin-bottom: 1rem;
}
.cs-h2 em { font-style: normal; color: var(--rot); }
.cs-p {
  font-size: .88rem; line-height: 1.85;
  color: var(--grau); font-weight: 300;
  margin-bottom: .9rem; max-width: 680px;
}
.cs-p strong { font-weight: 600; color: var(--dunkel); }

/* Info-Box */
.info-box {
  background: var(--grau-hell);
  border-left: 3px solid var(--rot);
  padding: 1.2rem 1.4rem;
  margin: 1.4rem 0;
}
.info-box p {
  font-size: .82rem; line-height: 1.75;
  color: var(--grau); font-weight: 300;
}
.info-box strong { color: var(--dunkel); font-weight: 600; }

/* Norm-Tag-Leiste */
.norm-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.norm-tag {
  font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .25rem .65rem;
  background: rgba(101,175,223,.12);
  color: var(--blau); font-weight: 600;
  border: 1px solid rgba(101,175,223,.3);
}

/* Detail-Liste */
.detail-list { list-style: none; margin-top: .8rem; }
.detail-list li {
  font-size: .85rem; line-height: 1.6;
  color: var(--grau); font-weight: 300;
  padding: .45rem 0;
  border-bottom: 1px solid var(--rand);
  display: flex; gap: .7rem; align-items: flex-start;
}
.detail-list li:last-child { border-bottom: none; }
.detail-list li::before {
  content: '›'; color: var(--rot); font-weight: 700;
  flex-shrink: 0; line-height: 1.6;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: .8rem 1.8rem;
  font-size: .77rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  border: 2px solid var(--rot);
  transition: background .2s, color .2s, transform .15s;
}
.btn-red   { background: var(--rot); color: var(--weiss); }
.btn-red:hover { background: var(--rot-dark); border-color: var(--rot-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--rot); }
.btn-ghost:hover { background: var(--rot); color: var(--weiss); }

/* ── FOOTER ── */
footer {
  background: #131a20;
  padding: 2rem var(--pad-x);
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo {
  font-size: .95rem; font-weight: 700; color: rgba(255,255,255,.45);
}
.footer-logo .rot { color: var(--rot); }
.footer-copy {
  font-size: .68rem; color: rgba(255,255,255,.22); text-align: center;
}
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a {
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.28);
  transition: color .2s;
}
.footer-links a:hover { color: rgba(255,255,255,.65); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.r2 { transition-delay: .12s; }
.r3 { transition-delay: .22s; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  #nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: fixed; top: 62px; left: 0; right: 0;
    background: var(--dunkel);
    border-bottom: 2px solid var(--rot);
    flex-direction: column; align-items: flex-start;
    padding: 1rem var(--pad-x) 1.5rem;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; padding: .65rem 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: .84rem;
  }
  .nav-cta { margin-top: .5rem; text-align: center; }

  .sidebar-wrap { grid-template-columns: 1fr; gap: 0; }
  .sidebar {
    position: static;
    background: var(--grau-hell);
    padding: 1.2rem 1.25rem;
    margin-bottom: 1.5rem;
  }
  .sidebar-nav li a { padding: .5rem .6rem; }
}
