/* ============================================================
   AXENDIS SE – Global Stylesheet v4
   CI: #184183 Navy | #3f70a6 Blue | #be1622 Red
   Fonts: Fraunces (display) + Plus Jakarta Sans (body)
   ============================================================ */

/* Self-hosted fonts – kein Google Fonts Tracking */
@import url('fonts/fonts.css');

:root {
  --navy:        #184183;
  --navy-dark:   #0e2a5c;
  --navy-mid:    #1e4fa0;
  --blue:        #3f70a6;
  --blue-light:  #6a96c4;
  --red:         #be1622;
  --red-light:   #d93040;
  --white:       #ffffff;
  --off-white:   #f7f8fc;
  --light-grey:  #eef0f7;
  --text:        #111827;
  --text-mid:    #374151;
  --text-muted:  #6b7280;
  --border:      rgba(24,65,131,0.1);
  --border-mid:  rgba(24,65,131,0.18);
  --shadow-sm:   0 1px 4px rgba(24,65,131,0.07);
  --shadow-md:   0 6px 24px rgba(24,65,131,0.10);
  --shadow-lg:   0 16px 56px rgba(24,65,131,0.14);
  --radius:      6px;
  --radius-lg:   12px;
  --font-display:'Outfit', sans-serif;
  --font-body:   'Inter', sans-serif;
}

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

body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--red); }
img { max-width: 100%; display: block; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; color: var(--navy); }
h4, h5, h6 { font-family: var(--font-body); color: var(--navy); }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 600; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 600; }
h4 { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--red); font-family: var(--font-body); }
p  { color: var(--text-muted); line-height: 1.85; }
.lead { font-family: var(--font-body); font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.75; color: var(--text-mid); font-weight: 400; }

/* Dark section text */
.on-dark h1,.on-dark h2,.on-dark h3 { color: var(--white); }
.on-dark h4 { color: rgba(255,255,255,0.5); }
.on-dark p  { color: rgba(255,255,255,0.68); }
.on-dark .lead { color: rgba(255,255,255,0.88); }
.on-dark span,.on-dark li { color: rgba(255,255,255,0.75); }
.on-dark strong { color: var(--white); }

/* ---- LAYOUT ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.section         { padding: 9rem 0; }
.section--sm     { padding: 4rem 0; }
.section--white  { background: var(--white); }
.section--off    { background: var(--off-white); }
.section--light  { background: var(--light-grey); }
.section--navy   { background: var(--navy); }
.section--navy-dark { background: var(--navy-dark); }
.section--navy p,.section--navy-dark p { color: rgba(255,255,255,0.68); }
.section--navy h2,.section--navy h3 { color: var(--white); }

/* ---- ACCENT LINE ---- */
.accent-line { width: 36px; height: 2px; background: var(--red); margin-bottom: 1.25rem; border-radius: 1px; }
.accent-line--center { margin-left: auto; margin-right: auto; }

/* ---- SECTION LABEL ---- */
.section-label {
  font-family: var(--font-body); font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--red);
  margin-bottom: 0.5rem; display: block;
}
.on-dark .section-label { color: rgba(255,255,255,0.4); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; border-radius: 100px;
  transition: all 0.25s; cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(24,65,131,0.28); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-light); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); border-radius: 100px; }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.5); border-radius: 100px; }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav--dark {
  background: rgba(14, 42, 92, 0.95);
  backdrop-filter: blur(8px);
}
.nav.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1360px; margin: 0 auto; padding: 0 2.5rem; height: 76px;
  transition: height 0.3s;
}
.nav.scrolled .nav-inner { height: 64px; }

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 28px; filter: brightness(0) invert(1); transition: filter 0.4s; }
.nav.scrolled .nav-logo img { filter: none; }

