/* ================================================================
   Brick-Flow AG – Corporate Stylesheet
   ================================================================ */

:root {
  --primary:        #D4500A;
  --primary-light:  #E87A40;
  --primary-dark:   #A83D08;
  --secondary:      #1D2B3A;
  --secondary-light:#2C3E55;
  --accent:         #F0A500;
  --bg:             #FAFAFA;
  --bg-alt:         #F0F2F5;
  --text:           #222222;
  --text-muted:     #666666;
  --white:          #FFFFFF;
  --border:         #E0E0E0;
  --success:        #27AE60;

  --sans: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;

  --sh-sm: 0 2px 8px rgba(0,0,0,.08);
  --sh-md: 0 4px 24px rgba(0,0,0,.12);
  --sh-lg: 0 8px 48px rgba(0,0,0,.18);

  --max-w: 1200px;
  --gap:   2rem;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }

/* ---- Container ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-primary  { color: var(--primary); }
.text-muted    { color: var(--text-muted); }
.text-center   { text-align: center; }
.text-white    { color: var(--white); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: .7rem 1.65rem;
  border-radius: var(--r-sm);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1.4;
}
.btn-sm { padding: .45rem .9rem; font-size: .85rem; }

.btn-primary  { background: var(--primary);   color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); text-decoration: none; }

.btn-outline   { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--secondary); text-decoration: none; }

.btn-secondary { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.btn-secondary:hover { background: var(--secondary-light); text-decoration: none; }

.btn-ghost { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.22); text-decoration: none; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1.5rem;
  position: relative;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { width: 42px; height: 42px; }
.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -.025em;
}
.logo-text .bf-color { color: var(--primary); }
.logo-text small { font-size: .6em; font-weight: 600; opacity: .6; vertical-align: middle; margin-left: .15em; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
}
.nav-links a {
  padding: .45rem .8rem;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--secondary);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--bg-alt);
  color: var(--primary);
  text-decoration: none;
}
.nav-links .btn { margin-left: .35rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  border: none;
  background: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: all .25s;
}

@media (max-width: 850px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: .75rem 1.5rem 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-md);
    gap: .2rem;
    align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; }
  .nav-links .btn { width: 100%; text-align: center; margin-left: 0; margin-top: .5rem; }
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, #111D28 0%, var(--secondary) 55%, #2E4060 100%);
  color: var(--white);
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  right: -80px; top: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(212,80,10,.28) 0%, transparent 68%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  left: 45%; bottom: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(240,165,0,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-label {
  display: inline-block;
  background: rgba(212,80,10,.22);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,.78); margin-bottom: 2rem; max-width: 560px; }
.hero-buttons { display: flex; gap: .85rem; flex-wrap: wrap; }

/* ---- Page Hero (subpages) ---- */
.page-hero {
  background: linear-gradient(135deg, #111D28 0%, var(--secondary) 100%);
  padding: 3.5rem 0 3rem;
  color: var(--white);
}
.page-hero .breadcrumb { margin-bottom: 1.25rem; }
.page-hero h1 { color: var(--white); margin-bottom: .65rem; }
.page-hero p { color: rgba(255,255,255,.72); font-size: 1.05rem; max-width: 620px; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; color: rgba(255,255,255,.5);
}
.breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: .4; }

/* ---- Section ---- */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--secondary); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.75); }
.section-dark .text-muted { color: rgba(255,255,255,.5); }

.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: .65rem;
}
.section-dark .eyebrow { color: var(--accent); }
.section-header h2 { margin-bottom: .85rem; }
.section-header p { font-size: 1.02rem; color: var(--text-muted); max-width: 620px; }
.section-header.centered p { margin: 0 auto; }

/* ---- Grid ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 2.5rem; } }
.two-col-wide {
  display: grid; grid-template-columns: 3fr 2fr;
  gap: 4rem; align-items: center;
}
@media (max-width: 768px) { .two-col-wide { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.card-img {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  background: var(--bg-alt);
  position: relative;
}
.card-body { padding: 1.5rem; }
.card-body h3 { margin-bottom: .4rem; }
.card-body p { color: var(--text-muted); font-size: .94rem; }
.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}

/* Product cards */
.product-badge {
  position: absolute; top: .7rem; left: .7rem;
  background: var(--primary); color: white;
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .18rem .6rem; border-radius: 100px;
}
.product-price { font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.product-sku   { font-size: .78rem; color: var(--text-muted); margin-bottom: .25rem; }

/* ---- Stats ---- */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
@media (max-width: 900px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-row { grid-template-columns: 1fr 1fr; } }
.stat-item { text-align: center; }
.stat-number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; color: var(--primary);
  line-height: 1; margin-bottom: .3rem;
}
.stat-label {
  font-size: .88rem; font-weight: 500;
  color: rgba(255,255,255,.65);
}

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 2.25rem; }
.timeline::before {
  content: '';
  position: absolute; left: 0; top: .5rem; bottom: 2.5rem;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 3px;
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute; left: -2.625rem; top: .35rem;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-year {
  font-size: .78rem; font-weight: 700;
  color: var(--primary); text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: .2rem;
}
.timeline-item h3 { margin-bottom: .4rem; color: var(--secondary); }
.timeline-item p  { color: var(--text-muted); font-size: .94rem; }

/* ---- Team ---- */
.team-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  text-align: center;
  transition: box-shadow .2s, transform .2s;
}
.team-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.team-avatar {
  height: 170px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; font-weight: 800; color: white;
  letter-spacing: .02em;
}
.team-body { padding: 1.5rem 1.25rem; }
.team-name { font-size: 1.05rem; font-weight: 700; margin-bottom: .2rem; color: var(--secondary); }
.team-role {
  font-size: .78rem; color: var(--primary); font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: .8rem;
}
.team-bio { font-size: .9rem; color: var(--text-muted); }

