:root {
  --navy:        #1B3A5C;
  --navy-dark:   #122740;
  --navy-light:  #2A5080;
  --ink:         #0F1B2D;
  --accent:      #E07A3A;   /* vibrant – dekorative Flächen & Akzent-Text (auf Navy) */
  --accent-dark: #C4662A;
  --accent-strong:      #B85A22; /* tiefer – trägt weißen Text (Buttons, Badge, Nav-CTA): AA erfüllt */
  --accent-strong-dark: #9F4E1C; /* Hover für accent-strong-Flächen */
  --light:       #F0F4F8;
  --border:      #E2E8F0;
  --text:        #334155;
  --gray:        #5A6474;   /* leicht abgedunkelt: erfüllt AA auch auf --light (#F0F4F8) */

  /* Schrift: Spectral (Serif-Headlines) + Hanken Grotesk (Sans-Body) */
  --ff-display:  'Spectral', Georgia, 'Times New Roman', serif;
  --ff-body:     'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body); color: var(--text); overflow-x: hidden;
  font-size: 1rem; line-height: 1.6; font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

/* Serif-Headlines tragen die Hierarchie; kleine Funktions-Titel bleiben Sans */
#hero h1, h2 { font-family: var(--ff-display); }

/* Inline-SVG Icons (erben Farbe via currentColor) */
.icon {
  width: 24px; height: 24px; display: block;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Bootstrap btn-primary überschreiben – tiefes Terrakotta, damit weißer Text AA erfüllt */
.btn-primary { background-color: var(--accent-strong); border-color: var(--accent-strong); }
.btn-primary:hover { background-color: var(--accent-strong-dark); border-color: var(--accent-strong-dark); }
.btn-primary:focus-visible { outline: 3px solid rgba(224,122,58,.6); outline-offset: 2px; }

/* Navbar */
#navbar { height: 68px; transition: background .35s ease, box-shadow .35s ease; }
#navbar .navbar-brand { font-size: 1.4rem; font-weight: 800; color: rgba(255,255,255,.9); }
#navbar .navbar-brand span { color: var(--accent); }
#navbar .nav-link { color: rgba(255,255,255,.85); font-size: .85rem; font-weight: 600; }
#navbar .nav-link:hover { color: var(--accent); }
#navbar.scrolled .nav-link:hover { color: var(--accent-strong) !important; }
#navbar .nav-cta { background: var(--accent-strong); color: #fff !important; padding: .55rem 1.3rem; border-radius: 7px; font-weight: 700 !important; }
#navbar .nav-cta:hover { background: var(--accent-strong-dark) !important; }
#navbar .navbar-toggler { border-color: rgba(255,255,255,.3); }
#navbar .navbar-toggler-icon { filter: invert(1); }
#navbar.scrolled { background: #fff !important; box-shadow: 0 2px 20px rgba(0,0,0,.08); }
#navbar.scrolled .navbar-brand { color: var(--navy) !important; }
#navbar.scrolled .nav-link { color: var(--text) !important; }
#navbar.scrolled .navbar-toggler { border-color: var(--border); }
#navbar.scrolled .navbar-toggler-icon { filter: none; }

/* Hero */
#hero {
  min-height: 100vh;
  background: linear-gradient(145deg, #0D1F33 0%, #1B3A5C 45%, #234D78 80%, #1A4468 100%);
  padding-top: 13rem; padding-bottom: 6rem; position: relative; overflow: hidden;
}
#hero::before {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: rgba(224,122,58,.07); top: -200px; right: -100px; pointer-events: none;
}
.hero-tag {
  display: inline-block; background: rgba(224,122,58,.18); color: var(--accent);
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  padding: .3rem 1rem; border-radius: 999px; border: 1px solid rgba(224,122,58,.3);
  margin-bottom: 1.3rem; animation: fadeUp .5s ease both;
}
#hero h1 { font-size: clamp(2.35rem, 4.4vw, 3.6rem); font-weight: 700; color: #fff; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; animation: fadeUp .6s ease .08s both; }
#hero h1 em { color: var(--accent); font-style: normal; }
#hero .lead { color: rgba(255,255,255,.68); animation: fadeUp .6s ease .16s both; }
.hero-btns { animation: fadeUp .6s ease .24s both; }
.btn-outline-light:hover { color: var(--navy) !important; }

.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px; padding: 2rem; backdrop-filter: blur(8px);
  max-width: 400px; margin-inline: auto;
  animation: slideRight .85s cubic-bezier(.22,1,.36,1) .15s both;
}
.hero-avatar {
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; font-weight: 800; color: #fff; letter-spacing: .04em;
}
.chip {
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.8);
  font-size: .72rem; font-weight: 600; padding: .28rem .8rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
}
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.55); font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  animation: fadeUp .8s ease .5s both;
}
.scroll-hint::after { content: ''; width: 1px; height: 36px; background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent); }

