/* =========================================================================
   Dorfmüller · Wirtschaftsprüfer · Steuerberater · Remscheid
   Hand-crafted stylesheet — no external dependencies (DSGVO-konform)
   ========================================================================= */

:root {
  --navy:        #14233f;
  --navy-deep:   #0e1a30;
  --navy-soft:   #1d3258;
  --gold:        #b8924a;
  --gold-light:  #c9a35a;
  --gold-dark:   #9a763a;
  --cream:       #f6f4ef;
  --cream-warm:  #efe9df;
  --ink:         #1f2733;
  --muted:       #5c6470;
  --line:        #e2ddd3;
  --white:       #ffffff;
  --shadow-sm:   0 2px 8px rgba(20, 35, 63, .08);
  --shadow-md:   0 10px 30px rgba(20, 35, 63, .12);
  --shadow-lg:   0 24px 60px rgba(20, 35, 63, .18);
  --radius:      4px;
  --maxw:        1180px;
  --serif:       "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans:        system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition:  .28s cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; color: var(--navy); letter-spacing: .2px; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin: 0 0 .6em; }
h3 { font-size: 1.32rem; margin: 0 0 .4em; }

p { margin: 0 0 1.1em; }
a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 30px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 12px; }

.lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }

/* ---------- Buttons -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--sans); font-weight: 600; font-size: .96rem;
  letter-spacing: .02em;
  padding: 14px 30px; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  transition: all var(--transition);
}
.btn-primary { background: var(--gold); color: #1c150a; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-light); color: #1c150a; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- Skip link ------------------------------------------------ */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* =========================================================================
   Header / Navigation
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }

.brand { display: flex; align-items: center; gap: 14px; line-height: 1.1; }
.brand-logo { height: 50px; width: auto; flex: none; display: block; }
.brand-mark {
  width: 46px; height: 46px; flex: none; border-radius: 50%;
  background: var(--navy); color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--navy); letter-spacing: .5px; }
.brand-sub  { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  display: block; padding: 10px 16px; color: var(--navy); font-weight: 600; font-size: .98rem;
  border-radius: var(--radius); position: relative;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--gold-dark); }