.nav-links { display: flex; align-items: center; }
.nav-links > a, .nav-dropdown > a {
  color: rgba(255,255,255,0.9); font-size: 0.73rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.55rem 0.9rem;
  display: block; transition: color 0.2s; position: relative;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.nav-links > a:hover, .nav-dropdown > a:hover { color: var(--white); }
.nav.scrolled .nav-links > a, .nav.scrolled .nav-dropdown > a { color: var(--text-muted); text-shadow: none; }
.nav.scrolled .nav-links > a:hover, .nav.scrolled .nav-dropdown > a:hover { color: var(--navy); }
.nav-links > a.active::after, .nav-dropdown > a.active::after {
  content: ''; position: absolute; bottom: 0; left: 0.9rem; right: 0.9rem;
  height: 2px; background: var(--red); border-radius: 1px;
}
.nav.scrolled .nav-links > a.active, .nav.scrolled .nav-dropdown > a.active { color: var(--navy); }

.nav-dropdown { position: relative; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu {
  position: absolute; top: calc(100% + 4px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-top: 2px solid var(--red); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  min-width: 230px; padding: 0.6rem 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.22s; box-shadow: var(--shadow-md);
}
.dropdown-menu a { display: block; padding: 0.6rem 1.25rem; color: var(--text-muted) !important; font-size: 0.82rem; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important; text-shadow: none !important; }
.dropdown-menu a:hover { color: var(--navy) !important; background: var(--off-white); }
.dropdown-menu a::after { display: none !important; }

.nav-lang { display: flex; gap: 0.3rem; }
.nav-lang button {
  background: none; border: 1px solid rgba(255,255,255,0.4); color: var(--white);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; padding: 0.22rem 0.55rem;
  border-radius: 3px; cursor: pointer; transition: all 0.2s; font-family: var(--font-body);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.nav-lang button.active, .nav-lang button:hover { border-color: var(--white); background: rgba(255,255,255,0.15); }
.nav.scrolled .nav-lang button { border-color: var(--border-mid); color: var(--text-muted); text-shadow: none; }
.nav.scrolled .nav-lang button.active, .nav.scrolled .nav-lang button:hover { border-color: var(--navy); color: var(--navy); background: none; }
.nav-right { display: flex; align-items: center; gap: 1.25rem; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: all 0.3s; }
.nav.scrolled .nav-burger span { background: var(--navy); }

/* ============================================================
   HERO – Vollbild, alles zentriert
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('dreischeiben01.jpg');
  background-size: cover; background-position: center 30%;
  animation: heroZoom 16s ease-in-out infinite alternate;
  filter: grayscale(40%) hue-rotate(12deg) contrast(1.15) brightness(0.92);
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.05); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(11,30,70,0.72) 0%, rgba(14,42,92,0.62) 60%, rgba(11,30,70,0.8) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 76px; max-width: 820px; margin: 0 auto; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: rgba(255,255,255,0.7); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 2rem;
}
.hero-tag::before, .hero-tag::after { content:''; display:block; width:20px; height:1px; background:var(--red); }
.hero h1 { color: var(--white); margin-bottom: 1.5rem; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.hero h1 em { font-style: normal; font-weight: 300; color: #9ec4e8; letter-spacing: -0.01em; }
.hero-sub { font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 54ch; margin: 0 auto 3rem; line-height: 1.85; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* Scroll hint */
.scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.5); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer;
  animation: fadeInUp 1s ease 1.5s both;
}
.scroll-hint-arrow {
  width: 30px; height: 30px; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: bounce 2.2s ease-in-out infinite;
}
.scroll-hint-arrow svg { width: 12px; height: 12px; fill: none; stroke: rgba(255,255,255,0.65); stroke-width: 2; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(7px)} }
@keyframes fadeInUp { from{opacity:0;transform:translate(-50%,10px)} to{opacity:1;transform:translate(-50%,0)} }

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 8rem 0 4rem; position: relative; overflow: hidden;
  background-image: url('dreischeiben01.jpg');
  background-size: cover; background-position: center 30%;
  background-attachment: fixed;
  min-height: 40vh;
  filter: grayscale(40%) hue-rotate(12deg) contrast(1.15) brightness(0.92);
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background: linear-gradient(to bottom, rgba(11,30,70,0.72) 0%, rgba(14,42,92,0.62) 60%, rgba(11,30,70,0.8) 100%);
  z-index: 0;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: rgba(255,255,255,0.8); }
.page-hero .section-label { color: rgba(255,255,255,0.4); }

/* Breadcrumb */
.breadcrumb { display:flex; gap:0.5rem; align-items:center; margin-bottom:1.5rem; flex-wrap:wrap; }
.breadcrumb a { font-size:0.75rem; color:rgba(255,255,255,0.45); }
.breadcrumb a:hover { color:rgba(255,255,255,0.8); }
.breadcrumb span { font-size:0.75rem; color:rgba(255,255,255,0.78); }
.breadcrumb .sep { color:var(--red); }

/* ============================================================
   CTA SECTION – Call-to-Action
   ============================================================ */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  z-index: 0;
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
}
.cta-content {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.cta-icon {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 16px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2.5rem;
}
.cta-text h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}
.cta-text p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}
.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(63,112,166,0.3);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* ============================================================
   ARTICLE CONTENT – Blog & News Styling
   ============================================================ */
.article-content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-mid);
}
.article-content p {
  margin-bottom: 1.5rem;
  color: var(--text-mid);
}
.article-content p:last-child {
  margin-bottom: 0;
}
.article-content a {
  color: var(--navy);
  text-decoration: underline;
}
.article-content a:hover {
  color: var(--red);
}
.article-content h3 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.article-content strong {
  font-weight: 600;
  color: var(--navy);
}
.article-content ul, .article-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
  color: var(--text-mid);
}
.article-content li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