/* ---- Feature items ---- */
.feature-list { display: flex; flex-direction: column; gap: 1.35rem; }
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: var(--r-md);
  background: rgba(212,80,10,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.section-dark .feature-icon { background: rgba(255,255,255,.1); }
.feature-item h4 { margin-bottom: .2rem; }
.feature-item p  { font-size: .94rem; color: var(--text-muted); }

/* ---- Highlight / CTA boxes ---- */
.highlight-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--r-lg); padding: 2.75rem;
  color: var(--white);
}
.highlight-box h2, .highlight-box h3 { color: var(--white); }
.highlight-box p { color: rgba(255,255,255,.85); }

.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 5rem 0; text-align: center; color: var(--white);
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 2rem; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ---- Table ---- */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); box-shadow: var(--sh-sm); }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .93rem; }
th { background: var(--bg-alt); font-weight: 700; color: var(--secondary); font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fef9f6; }

/* ---- Form ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-full  { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-weight: 600; font-size: .88rem; color: var(--secondary); }
.form-control {
  width: 100%; padding: .65rem 1rem;
  border: 2px solid var(--border); border-radius: var(--r-sm);
  font-size: .97rem; font-family: inherit;
  transition: border-color .2s; background: var(--white); color: var(--text);
}
.form-control:focus { outline: none; border-color: var(--primary); }
textarea.form-control { min-height: 130px; resize: vertical; }
select.form-control { cursor: pointer; }

/* ---- Job listings ---- */
.job-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  transition: box-shadow .2s, border-color .2s;
}
.job-item:hover { box-shadow: var(--sh-sm); border-color: var(--primary); }
.job-meta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .4rem; }
.job-department, .job-type, .job-location {
  font-size: .78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; padding: .2rem .65rem;
  border-radius: 100px;
}
.job-department { background: rgba(212,80,10,.1); color: var(--primary-dark); }
.job-type       { background: rgba(29,43,58,.08); color: var(--secondary); }
.job-location   { background: rgba(39,174,96,.1); color: #1a7a44; }
@media (max-width: 600px) {
  .job-item { flex-direction: column; align-items: flex-start; }
}

/* ---- Press releases ---- */
.press-item {
  border-bottom: 1px solid var(--border); padding-bottom: 2rem; margin-bottom: 2rem;
}
.press-item:last-child { border-bottom: none; margin-bottom: 0; }
.press-date { font-size: .8rem; color: var(--text-muted); font-weight: 600; margin-bottom: .35rem; text-transform: uppercase; letter-spacing: .07em; }
.press-item h3 { margin-bottom: .5rem; }
.press-item p  { color: var(--text-muted); font-size: .94rem; }

/* ---- Badges ---- */
.badge {
  display: inline-block; padding: .2rem .65rem;
  border-radius: 100px; font-size: .73rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.badge-primary { background: rgba(212,80,10,.12); color: var(--primary-dark); }
.badge-success { background: rgba(39,174,96,.12); color: #1a7a44; }
.badge-info    { background: rgba(29,43,58,.1);   color: var(--secondary); }

/* ---- Contact Info ---- */
.contact-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 2rem; box-shadow: var(--sh-sm);
}
.contact-card h3 { margin-bottom: 1rem; }
.contact-item {
  display: flex; gap: .75rem; align-items: flex-start;
  margin-bottom: .85rem;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-icon { font-size: 1.15rem; flex-shrink: 0; margin-top: .1rem; }
.contact-item p { color: var(--text-muted); font-size: .93rem; }
.contact-item strong { display: block; font-size: .85rem; color: var(--secondary); font-weight: 600; }

/* ---- Map placeholder ---- */
.map-placeholder {
  background: var(--bg-alt); border-radius: var(--r-lg);
  aspect-ratio: 16/7; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .75rem;
  color: var(--text-muted); border: 1px solid var(--border);
}
.map-placeholder .map-icon { font-size: 3rem; }
.map-placeholder p { font-size: .9rem; }

/* ---- Visual block (illustration placeholder) ---- */
.visual-block {
  border-radius: var(--r-lg);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; background: var(--bg-alt);
}

/* ---- Legal / Impressum ---- */
.legal-content h2 { font-size: 1.3rem; margin: 2.5rem 0 .65rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.legal-content h2:first-child { margin-top: 0; border-top: none; }
.legal-content h3 { font-size: 1.05rem; margin: 1.5rem 0 .4rem; color: var(--secondary); }
.legal-content p, .legal-content li { color: var(--text-muted); font-size: .94rem; }
.legal-content ul { padding-left: 1.5rem; list-style: disc; margin-bottom: 1rem; }
.legal-content address { font-style: normal; }

/* ---- Notice ---- */
.notice {
  padding: 1rem 1.25rem; border-radius: var(--r-md);
  border-left: 4px solid var(--primary);
  background: rgba(212,80,10,.06); font-size: .94rem;
}
.notice p:last-child { margin-bottom: 0; }

/* ---- Divider ---- */
hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ---- Benefits list ---- */
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
@media (max-width: 900px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit-item {
  background: var(--white); border-radius: var(--r-md);
  padding: 1.5rem; box-shadow: var(--sh-sm);
  border-left: 4px solid var(--primary);
}
.benefit-icon { font-size: 1.8rem; margin-bottom: .65rem; }
.benefit-item h4 { margin-bottom: .35rem; }
.benefit-item p  { color: var(--text-muted); font-size: .9rem; }

/* ---- Financial KPI ---- */
.kpi-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap);
}
@media (max-width: 700px) { .kpi-row { grid-template-columns: 1fr; } }
.kpi-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 1.75rem; box-shadow: var(--sh-sm);
  border-top: 4px solid var(--primary);
}
.kpi-value { font-size: 2rem; font-weight: 800; color: var(--primary); margin: .3rem 0; }
.kpi-label { font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.kpi-note  { font-size: .82rem; color: var(--text-muted); margin-top: .5rem; }
.kpi-change { font-size: .85rem; color: var(--success); font-weight: 700; }

/* ---- Footer ---- */
.site-footer {
  background: var(--secondary);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .logo-text { color: var(--white); }
.footer-brand .bf-color  { color: var(--primary-light); }
.footer-tagline { font-size: .88rem; margin-top: 1rem; color: rgba(255,255,255,.48); line-height: 1.5; }
.footer-addr { font-size: .88rem; margin-top: 1.25rem; color: rgba(255,255,255,.55); line-height: 1.7; }

.footer-col h4 {
  color: var(--white); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color .15s; }
.footer-links a:hover { color: var(--white); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.4rem 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { color: rgba(255,255,255,.45); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); text-decoration: none; }

/* ---- Org-Chart ---- */
.org-wrap { overflow-x: auto; }
.org-chart {
  min-width: 600px;
  font-size: .9rem;
  padding: 1.5rem 0;
}
.org-row { display: flex; justify-content: center; gap: 1rem; margin-bottom: .5rem; }
.org-box {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--r-md); padding: .65rem 1.1rem;
  text-align: center; font-weight: 600; color: var(--secondary);
  white-space: nowrap;
}
.org-box.top { background: var(--primary); border-color: var(--primary); color: white; }
.org-line {
  display: flex; justify-content: center;
  height: 24px; gap: 0;
}

/* ---- Misc utilities ---- */
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 2rem; }
.gap-sm { gap: .75rem; }
.flex   { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap    { flex-wrap: wrap; }
.align-start  { align-items: flex-start; }
.w-full { width: 100%; }

/* ================================================================
   Eselsohr / Disclaimer-Badge (fixed top-right)
   ================================================================ */
.dogear {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  width: 234px;
  height: 234px;
  pointer-events: none;
}

.dogear-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  pointer-events: all;
}

/* Großes Dreieck – Hauptfläche des Eselohrs */
.dogear-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--secondary);
  clip-path: polygon(100% 0%, 100% 100%, 0% 0%);
  filter: drop-shadow(-4px 4px 10px rgba(0,0,0,.45));
  transition: background .22s;
}

.dogear-link:hover::before {
  background: var(--secondary-light);
}

/* Kleines Dreieck in der echten Ecke – Knickfalte in Warngelb */
.dogear-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #F0A500;
  clip-path: polygon(76% 0%, 100% 0%, 100% 24%);
  transition: background .22s;
}

.dogear-link:hover::after {
  background: #C88A00;
}

/* Beschriftung – um 45° gedreht, Mittelpunkt im Dreieck bei ca. (156,78) */
.dogear-text {
  position: absolute;
  top: 48px;
  left: 71px;
  width: 170px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .1em;
  line-height: 1.65;
  transform: rotate(45deg);
  transform-origin: 50% 50%;
  pointer-events: none;
}

/* Nav-Abstand, damit das Eselsohr den letzten Nav-Link nicht verdeckt */
@media (min-width: 851px) {
  .nav-wrapper { padding-right: 200px; }
}