.nav-menu a:hover::after, .nav-menu a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { margin-left: 10px; }
/* CTA-Button behält auch im Hover kräftig dunklen Text (hoher Kontrast auf Gold) */
.nav-cta .btn-primary, .nav-cta .btn-primary:hover { color: #1c150a; }
.nav-cta .btn-primary:hover::after { display: none; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff;
  border-radius: var(--radius); cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; width: 22px; height: 2px; background: var(--navy);
  transform: translateX(-50%);
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle span { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateX(-50%) translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateX(-50%) translateY(-7px) rotate(-45deg); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative; color: #fff; isolation: isolate;
  background:
    linear-gradient(115deg, rgba(14,26,48,.95) 0%, rgba(14,26,48,.82) 48%, rgba(20,35,63,.60) 100%),
    url(../../img/hero.jpg) center 30% / cover no-repeat,
    radial-gradient(120% 140% at 85% 10%, var(--navy-soft) 0%, var(--navy-deep) 70%);
  background-color: var(--navy-deep);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.hero h1 { color: #fff; overflow-wrap: break-word; }
.hero h1 .accent { color: var(--gold-light); }
.hero .eyebrow { color: var(--gold-light); }
.hero p { color: rgba(255,255,255,.82); font-size: 1.18rem; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px; padding: 34px 32px; backdrop-filter: blur(4px);
}
.hero-card h3 { color: #fff; font-size: 1.18rem; margin-bottom: 18px; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.hero-facts li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255,255,255,.9); font-size: .98rem; }
.hero-facts .ico { color: var(--gold-light); flex: none; margin-top: 2px; }
.hero-facts strong { display: block; color: #fff; font-size: 1.02rem; }

/* trust badges row */
.trust-bar { background: var(--navy-deep); color: rgba(255,255,255,.78); border-top: 1px solid rgba(255,255,255,.08); }
.trust-bar .container { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; padding: 20px 26px; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; font-size: .86rem; letter-spacing: .04em; }
.trust-item .ico { color: var(--gold-light); display: inline-flex; align-items: center; }
.trust-item .ico svg { display: block; width: 22px; height: 22px; }

/* =========================================================================
   Sections
   ========================================================================= */
.section { padding: 92px 0; }
.section-tight { padding: 64px 0; }
.section.alt { background: var(--cream-warm); }
.section.navy { background: var(--navy); color: #fff; }
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy p { color: rgba(255,255,255,.82); }
.section-head { max-width: 64ch; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Intro split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.figure-frame { position: relative; }
.figure-frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold);
  border-radius: 6px; z-index: 0;
}
.figure-frame .ph, .figure-frame img { position: relative; z-index: 1; border-radius: 6px; box-shadow: var(--shadow-md); }
.figure-frame img { width: 100%; height: auto; display: block; }

/* Masonry gallery (Einblicke) — kein externer Request */
.gallery { column-width: 260px; column-gap: 18px; }
.gallery-item {
  break-inside: avoid; margin: 0 0 18px; padding: 0; border: 0; width: 100%;
  overflow: hidden; border-radius: 6px; box-shadow: var(--shadow-sm);
  position: relative; background: var(--navy); cursor: zoom-in;
  -webkit-appearance: none; appearance: none; font: inherit; color: inherit;
}
.gallery-item img { width: 100%; height: auto; display: block; transition: transform .6s var(--transition); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.05); }
.gallery-item::before {
  content: ""; position: absolute; inset: 0; margin: auto; z-index: 2;
  width: 54px; height: 54px; border-radius: 50%; pointer-events: none;
  background: rgba(20,35,63,.62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 24px no-repeat;
  opacity: 0; transform: scale(.8); transition: opacity var(--transition), transform var(--transition);
}
.gallery-item:hover::before, .gallery-item:focus-visible::before { opacity: 1; transform: scale(1); }
.gallery-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Lightbox-Overlay */
body.lb-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center;
  background: rgba(8,15,28,.93); padding: 5vh 4vw;
}
.lightbox[hidden] { display: none; }
.lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 92vw; }
.lb-img {
  max-width: 92vw; max-height: 80vh; width: auto; height: auto; display: block;
  border-radius: 4px; box-shadow: 0 24px 70px rgba(0,0,0,.55); background: #fff;
}
.lb-caption {
  color: rgba(255,255,255,.86); font-family: var(--sans); font-size: .92rem;
  margin-top: 14px; text-align: center; max-width: 70ch;
}
.lb-close, .lb-nav {
  position: absolute; border: 0; cursor: pointer; color: #fff; border-radius: 50%;
  background: rgba(255,255,255,.12); display: grid; place-items: center; line-height: 1;
  transition: background var(--transition), transform var(--transition);
}
.lb-close { top: 18px; right: 22px; width: 48px; height: 48px; font-size: 2rem; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 2.4rem; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-close:hover, .lb-nav:hover, .lb-close:focus-visible, .lb-nav:focus-visible { background: rgba(255,255,255,.3); outline: none; }
.lb-nav:hover, .lb-nav:focus-visible { transform: translateY(-50%) scale(1.06); }
.lb-counter {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .82rem; letter-spacing: .12em;
}

/* Image placeholder (kein externer Request) */
.ph {
  display: grid; place-items: center; text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: rgba(255,255,255,.7); min-height: 340px; padding: 30px;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
}
.ph .ph-ico { color: var(--gold-light); margin-bottom: 12px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; padding: 10px; }
.stat .num { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--gold-light); font-weight: 600; line-height: 1; }
.stat .lbl { font-size: .9rem; color: rgba(255,255,255,.78); margin-top: 10px; letter-spacing: .03em; }

/* Services grid */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 34px 30px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-ico {
  width: 56px; height: 56px; border-radius: 50%; background: var(--cream-warm); color: var(--navy);
  display: grid; place-items: center; margin-bottom: 22px;
}
.service-card h3 { margin-bottom: .5em; }
.service-card p { font-size: .98rem; color: var(--muted); margin: 0; }

/* feature list with checkmarks */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .ico { color: var(--gold-dark); flex: none; margin-top: 3px; }

/* Detailed service accordion */
.accordion { display: grid; gap: 16px; max-width: 920px; margin: 0 auto; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.acc-trigger {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 24px 28px; display: flex; align-items: center; gap: 18px;
  font-family: var(--serif); font-size: 1.22rem; font-weight: 600; color: var(--navy);
}
.acc-trigger .num { font-size: .9rem; color: var(--gold-dark); font-family: var(--sans); font-weight: 700; min-width: 28px; }
.acc-trigger .chev { margin-left: auto; transition: transform var(--transition); color: var(--gold-dark); flex: none; }
.acc-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.acc-trigger:hover { color: var(--gold-dark); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-panel-inner { padding: 0 28px 26px 74px; color: var(--muted); }
.acc-panel-inner p:last-child { margin-bottom: 0; }
/* FAQ – dezente, schmalere Variante ohne Nummerierung */
.faq-accordion { max-width: 760px; gap: 12px; }
.faq-accordion .acc-trigger { font-size: 1.08rem; padding: 20px 24px; gap: 14px; }
.faq-accordion .acc-panel-inner { padding: 0 24px 24px; font-size: .98rem; }

/* =========================================================================
   Team / Ansprechpartner
   ========================================================================= */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-photo {
  aspect-ratio: 4/3.4; background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  display: grid; place-items: center; color: var(--gold-light);
  font-family: var(--serif); font-size: 2.6rem; font-weight: 600; letter-spacing: 1px;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.team-body { padding: 24px 26px 28px; }

/* Team group banner */
.team-hero {
  position: relative; margin: 0 0 56px; border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.team-hero img { width: 100%; height: auto; display: block; }
.team-hero figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 30px 22px; color: #fff;
  background: linear-gradient(to top, rgba(14,26,48,.86), rgba(14,26,48,0));
  font-family: var(--serif); font-size: 1.12rem; letter-spacing: .3px;
}
.team-body h3 { margin-bottom: 4px; }
.team-role { color: var(--gold-dark); font-weight: 600; font-size: .92rem; margin-bottom: 14px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tag { font-size: .74rem; letter-spacing: .04em; background: var(--cream-warm); color: var(--navy); padding: 4px 10px; border-radius: 100px; font-weight: 600; }
.team-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.team-contact li { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.team-contact .ico { color: var(--gold-dark); flex: none; }
.team-card.lead-card { grid-column: span 1; }
.team-card.lead-card .team-photo { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: var(--navy); }

/* =========================================================================
   Downloads / Service (Formulare & Checklisten)
   ========================================================================= */
.downloads { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.download-card {
  display: flex; gap: 16px; align-items: flex-start; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 22px 24px; color: var(--ink);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.download-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); color: var(--ink); }
.download-card:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; }
.dl-ico {
  flex: none; width: 48px; height: 48px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--cream-warm); color: var(--gold-dark);
}
.download-card:hover .dl-ico { background: var(--navy); color: var(--gold-light); }
.dl-text { display: flex; flex-direction: column; gap: 4px; }
.dl-title { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; color: var(--navy); }
.dl-desc { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.dl-meta { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); margin-top: 4px; }
.downloads-note { max-width: 70ch; margin: 30px auto 0; text-align: center; font-size: .88rem; color: var(--muted); }

/* Auszeichnungen (Awards showcase) */
.awards-showcase {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 52px;
  max-width: 680px; margin: 8px auto 0; padding: 46px 44px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-md);
}
.award-img { display: block; width: auto; }
.award-img-top { height: 188px; }
.award-img-hb  { height: 208px; }
.awards-source { text-align: center; margin-top: 28px; }
.awards-source p { max-width: 620px; margin: 0 auto; font-size: .9rem; color: var(--muted); }
.award-pdf-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-family: var(--sans); font-weight: 600; font-size: .92rem; color: var(--gold-dark);
}
.award-pdf-link:hover { color: var(--navy); }
.award-pdf-link .ico { display: inline-flex; }

/* =========================================================================
   Contact
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-info { display: grid; gap: 26px; }
.info-block { display: flex; gap: 18px; align-items: flex-start; }
.info-ico {
  width: 50px; height: 50px; border-radius: 50%; flex: none;
  background: var(--navy); color: var(--gold-light); display: grid; place-items: center;
}
.info-block h3 { font-size: 1.08rem; margin-bottom: 2px; }
.info-block p, .info-block a { margin: 0; color: var(--muted); font-size: .98rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.hours-table th, .hours-table td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours-table td { text-align: right; color: var(--navy); font-weight: 600; }
.hours-table th { font-weight: 500; color: var(--muted); }

/* Form */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; display: flex; flex-direction: column; }
.field label { font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--navy); }
.field .req { color: var(--gold-dark); }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--cream); transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(184,146,74,.15);
}
.field textarea { resize: vertical; min-height: 140px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-bottom: 24px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--gold-dark); }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 18px; }
.form-status { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 22px; font-size: .94rem; display: none; }
.form-status.ok    { display: block; background: #e8f3ec; border: 1px solid #b6d9c3; color: #1d6b3f; }
.form-status.error { display: block; background: #fbeaea; border: 1px solid #e3b6b6; color: #9a2b2b; }
.field-error { color: #9a2b2b; font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #cc6666; }
.field.invalid .field-error { display: block; }

/* Map placeholder (kein externer Request / kein Tracking) */
.map-static {
  margin-top: 18px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(184,146,74,.10), transparent 60%),
    linear-gradient(135deg, var(--cream-warm), var(--cream));
  min-height: 220px; display: grid; place-items: center; text-align: center; padding: 26px;
}
.map-static .pin { color: var(--gold-dark); margin-bottom: 10px; }

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-soft));
  color: #fff; text-align: center; border-radius: 10px; padding: 64px 40px;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.84); max-width: 56ch; margin: 0 auto 28px; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 72px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 20px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: var(--gold-light); }