/* ============================================================
   ICONS – Weiß auf Navy, modern
   ============================================================ */
.icon-box {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(24,65,131,0.25);
  transition: transform 0.3s, box-shadow 0.3s;
  color: var(--white);
}
.icon-box svg { color: var(--white) !important; fill: var(--white) !important; font-size: 1.3rem; filter: none !important; }
.icon-box img {
  width: 26px; height: 26px;
  /* Macht PNG/SVG weiß per CSS-Filter */
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}
.card:hover .icon-box { transform: scale(1.08); box-shadow: 0 8px 24px rgba(24,65,131,0.3); }
/* Icon-Box Varianten */
.icon-box--red   { background: var(--red); }
.icon-box--blue  { background: var(--blue); }
.icon-box--light { background: var(--light-grey); }
.icon-box--light img { filter: brightness(0) saturate(100%) invert(18%) sepia(62%) saturate(600%) hue-rotate(195deg) brightness(95%) contrast(95%); }

/* Kleine Icons (inline) */
.icon-sm {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--navy); display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--white) !important; font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================================
   CARDS – Modern mit Animation
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease, border-color 0.3s;
  position: relative; overflow: hidden;
}
.card::before {
  content:''; position:absolute; bottom:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

/* Card icon – jetzt über .icon-box gesteuert */
.card-icon { margin-bottom: 1.25rem; }
.card-title { margin-bottom: 0.5rem; color: var(--navy); font-size: 1rem; font-family: var(--font-display); font-weight: 600; }
.card-text  { font-size: 0.85rem; line-height: 1.8; color: var(--text-muted); }

/* Cards auf dunklem Hintergrund */
.section--navy .card, .section--navy-dark .card {
  background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.1);
}
.section--navy .card:hover { background: rgba(255,255,255,0.12); border-color: transparent; box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.section--navy .card-title { color: var(--white); }
.section--navy .card-text  { color: rgba(255,255,255,0.62); }
.section--navy .card .icon-box { background: rgba(255,255,255,0.15); }
.section--navy .card::before { background: linear-gradient(90deg, var(--red), var(--blue-light)); }

/* ---- GRIDS ---- */
.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:2rem; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; }
.grid-4 { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1.5rem; }

/* ============================================================
   STATS
   ============================================================ */
.stat { text-align:center; padding:2rem 1.5rem; }
.stat-num { font-family:var(--font-display); font-size:clamp(2.2rem,4vw,3rem); font-weight:500; color:var(--navy); line-height:1; display:block; }
.stat-label { font-size:0.68rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--text-muted); margin-top:0.5rem; display:block; }
.section--navy .stat-num  { color:var(--white); }
.section--navy .stat-label { color:rgba(255,255,255,0.45); }

/* ============================================================
   TEXTBOXEN – Modern mit Animation
   ============================================================ */
.text-box {
  padding: 2rem 2.5rem; border-radius: var(--radius-lg);
  background: var(--off-white); border-left: 3px solid var(--navy);
  transition: all 0.3s; position: relative;
  overflow: hidden;
}
.text-box:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateX(4px); }

.highlight-box {
  padding: 2rem; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(24,65,131,0.05) 0%, rgba(63,112,166,0.08) 100%);
  border: 1px solid rgba(24,65,131,0.12);
  transition: all 0.3s;
}
.highlight-box:hover { box-shadow: var(--shadow-md); }

/* Animierte Nummerbox */
.step-box {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 1.5rem; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--border);
  transition: all 0.3s;
}
.step-box:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step-num {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
}

/* ============================================================
   TABS
   ============================================================ */
.tabs { display:flex; border-bottom:1px solid var(--border); margin-bottom:3rem; overflow-x:auto; scrollbar-width:none; }
.tabs::-webkit-scrollbar { display:none; }
.tab-btn {
  background:none; border:none; color:var(--text-muted);
  font-family:var(--font-body); font-size:0.72rem; font-weight:600;
  padding:0.9rem 1.4rem; cursor:pointer; position:relative;
  transition:color 0.2s; letter-spacing:0.08em; text-transform:uppercase; white-space:nowrap;
}
.tab-btn.active,.tab-btn:hover { color:var(--navy); }
.tab-btn.active::after { content:''; position:absolute; bottom:-1px; left:0; right:0; height:2px; background:var(--red); }
.tab-panel { display:none; }
.tab-panel.active { display:block; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position:relative; padding-left:2.5rem; }
.timeline::before { content:''; position:absolute; left:0; top:0; bottom:0; width:1px; background:linear-gradient(to bottom, var(--red), var(--border)); }
.timeline-item { position:relative; padding-bottom:3rem; }
.timeline-item::before { content:''; position:absolute; left:-2.45rem; top:0.5rem; width:8px; height:8px; border-radius:50%; background:var(--red); box-shadow:0 0 0 4px rgba(190,22,34,0.12); margin-left:-3px; }
.timeline-year { color:var(--red); font-size:0.68rem; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; display:block; margin-bottom:0.2rem; }
.timeline-title { font-family:var(--font-display); color:var(--navy); font-size:1rem; font-weight:600; display:block; margin-bottom:0.4rem; }
.timeline-text { font-size:0.85rem; color:var(--text-muted); }