/* Section styling */
.section-light { background: var(--light); }
.section-dark { background: linear-gradient(135deg, #122740, #1B3A5C); }
.tag {
  display: inline-block; background: rgba(27,58,92,.08); color: var(--navy);
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  padding: .28rem .9rem; border-radius: 999px; border: 1px solid rgba(27,58,92,.15); margin-bottom: .6rem;
}

.section-dark h2 { color: #fff; }
.section-dark .subtitle { color: rgba(255,255,255,.65); }
h2 { font-size: clamp(1.75rem, 2.9vw, 2.4rem); font-weight: 700; line-height: 1.18; letter-spacing: -.015em; color: var(--ink); margin-bottom: .7rem; text-wrap: balance; }
.subtitle { color: var(--gray); font-size: 1rem; line-height: 1.7; max-width: 65ch; text-wrap: pretty; }

/* Service cards */
.service-card { border: 1px solid var(--border); border-radius: 10px; padding: 2rem 1.75rem; transition: all .3s; background: #fff; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.09); border-color: rgba(27,58,92,.2); }
.service-icon { width: 52px; height: 52px; background: rgba(27,58,92,.08); color: var(--navy); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: .45rem; }
.service-card p  { font-size: .95rem; color: var(--gray); line-height: 1.7; }
.service-link { font-size: .82rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.service-link:hover { color: var(--accent-strong); }

/* About */
.about-photo {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
  border-radius: 20px; aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.about-monogram {
  width: 128px; height: 128px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; font-weight: 800; color: #fff; letter-spacing: .04em;
}
.about-badge {
  position: absolute; bottom: -1rem; right: -1rem;
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--accent-strong); color: #fff; border-radius: 10px; padding: .65rem 1rem;
  font-size: .78rem; font-weight: 700; box-shadow: 0 8px 24px rgba(224,122,58,.35);
}
.about-badge .icon { width: 16px; height: 16px; }
.contact-icon .icon { width: 20px; height: 20px; }
.check-list { list-style: none; padding: 0; }
.check-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: .95rem; margin-bottom: .6rem; }
.check-list li::before {
  content: '✓'; background: var(--navy); color: #fff;
  width: 20px; height: 20px; min-width: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; font-weight: 700; margin-top: .15rem; flex-shrink: 0;
}
.stat strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--navy); letter-spacing: -.5px; }
.stat span   { font-size: .73rem; color: var(--gray); text-transform: uppercase; letter-spacing: .07em; }

/* Testimonials */
.testimonial { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 1.75rem; }
.stars { color: #F5A05F; font-size: 1rem; }  /* aufgehellt: ★-Rating erfüllt AA auf dunkler Karte */
.testimonial blockquote { font-size: 1rem; color: rgba(255,255,255,.82); line-height: 1.7; font-family: var(--ff-display); font-style: italic; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(224,122,58,.25); display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700; color: #F5A05F; }
.author-name  { font-size: .85rem; font-weight: 700; color: #fff; }
.author-role  { font-size: .75rem; color: rgba(255,255,255,.6); }  /* .45 → .6 für AA */

/* Contact */
.contact-icon { width: 42px; height: 42px; min-width: 42px; background: rgba(27,58,92,.08); color: var(--navy); border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.contact-label { font-size: .7rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: .06em; }
.contact-value a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-value a:hover { color: var(--accent-strong); }
.form-card { background: #fff; border-radius: 16px; padding: 2.25rem; border: 1px solid var(--border); box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.btn-navy { background: var(--navy); color: #fff; border: none; width: 100%; padding: .82rem; border-radius: 10px; font-weight: 700; transition: all .3s; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-navy:focus-visible { outline: 3px solid var(--navy-light); outline-offset: 2px; }

/* Footer */
footer { background: var(--ink); }
.footer-credit a { color: rgba(255,255,255,.75); font-weight: 600; text-decoration: none; }
.footer-credit a:hover { color: #fff; }
footer .footer-links a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
footer .footer-links a:hover { color: #fff; }

/* Animations */
@keyframes fadeUp     { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }
@keyframes slideRight { from { opacity:0; transform:translateX(30px); } to { opacity:1; transform:none; } }

/* Hero auf Mobile/Tablet: Karte sichtbar, kompakteres Spacing */
@media (max-width: 991.98px) {
  #hero { padding-top: 9rem; padding-bottom: 4.5rem; min-height: auto; }
  .hero-card { margin-top: 2.25rem; }
  .scroll-hint { display: none; }
}

/* Reduced Motion respektieren */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