.footer-brand-logo { height: 46px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-list a { color: rgba(255,255,255,.72); }
.footer-list a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 11px; }
.footer-contact .ico { color: var(--gold-light); flex: none; margin-top: 3px; }
/* Awards / Auszeichnungen */
.footer-awards {
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px;
  padding: 30px 0; border-top: 1px solid rgba(255,255,255,.1);
}
.footer-awards .award-label {
  width: 100%; color: #fff; font-family: var(--sans); font-size: .82rem;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 4px;
}
.footer-awards .award-hb {
  width: 340px; max-width: 100%; height: auto; border-radius: 6px; display: block;
  box-shadow: var(--shadow-sm);
}
.footer-awards .award-seal { width: 102px; height: 102px; flex: none; display: block; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 14px; align-items: center; font-size: .86rem; color: rgba(255,255,255,.55);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-legal a { color: rgba(255,255,255,.7); font-weight: 600; }
.footer-legal a:hover { color: var(--gold-light); }

/* =========================================================================
   Floating action bar (right edge)  ·  klar abgehobene Bedienelemente
   ========================================================================= */
.floating-bar {
  position: fixed; top: 50%; right: 0; transform: translateY(-50%);
  z-index: 1200; display: flex; flex-direction: column; gap: 10px; padding: 10px;
}
.fab {
  --fab-color: var(--navy);
  position: relative; display: flex; align-items: center;
  width: 54px; height: 54px; border-radius: 12px 0 0 12px;
  background: var(--fab-color); color: #fff; overflow: hidden;
  box-shadow: -6px 6px 18px rgba(20,35,63,.28); border: 1px solid rgba(255,255,255,.18);
  border-right: 0;
  transition: width var(--transition), transform var(--transition), box-shadow var(--transition);
}
.fab .fab-ico { width: 54px; height: 54px; flex: none; display: grid; place-items: center; }
.fab .fab-ico svg { width: 24px; height: 24px; }
.fab .fab-label {
  white-space: nowrap; font-size: .9rem; font-weight: 700; letter-spacing: .02em;
  padding-right: 20px; opacity: 0; transition: opacity var(--transition);
}
.fab:hover, .fab:focus-visible {
  width: 188px; color: #fff; transform: translateX(-3px);
  box-shadow: -10px 8px 26px rgba(20,35,63,.4); outline: none;
}
.fab:hover .fab-label, .fab:focus-visible .fab-label { opacity: 1; }
.fab-datev    { --fab-color: #006633; }
.fab-facebook { --fab-color: #1877f2; }
.fab-linkedin { --fab-color: #0a66c2; }
.fab-whatsapp { --fab-color: #25d366; color: #06351b; }
.fab-whatsapp .fab-label { color: #06351b; }

/* =========================================================================
   Legal pages (Impressum / Datenschutz)
   ========================================================================= */
.page-hero {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-soft)); color: #fff;
  padding: 70px 0 60px;
}
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: rgba(255,255,255,.8); margin: 0; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 18px; letter-spacing: .03em; }
.breadcrumb a { color: var(--gold-light); }
.legal { max-width: 820px; overflow-wrap: break-word; }
.legal a { overflow-wrap: anywhere; }
.legal h2 { font-size: 1.5rem; margin-top: 2.2em; padding-top: .4em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.15rem; margin-top: 1.6em; }
.legal p, .legal li { color: #3b424d; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal .muted-note { background: var(--cream-warm); border-left: 3px solid var(--gold); padding: 16px 20px; border-radius: 0 4px 4px 0; font-size: .92rem; color: var(--muted); }
.legal address { font-style: normal; line-height: 1.8; }
.placeholder-tag {
  background: #fff3d6; border: 1px dashed #d8b25a; color: #8a6b1e;
  padding: 1px 7px; border-radius: 3px; font-size: .85em; font-weight: 600;
}

/* =========================================================================
   Utilities & motion
   ========================================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 70px; padding-bottom: 80px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .downloads { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* Navigation: Hamburger-Menü bereits ab Tablet-Breite (horizontale Leiste wird
   darunter zu eng), restliche Mobil-Regeln bleiben bei ≤760px. */
@media (max-width: 900px) {
  .nav-toggle { display: block; margin-left: auto; }
  .nav-menu {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 12px 18px 22px; transform: translateY(-130%); transition: transform var(--transition);
    max-height: calc(100vh - 84px); overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-menu a::after { display: none; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 28px 22px; }
  .services { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .downloads { grid-template-columns: 1fr; }
  .awards-showcase { gap: 32px; padding: 34px 22px; }
  .award-img-top { height: 152px; }
  .award-img-hb  { height: 170px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .acc-panel-inner { padding-left: 28px; }
  /* Floating bar: kompakter, ohne Slide-Label, am unteren Rand-nah */
  .floating-bar { top: auto; bottom: 14px; transform: none; gap: 8px; padding: 8px 6px; }
  .fab { width: 46px; height: 46px; border-radius: 10px 0 0 10px; }
  .fab .fab-ico { width: 46px; height: 46px; }
  .fab .fab-ico svg { width: 21px; height: 21px; }
  .fab:hover, .fab:focus-visible { width: 46px; transform: none; }
  .fab .fab-label { display: none; }
  /* Lightbox: kompaktere Bedienelemente */
  .lb-nav { width: 44px; height: 44px; font-size: 1.9rem; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-close { top: 10px; right: 12px; width: 44px; height: 44px; }
  .lb-img { max-height: 74vh; }
}

@media (max-width: 560px) {
  /* Stats: einspaltig, damit lange Wörter (z. B. „Remscheid") nicht überlaufen */
  .stats { grid-template-columns: 1fr; gap: 24px; }
  /* Überschriften auf dem Smartphone kompakter */
  .hero h1 { font-size: 1.9rem; }
  .page-hero h1 { font-size: 1.8rem; }
  /* Trust-Bar: Merkmale untereinander, Icon an der ersten Textzeile ausgerichtet
     (lange Einträge brechen sonst um und das Icon „schwebt" zwischen den Zeilen) */
  .trust-bar .container { flex-direction: column; align-items: center; gap: 12px; }
  .trust-item { align-items: flex-start; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero h1 { font-size: 1.72rem; }
  .cta-band { padding: 48px 24px; }
}