/* Timeline Vertikal (Historie) - Desktop */
@media (min-width: 769px) {
  .timeline-vertical {
    position:relative;
    padding:2rem 0;
  }

  .timeline-vertical::before {
    content:'';
    position:absolute;
    left:50%;
    top:0;
    bottom:0;
    width:2px;
    background:linear-gradient(to bottom, var(--red), var(--border));
    transform:translateX(-50%);
  }

  .timeline-item-v {
    position:relative;
    margin-bottom:4rem;
    display:grid;
    grid-template-columns:1fr 80px 1fr;
    gap:2rem;
    align-items:start;
  }

  .timeline-left-side {
    text-align:right;
  }

  .timeline-right-side {
    grid-template-columns:1fr 80px 1fr;
  }

  .timeline-right-side .timeline-center {
    order:2;
  }

  .timeline-right-side .timeline-card {
    order:3;
    text-align:left;
  }

  .timeline-center {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:0.5rem;
  }

  .timeline-dot {
    width:16px;
    height:16px;
    border-radius:50%;
    background:var(--red);
    box-shadow:0 0 0 4px rgba(190,22,34,0.12);
    z-index:2;
  }

  .timeline-year {
    font-size:1.5rem;
    font-weight:700;
    color:var(--red);
    white-space:nowrap;
  }
}

/* Timeline - Universal Styles */
.timeline-card {
  background:var(--off-white);
  border-radius:var(--radius-lg);
  padding:1.5rem;
  border-left:4px solid var(--red);
}

.timeline-tag {
  font-size:0.7rem;
  font-weight:700;
  color:var(--red);
  text-transform:uppercase;
  letter-spacing:0.08em;
  margin-bottom:0.5rem;
}

.timeline-card h3 {
  color:var(--navy);
  font-size:1rem;
  margin-bottom:0.75rem;
}

.timeline-card p {
  color:var(--text-muted);
  font-size:0.9rem;
  line-height:1.6;
}

/* ============================================================
   FORM
   ============================================================ */
.form-group { margin-bottom:1.5rem; }
.form-label { display:block; font-size:0.68rem; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--text); margin-bottom:0.5rem; }
.form-input,.form-select,.form-textarea { width:100%; background:var(--off-white); border:1.5px solid var(--border); color:var(--text); font-family:var(--font-body); font-size:0.9rem; padding:0.85rem 1.1rem; border-radius:var(--radius-lg); transition:all 0.2s; outline:none; }
.form-input:focus,.form-select:focus,.form-textarea:focus { border-color:var(--navy); background:var(--white); box-shadow:0 0 0 4px rgba(24,65,131,0.07); }
.form-textarea { resize:vertical; min-height:140px; }
.form-input::placeholder,.form-textarea::placeholder { color:rgba(107,114,128,0.6); }

/* ============================================================
   DOWNLOAD
   ============================================================ */
.download-item { display:flex; justify-content:space-between; align-items:center; padding:1.1rem 1.5rem; border:1px solid var(--border); border-radius:var(--radius-lg); background:var(--white); margin-bottom:0.6rem; transition:all 0.2s; }
.download-item:hover { border-color:var(--blue); background:var(--off-white); box-shadow:var(--shadow-sm); }
.download-info { display:flex; align-items:center; gap:1rem; }
.download-icon { color:var(--navy); font-size:1rem; }
.download-name { color:var(--text); font-size:0.88rem; font-weight:500; }
.download-meta { font-size:0.72rem; color:var(--text-muted); }

/* ============================================================
   ACCORDION / FAQ
   ============================================================ */
.accordion-item { border-bottom:1px solid var(--border); }
.accordion-trigger { width:100%; display:flex; justify-content:space-between; align-items:center; background:none; border:none; color:var(--text); font-family:var(--font-body); font-size:0.92rem; font-weight:500; padding:1.4rem 0; cursor:pointer; text-align:left; transition:color 0.2s; }
.accordion-trigger:hover { color:var(--navy); }
.accordion-icon { color:var(--red); font-size:1.2rem; transition:transform 0.3s; flex-shrink:0; margin-left:1rem; }
.accordion-item.open .accordion-icon { transform:rotate(45deg); }
.accordion-body { overflow:hidden; max-height:0; transition:max-height 0.35s ease; }
.accordion-body p { padding-bottom:1.5rem; font-size:0.88rem; }

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; transition:all 0.3s; }
.news-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--blue); }
.news-card-img { height:190px; background:var(--light-grey); display:flex; align-items:center; justify-content:center; color:var(--blue); font-size:2rem; }
.news-card-body { padding:1.5rem; }
.news-card-cat { font-size:0.63rem; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:var(--red); margin-bottom:0.5rem; }
.news-card-title { color:var(--navy); font-family:var(--font-display); font-size:1rem; font-weight:600; margin-bottom:0.5rem; line-height:1.35; }
.news-card-date { font-size:0.72rem; color:var(--text-muted); }

/* ============================================================
   BADGE
   ============================================================ */
.badge { display:inline-block; padding:0.2rem 0.7rem; border-radius:100px; font-size:0.65rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; }
.badge-navy { background:rgba(24,65,131,0.08); color:var(--navy); }
.badge-red  { background:rgba(190,22,34,0.08); color:var(--red); }
.badge-grey { background:var(--light-grey); color:var(--text-muted); border:1px solid var(--border); }

/* ============================================================
   FADE-UP ANIMATION
   ============================================================ */
.fade-up { opacity:0; transform:translateY(28px); transition:opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity:1; transform:translateY(0); }

/* Staggered animation für Children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }
.stagger > *:nth-child(6) { transition-delay: 0.5s; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy-dark);
  border-top: 2px solid var(--red);
  padding: 5.5rem 0 2rem;
}
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:3rem; margin-bottom:4rem; }
.footer-logo { margin-bottom:1.25rem; }
.footer-logo img { height:28px; filter:brightness(0) invert(1); }
.footer-desc { font-size:0.82rem; color:rgba(255,255,255,0.42); line-height:1.8; margin-bottom:1.5rem; }
.footer-col h5 { color:rgba(255,255,255,0.5); font-size:0.63rem; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; margin-bottom:1.25rem; font-family:var(--font-body); }
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:0.6rem; }
.footer-col ul li a { color:rgba(255,255,255,0.4); font-size:0.83rem; transition:all 0.2s; }
.footer-col ul li a:hover { color:var(--white); padding-left:4px; }

/* LinkedIn Button im Footer */
.footer-linkedin {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: rgba(255,255,255,0.55); font-size: 0.78rem; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 100px;
  padding: 0.5rem 1.1rem; transition: all 0.25s;
  text-decoration: none;
}
.footer-linkedin:hover { color: var(--white); border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.07); }
.footer-linkedin svg { width:16px; height:16px; fill:currentColor; }

.footer-bottom { padding-top:2rem; border-top:1px solid rgba(255,255,255,0.08); display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; }
.footer-bottom p { font-size:0.75rem; color:rgba(255,255,255,0.3); }
.footer-bottom-links { display:flex; gap:1.5rem; flex-wrap:wrap; }
.footer-bottom-links a { font-size:0.75rem; color:rgba(255,255,255,0.3); }
.footer-bottom-links a:hover { color:rgba(255,255,255,0.7); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1024px) {
  .grid-4 { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:768px) {
  .grid-2,.grid-3 { grid-template-columns:1fr; }

  /* Mobile Navigation - komplett neu */
  .nav-links { display:none !important; }
  .nav-lang { display:none !important; }

  .nav-links.open {
    display:flex !important;
    flex-direction:column !important;
    position:fixed;
    top:76px;
    left:0;
    right:0;
    max-height:calc(100vh - 76px) !important;
    background:var(--white);
    padding:1.5rem 2rem;
    z-index:998;
    overflow-y:auto;
  }

  /* Mobile: Zeige alle Links als flache Liste */
  .nav-links.open > a,
  .nav-links.open .nav-dropdown {
    display:block !important;
    width:100% !important;
  }

  .nav-links.open > a,
  .nav-links.open .nav-dropdown > a {
    display:block !important;
    color:var(--text-muted) !important;
    font-size:0.95rem !important;
    padding:1rem 0 !important;
    text-shadow:none !important;
    border-bottom:1px solid var(--light-grey) !important;
    text-decoration:none !important;
    background:none !important;
    width:100% !important;
  }

  .nav-links.open > a:hover,
  .nav-links.open .nav-dropdown > a:hover {
    color:var(--navy) !important;
    background:none !important;
  }

  /* Mobile: Dropdowns versteckt bis .mobile-open */
  .nav-links.open .dropdown-menu {
    display:none !important;
    position:static !important;
  }

  /* Mobile: Dropdown geöffnet (accordion-style) */
  .nav-links.open .nav-dropdown.mobile-open .dropdown-menu {
    display:block !important;
    position:static !important;
    background:var(--off-white) !important;
    padding:0.5rem 0 0.5rem 1.5rem !important;
    box-shadow:none !important;
    border:none !important;
    margin:0 !important;
  }

  .nav-links.open .nav-dropdown.mobile-open .dropdown-menu a {
    display:block !important;
    padding:0.75rem 0 !important;
    border-bottom:1px solid var(--light-grey) !important;
    color:var(--text-muted) !important;
    font-size:0.9rem !important;
  }

  .nav-burger { display:flex !important; }

  /* Mobile: Buttons unified & centered */
  .btn {
    width:100% !important;
    display:block !important;
    text-align:center !important;
    margin:0.75rem 0 !important;
  }

  .hero-cta {
    flex-direction:column;
    align-items:center;
    gap:1rem;
  }

  .hero-cta .btn {
    min-width:200px;
  }

  /* Mobile: Footer single column */
  .footer-grid {
    grid-template-columns:1fr !important;
    gap:2.5rem !important;
  }

  /* Mobile: Footer - nur Logo + Text + FAQ */
  footer > .container > div {
    display:flex !important;
    flex-direction:column !important;
    grid-template-columns:unset !important;
    gap:2rem !important;
  }

  /* Verstecke die 2. und 3. Menü-Spalten (Unternehmen, Leistungen) */
  footer > .container > div > div:nth-child(2),
  footer > .container > div > div:nth-child(3) {
    display:none !important;
  }

  /* 4. Spalte (Investor Relations): Nur FAQ sichtbar */
  footer > .container > div > div:nth-child(4) {
    display:block !important;
    text-align:center !important;
  }

  footer > .container > div > div:nth-child(4) > h5 {
    display:none !important;
  }

  footer > .container > div > div:nth-child(4) > ul {
    display:flex !important;
    justify-content:center !important;
    flex-wrap:wrap !important;
  }

  footer > .container > div > div:nth-child(4) > ul > li {
    display:none !important;
  }

  /* Nur letztes LI (FAQ) sichtbar */
  footer > .container > div > div:nth-child(4) > ul > li:last-child {
    display:block !important;
  }

  /* 1. Spalte (Logo + Text) zentrieren */
  footer > .container > div > div:first-child {
    text-align:center !important;
  }

  footer > .container > div > div:first-child img {
    margin:0 auto 1rem !important;
  }

  footer > .container > div[style*="display:flex"] {
    flex-direction:column !important;
    gap:1.5rem !important;
  }

  /* Mobile: Footer Bottom - nur rechtliche Links zentriert */
  footer .container > div[style*="border-top"] {
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    text-align:center !important;
    gap:1.5rem !important;
  }

  footer .container > div[style*="border-top"] > p {
    order:2 !important;
    margin:0 !important;
  }

  footer .container > div[style*="border-top"] > div {
    order:1 !important;
    display:flex !important;
    justify-content:center !important;
    flex-wrap:wrap !important;
    gap:1rem !important;
  }

  footer .container > div[style*="border-top"] > div > a {
    font-size:0.75rem !important;
    display:inline-block !important;
  }

  /* Mobile: Timeline - einfach vertikal */
  .timeline-vertical {
    position:relative;
    padding-left:3rem;
  }

  .timeline-vertical::before {
    content:'';
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:2px;
    background:linear-gradient(to bottom, var(--red), var(--border));
  }

  .timeline-item-v {
    position:relative;
    display:flex !important;
    flex-direction:column !important;
    grid-template-columns:none !important;
    margin-bottom:2.5rem;
    padding-left:1.5rem;
  }

  .timeline-item-v::before {
    content:'';
    position:absolute;
    left:-1.5rem;
    top:0.5rem;
    width:10px;
    height:10px;
    border-radius:50%;
    background:var(--red);
    box-shadow:0 0 0 3px var(--white), 0 0 0 5px var(--red);
    z-index:2;
  }

  .timeline-left-side,
  .timeline-right-side {
    display:flex !important;
    flex-direction:column !important;
  }

  .timeline-center {
    display:block !important;
    position:static !important;
    order:-1 !important;
    margin-bottom:0.75rem !important;
  }

  .timeline-dot {
    display:none !important;
  }

  .timeline-card {
    margin:0 !important;
    padding:1rem;
    border:1px solid var(--border);
    order:2 !important;
  }

  .timeline-year {
    font-size:0.9rem;
    font-weight:700;
    color:var(--red);
    display:block !important;
    margin-bottom:0.5rem !important;
    margin-top:0 !important;
  }

  .page-hero { padding:8rem 0 4rem; }
  .page-hero h1 { font-size:1.8rem; }
  .section { padding:5rem 0; }
  .container { padding:0 1.5rem; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  border-top: 2px solid var(--red);
  padding: 1.5rem 2rem;
  z-index: 9999;
  animation: slideUp 0.4s ease-out;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 280px;
}

.cookie-banner-text h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cookie-banner-text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.cookie-link {
  background: none;
  border: none;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 0.2s;
}

.cookie-link:hover {
  color: #ff3d4d;
}

.cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-secondary {
  background: transparent !important;
  color: var(--white) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  padding: 0.7rem 1.5rem !important;
  font-size: 0.85rem !important;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.6) !important;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
  display: none !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.cookie-settings-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.cookie-settings-content h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.cookie-setting {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--light-grey);
}

.cookie-setting:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cookie-setting label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.cookie-setting input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--red);
}

.cookie-setting input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-setting strong {
  color: var(--navy);
  font-weight: 600;
}

.cookie-setting p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-settings-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-grey);
}

.cookie-settings-actions button {
  flex: 1;
}

@media (max-width: 480px) {
  .page-hero { padding:6rem 0 3rem; }
  .page-hero h1 { font-size:1.4rem; }
  .breadcrumb { flex-direction:column; align-items:flex-start; gap:0.25rem; }
}

@media (max-width: 768px) {
  #cookie-banner {
    padding: 1rem;
  }

  .cookie-banner-content {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-banner-text h3 {
    font-size: 0.95rem;
  }

  .cookie-banner-text p {
    font-size: 0.85rem;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100% !important;
  }

  .cookie-settings-content {
    padding: 1.5rem;
    max-width: 90vw;
  }
}

/* ============================================================
   COOKIE CONSENT MANAGER - Modernisierte Version
   ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  border-top: 3px solid var(--red);
  padding: 2.5rem 2rem;
  z-index: 9998;
  animation: cookieSlideUp 0.4s ease-out;
  box-shadow: 0 -6px 30px rgba(0,0,0,0.25);
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes cookieSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  color: rgba(255,255,255,0.9);
}

.cookie-banner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.cookie-banner-header h2 {
  color: var(--white);
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
}

.cookie-banner-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-banner-close:hover {
  color: var(--white);
}

.cookie-banner-description {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cookie-banner-description a {
  color: var(--red);
  text-decoration: underline;
}

.cookie-banner-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  background: rgba(0,0,0,0.2);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.cookie-category-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.cookie-category-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--red);
}

.cookie-category-label input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.cookie-category-label span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}

.cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner-actions .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.btn-outline {
  background: transparent !important;
  color: var(--white) !important;
  border: 1px solid rgba(255,255,255,0.4) !important;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.8) !important;
}

/* Settings Modal */
.cookie-settings-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cookie-settings-overlay.show {
  display: block;
  opacity: 1;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.cookie-settings-modal.show {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.cookie-settings-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  width: 90%;
  max-width: 600px;
  min-height: auto;
  padding: 0 !important;
}

.cookie-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.cookie-settings-header h2 {
  color: var(--navy);
  font-size: 1.3rem;
  margin: 0;
  font-weight: 600;
}

.cookie-settings-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.cookie-settings-close:hover {
  color: var(--navy);
}

.cookie-settings-body {
  padding: 2rem;
}

.cookie-category-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--light-grey);
}

.cookie-category-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.cookie-category-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  flex: 1;
}

.cookie-category-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--red);
}

.cookie-category-toggle input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.cookie-category-name {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
}

.cookie-required {
  background: var(--red);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cookie-category-description {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

.cookie-settings-footer {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--off-white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.cookie-settings-footer .btn {
  flex: 1;
  padding: 0.75rem 1.5rem;
}

/* IR GRID & BOXES */
.ir-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ir-box {
  padding: 1.75rem 2rem;
  background: var(--white);
  border-bottom: 1px solid var(--light-grey);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.ir-box:last-child {
  border-bottom: none;
}

.ir-box:hover {
  background: rgba(63, 112, 166, 0.02);
}

.ir-box-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  flex: 1;
}

.ir-box-date {
  font-size: 0.75rem;
  color: rgba(24,65,131,0.5);
  background: var(--light-grey);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ir-box-icon {
  width: 44px;
  height: 44px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.ir-box:hover .ir-box-icon {
  background: var(--navy);
  color: var(--white);
  border-color: var(--red);
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 1.5rem 1rem;
  }

  .cookie-banner-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cookie-banner-categories {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .cookie-banner-actions {
    flex-direction: column;
  }

  .cookie-banner-actions .btn {
    width: 100%;
  }

  .cookie-settings-modal {
    width: 90vw;
    max-width: calc(100vw - 2rem);
  }

  .cookie-settings-content {
    max-width: 100%;
  }

  .cookie-settings-header,
  .cookie-settings-body,
  .cookie-settings-footer {
    padding: 1.5rem;
  }

  .cookie-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width:768px){[style*="grid-template-columns:repeat"]{grid-template-columns:1fr !important;}}

@media (max-width:768px){.ir-box{flex-direction:column;align-items:flex-start;gap:0.75rem;}.ir-box-date{white-space:normal;}}

/* ============================================================
   GLASS LAYER — aXendis Capital · MP-06 Design-Block D (D1)
   Kapselung: alles zwischen den beiden Markern unten.
   Rollback = diesen Block entfernen. Nutzt bestehende Tokens.
   ============================================================ */
/* GLASS-START */

:root{
  --glass-bg:        rgba(255,255,255,0.62);
  --glass-bg-strong: rgba(255,255,255,0.78);
  --glass-border:    rgba(255,255,255,0.55);
  --glass-hair:      rgba(24,65,131,0.10);
  --glass-blur:      16px;
  --glass-shadow:    0 8px 32px rgba(24,65,131,0.12), inset 0 1px 0 rgba(255,255,255,0.55);
}

/* Seiten-Hintergrund: ruhiger Marken-Verlauf, hell genug für Textkontrast.
   fixed = ambient, scrollt nicht mit. */
body::before{
  content:"";
  position:fixed; inset:0; z-index:-2;
  background:
    radial-gradient(1200px 800px at 12% -8%, rgba(24,65,131,0.10), transparent 60%),
    radial-gradient(1000px 700px at 108% 4%, rgba(190,22,34,0.06), transparent 55%),
    linear-gradient(180deg, #eef2fb 0%, #f7f8fc 42%, #ffffff 100%);
}

/* .glass — Utility für Karten/Boxen (Ziel für D2-Sweep) */
.glass{
  background:var(--glass-bg);
  -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(140%);
  backdrop-filter:blur(var(--glass-blur)) saturate(140%);
  border:1px solid var(--glass-border);
  box-shadow:var(--glass-shadow);
  border-radius:var(--radius-lg);
}

/* Bestehende .card zu Glas veredeln — Hover-Verhalten bleibt erhalten */
.card{
  background:var(--glass-bg);
  -webkit-backdrop-filter:blur(var(--glass-blur)) saturate(140%);
  backdrop-filter:blur(var(--glass-blur)) saturate(140%);
  border:1px solid var(--glass-border);
  box-shadow:var(--glass-shadow);
}

/* Nav im gescrollten Zustand: milchig statt deckend weiß */
.nav.scrolled{
  background:var(--glass-bg-strong) !important;
  -webkit-backdrop-filter:blur(20px) saturate(150%);
  backdrop-filter:blur(20px) saturate(150%);
  border-bottom:1px solid var(--glass-hair);
}

/* Helle Sektionen leicht transluzent, damit der Verlauf durchscheint.
   Navy-Sektionen bleiben bewusst solide (Kontrast). */
.section--white{ background:rgba(255,255,255,0.55); }
.section--off  { background:rgba(247,248,252,0.50); }
.section--light{ background:rgba(238,240,247,0.55); }

/* Footer: Glasschliff auf dunklem Navy-Grund */
footer{
  position:relative;
  background:linear-gradient(180deg, rgba(14,42,92,0.94), rgba(14,42,92,0.99));
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  border-top:1px solid rgba(255,255,255,0.08);
}

/* Primär-Button mit dezentem Glaskörper */
.btn-outline{
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
  background:rgba(255,255,255,0.35);
}

/* Mobil: Blur reduzieren (Renderlast) */
@media (max-width:768px){
  :root{ --glass-blur:10px; }
  .nav.scrolled{ -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); }
}

/* Fallback: Browser ohne backdrop-filter bekommen deckende Flächen
   (Lesbarkeit vor Effekt) */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .glass, .card{ background:var(--white); }
  .nav.scrolled{ background:var(--white) !important; }
  .section--white{ background:var(--white); }
  .section--off  { background:var(--off-white); }
  .section--light{ background:var(--light-grey); }
}

/* Reduced-Motion: keine Transitions auf Glas-Hovern */
@media (prefers-reduced-motion:reduce){
  .card, .glass{ transition:none; }
}
/* GLASS-END */

/* === MP-04-COSMETICS START === */
/* Pre-Go-Live Kosmetik, rein optisch, reversibel.
   D1: Scroll-Hint (Block inkl. Pfeil) ausgeblendet.
   D2: .accent-line bleibt bewusst sichtbar.
   Scope-Guard: NUR Hero-Instanz von .section-label. Body-Instanzen bleiben. */
.scroll-hint              { display: none; }
.page-hero .breadcrumb    { display: none; }
.page-hero .section-label { display: none; }
/* === MP-04-COSMETICS END === */
