
/* Caveat (SIL OFL 1.1) lokal eingebettet: Handschrift fuer #schwarzwaldsteuer */
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/caveat-700.woff2) format("woff2");
}
/* Open Sans (SIL OFL 1.1) lokal eingebettet: keine Verbindung zu Drittservern.
   Variable Font, Gewichte 300-800, Latin-Subset. */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../assets/fonts/open-sans-300-800.woff2) format("woff2");
}


/* ============================================
   EU TREUHAND / Corporate Design
   Aptos (System-Referenz) · Fallback: Open Sans
   Markengrün #ACC5AE (Logo) · Schwarzwald-Hero
   ============================================ */

/* ===== TOKENS ===== */
:root {
  --teal: #ACC5AE;
  --teal-dark: #5E7D62;
  --teal-light: #ACC5AE;
  --teal-pale: #EDF3EE;
  --link-hover: #48604C;
  --ink: #212529;
  --ink-2: #495057;
  --ink-3: #868e96;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --line: #e5e9e8;
  --dark: #212B24;
  --dark-text: #f4f6f6;
  --dark-muted: rgba(244,246,246,0.55);
  --dark-line: rgba(255,255,255,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 6px 28px rgba(12,17,20,0.09);
}


/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: 'Aptos', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink-2);
  line-height: 1.72;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--link-hover); }

h1, h2, h3 {
  font-family: 'Aptos Display', 'Aptos', 'Open Sans', 'Segoe UI', sans-serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h4 { color: var(--ink); }

/* Umbruch-Qualität: ausgewogene Absätze, keine Hurenkinder-Wörter,
   deutsche Silbentrennung für lange Komposita in schmalen Spalten */
p, li { text-wrap: pretty; overflow-wrap: break-word; }
.svc-desc, .focus-card p, .method-item p, .band-item .lbl, .teaser-card p,
.portal-card p, .video-body p, .dl-info p, .contact-panel p,
.legal-body p, .legal-body li { hyphens: auto; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.bg-light { background: var(--bg-light); }

/* Section label */
.label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 16px;
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 18px; }
.section-head p { font-size: 1.06rem; color: var(--ink-3); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: 'Aptos', 'Open Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
  line-height: 1;
}
.btn svg { width: 15px; height: 15px; transition: transform .2s; }
.btn:hover svg { transform: translateX(4px); }

.btn-teal { background: var(--teal); color: #16181c; }
.btn-teal:hover { background: #C4D8C6; color: #16181c; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(172,197,174,0.35); }

.btn-ghost { background: rgba(255,255,255,0.35); color: var(--ink); border: 1.5px solid rgba(33,37,41,0.3); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(255,255,255,0.6); }

.btn-line { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-line:hover { border-color: var(--teal); color: var(--teal-dark); }

.btn-white { background: #fff; color: #212529; }
.btn-white:hover { background: var(--teal); color: #16181c; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal-dark);
}
.arrow-link svg { width: 15px; height: 15px; transition: transform .2s; }
.arrow-link:hover svg { transform: translateX(4px); }

/* ===== NAV ===== */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  z-index: 100;
  transition: background .35s ease, box-shadow .35s ease;
}
.site-nav.scrolled {
  background: var(--bg);
  box-shadow: 0 1px 16px rgba(12,17,20,0.08);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; display: block; }

/* Logo-Varianten: schwarz auf hellem Grund, weiß über Hero und im Dark Mode */
.logo-on-dark { display: none; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  display: block;
  padding: 9px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink-2);
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.site-nav.at-top .nav-links a { color: var(--ink-2); }
.nav-links a:hover { background: var(--teal-pale); color: var(--teal-dark); }
.site-nav.at-top .nav-links a:hover { background: rgba(255,255,255,0.55); color: var(--teal-dark); }
.nav-links a.active { color: var(--teal-dark); }
.site-nav.at-top .nav-links a.active { color: var(--teal-dark); }

.nav-links .nav-cta a {
  background: var(--teal);
  color: #16181c;
  padding: 10px 20px;
  margin-left: 8px;
}
.nav-links .nav-cta a:hover { background: #C4D8C6; color: #16181c; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer; padding: 10px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  width: 23px; height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: background .3s;
}
.site-nav.at-top .nav-toggle span { background: var(--ink); }

/* ===== HERO (Schwarzwald) ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  position: relative;
  /* Goldener Schnitt: Headline-Zone beginnt bei ~30vh, Blickpunkt bei ~38 % */
  padding: max(27vh, 150px) 24px 90px;
  background:
    linear-gradient(to bottom, rgba(248,250,249,0.90) 0%, rgba(244,247,245,0.72) 34%, rgba(238,243,240,0.30) 58%, rgba(22,29,24,0.10) 78%, rgba(16,22,18,0.32) 100%),
    url('../assets/img/hero.jpg') center 38% / cover no-repeat;
  background-color: var(--dark);
}

.hero-content { max-width: 860px; position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  font-weight: 800;
  color: var(--ink);
  text-shadow: 0 1px 22px rgba(255,255,255,0.65);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

/* ===== MISSION (ruhiger Abschluss vor dem Kontakt) ===== */
.mission { padding: 88px 0; }
.mission-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.mission-rule {
  width: 44px; height: 3px;
  background: var(--teal);
  margin: 0 auto 30px;
  border-radius: 2px;
}
.mission-line {
  font-family: 'Aptos Display', 'Aptos', 'Open Sans', 'Segoe UI', sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 18px;
  text-wrap: balance;
}
.mission-sub {
  font-size: 1.02rem;
  color: var(--ink-3);
  max-width: 52ch;
  margin: 0 auto;
}

.hero-tag {
  position: absolute;
  right: 2%;
  top: -64px;
  font-family: "Caveat", cursive;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink-2);
  text-shadow: 0 1px 12px rgba(255,255,255,0.7);
  transform: rotate(-5deg);
}
.hero-content { position: relative; }
@media (max-width: 720px) {
  .hero-tag { position: static; display: inline-block; margin-bottom: 10px; }
}

.hero-kicker {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
  text-shadow: 0 1px 14px rgba(255,255,255,0.6);
  margin: 0 auto 10px;
}

.hero-text {
  font-size: 1.04rem;
  color: var(--ink-2);
  text-shadow: 0 1px 14px rgba(255,255,255,0.6);
  max-width: 52ch;
  margin: 0 auto 44px;
  line-height: 1.65;
  text-wrap: balance;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-scroll .line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-scroll .line { animation: pulse 2.2s ease-in-out infinite; }
  @keyframes pulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
}

/* ===== FAKTENBAND ===== */
/* Faktenband: feste helle Markenfläche in beiden Themes (Mittagslicht) */
.band { background: #EDF3EE; padding: 52px 0; }
.band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.band-item { text-align: center; padding: 0 12px; }
.band-item::before { content: ""; display: block; width: 30px; height: 3px; background: #ACC5AE; border-radius: 2px; margin: 0 auto 14px; }
.band-item .val {
  font-family: 'Aptos Display', 'Aptos', 'Open Sans', 'Segoe UI', sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  color: #212529;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.band-item .val .amp { color: #5E7D62; padding: 0 1px; }
.band-item .lbl { font-size: 0.8rem; color: #5b6560; margin-top: 6px; }

/* ===== ÜBER UNS ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
}
.about-solo { max-width: 780px; }
.about-text .lead,
.about-solo .lead {
  font-family: 'Aptos Display', 'Aptos', 'Open Sans', 'Segoe UI', sans-serif;
  font-size: clamp(1.25rem, 2.3vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 26px;
}
.about-text p { margin-bottom: 16px; font-size: 1rem; }
.about-sub {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 28px 0 8px;
}

/* k19b 28.10.2026 (NE-WFO-87): Tannenlinie und Bildband entfernt, kein Trenner mehr */

.about-aside { position: sticky; top: 110px; }

.credential {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  background: var(--bg-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.credential-icon {
  width: 40px; height: 40px;
  background: var(--teal-pale);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.credential-icon svg { width: 19px; height: 19px; color: var(--teal-dark); }
.credential b { font-size: 0.88rem; color: var(--ink); display: block; line-height: 1.3; }
.credential small { font-size: 0.76rem; color: var(--ink-3); font-weight: 600; }

/* ===== SCHWERPUNKTE (hell, Salbei-Karten) ===== */
.focus-section {
  background: var(--bg);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.focus-card {
  background: var(--teal-pale);
  border: 1px solid rgba(172,197,174,0.55);
  border-radius: var(--radius);
  padding: 38px 32px;
}
.focus-icon {
  width: 52px; height: 52px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.focus-icon svg { width: 24px; height: 24px; color: var(--teal-dark); }
.focus-card h3 { color: var(--ink); font-size: 1.2rem; margin-bottom: 12px; }
.focus-card p { font-size: 0.92rem; color: var(--ink-2); line-height: 1.68; }
.focus-card .arrow-link { color: var(--teal-dark); margin-top: 16px; }
.focus-card .arrow-link:hover { color: var(--link-hover); }

/* ===== ARBEITSWEISE ===== */
.register-line {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-3);
}

.method-intro {
  margin: 72px 0 28px;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.method-item {
  border-top: 3px solid var(--teal);
  padding-top: 26px;
}
.method-item h3 { font-size: 1.25rem; margin-bottom: 12px; }
.method-item p { font-size: 0.96rem; color: var(--ink-3); }

/* ===== LEISTUNGEN ===== */
.svc-row {
  display: grid;
  grid-template-columns: 290px 1fr auto;
  gap: 36px;
  padding: 30px 22px;
  border-radius: var(--radius);
  align-items: center;
  transition: background .2s;
}
.svc-row:hover { background: var(--bg); box-shadow: var(--shadow); }
.svc-row + .svc-row { margin-top: 4px; }
.svc-name {
  font-family: 'Aptos Display', 'Aptos', 'Open Sans', 'Segoe UI', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding-left: 16px;
  border-left: 3px solid var(--teal);
  line-height: 1.35;
}
.svc-desc { font-size: 0.94rem; color: var(--ink-3); }
.svc-desc strong { color: var(--ink); font-weight: 700; }
.svc-row svg { width: 17px; height: 17px; color: var(--line); transition: color .2s, transform .2s; }
.svc-row:hover svg { color: var(--teal); transform: translateX(4px); }

.svc-note {
  margin-top: 36px;
  font-size: 0.88rem;
  color: var(--ink-3);
  padding-left: 22px;
}

/* ===== LEISTUNGSLISTE (Visitenkarte) ===== */
.svc-simple {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 56px;
  max-width: 760px;
}
.svc-simple div {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  padding-left: 30px;
  position: relative;
}
.svc-simple div::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 18px; height: 2px;
  background: #ACC5AE;
  border-radius: 1px;
}

/* ===== TEASER ===== */
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.teaser-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: var(--bg);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.teaser-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); }
.teaser-card .t-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.teaser-card h3 { font-size: 1.35rem; }
.teaser-card p { font-size: 0.94rem; color: var(--ink-3); flex: 1; }

/* ===== MANDANTEN-LEISTE ===== */
.client-strip { padding: 44px 0; }
.client-line {
  text-align: center;
  font-size: 0.98rem;
  color: var(--ink-3);
  margin: 0;
}
.client-line a { font-weight: 700; color: var(--teal-dark); }

/* ===== KONTAKT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-rows { border-top: 1px solid var(--line); }
.contact-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.contact-row .k {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 4px;
}
.contact-row .v { color: var(--ink); font-weight: 600; }

.contact-panel {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 46px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  min-height: 360px;
  box-shadow: var(--shadow);
}
.contact-panel h3 { color: #fff; font-size: 1.45rem; margin-bottom: 12px; }
.contact-panel p { color: var(--dark-muted); font-size: 0.95rem; }

/* ===== FOOTER ===== */
.site-footer { background: var(--dark); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1.3fr 0.9fr 0.9fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { font-size: 0.88rem; color: var(--dark-muted); max-width: 300px; }
.footer-tag { font-family: "Caveat", cursive; color: #ACC5AE; font-weight: 700; font-size: 1.45rem; margin-top: 8px; transform: rotate(-2deg); display: inline-block; }

.site-footer h2, .site-footer h3, .site-footer h4 {
  font-family: 'Aptos', 'Open Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark-text);
  margin-bottom: 18px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: var(--dark-muted); font-weight: 600; }
.footer-links a:hover { color: var(--teal-light); }

.footer-bottom {
  border-top: 1px solid var(--dark-line);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--teal-light); }

/* ===== UNTERSEITEN ===== */
.page-head {
  padding: 165px 0 70px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin-bottom: 16px; overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 480px) { .page-head h1 { font-size: 1.7rem; } }
.page-head p { font-size: 1.05rem; color: var(--ink-3); max-width: 640px; }

/* Portal-Karten */
.portal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.portal-grid.drei { grid-template-columns: repeat(3, 1fr); }
.portal-card p strong { color: var(--ink); }

/* Zuordnungstabelle Haeufige Irrwege (datev.html) */
table.irrwege { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
table.irrwege th, table.irrwege td { text-align: left; vertical-align: top; padding: 16px 14px; border-bottom: 1px solid var(--line); }
table.irrwege th { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
table.irrwege td { color: var(--ink-3); }
table.irrwege td strong { color: var(--ink); font-weight: 700; }
table.irrwege td:last-child { color: var(--ink); }
.portal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.portal-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); }
.portal-card .p-top { display: flex; justify-content: space-between; align-items: flex-start; }
.portal-icon {
  width: 48px; height: 48px;
  background: var(--teal-pale);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
}
.portal-icon svg { width: 22px; height: 22px; color: var(--teal-dark); }
.portal-tag {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 12px;
}
.portal-card h2, .portal-card h3 { font-size: 1.22rem; }
.portal-card p { font-size: 0.92rem; color: var(--ink-3); flex: 1; }

.note-box {
  border-left: 3px solid var(--teal);
  background: var(--bg-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 24px 28px;
  margin-top: 38px;
  font-size: 0.92rem;
}
.note-box strong { color: var(--ink); }

/* Merkblatt-Container (Deubner-Einbau) */
.merkblatt-einbau:empty, .merkblatt-fallback { display: none; }
.merkblatt-einbau:empty + .merkblatt-fallback { display: block; }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.video-thumb {
  aspect-ratio: 16/9;
  background: var(--dark);
  position: relative;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.video-thumb .play {
  width: 56px; height: 56px;
  background: var(--teal);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.video-thumb:hover .play { background: #C4D8C6; transform: scale(1.07); }
.video-thumb .play svg { width: 19px; height: 19px; color: #16181c; margin-left: 3px; }
.video-thumb .consent {
  position: absolute;
  bottom: 10px; left: 14px; right: 14px;
  font-size: 0.66rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-body { padding: 20px 24px; }
.video-tag {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-pale);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 10px;
}
.video-body h3 { font-family: 'Aptos', 'Open Sans', sans-serif; font-weight: 800; font-size: 0.98rem; margin-bottom: 6px; color: var(--ink); }
.video-body p { font-size: 0.84rem; color: var(--ink-3); }

/* Downloads */
.dl-row {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 26px;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: center;
  background: var(--bg);
  margin-bottom: 14px;
  transition: border-color .25s, box-shadow .25s;
}
.dl-row:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.dl-icon {
  width: 54px; height: 54px;
  background: var(--teal-pale);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
}
.dl-icon svg { width: 23px; height: 23px; color: var(--teal-dark); }
.dl-info h2, .dl-info h3 { font-family: 'Aptos', 'Open Sans', sans-serif; font-weight: 800; font-size: 1rem; color: var(--ink); margin-bottom: 3px; }
.dl-info p { font-size: 0.87rem; color: var(--ink-3); }
.dl-meta {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 5px;
}

/* Legal */
.legal-body { max-width: 780px; padding: 60px 0 100px; }
.legal-body h2 { font-size: 1.32rem; margin: 42px 0 16px; }
.legal-body h3 { font-size: 1.06rem; margin: 28px 0 12px; font-family: 'Aptos', 'Open Sans', sans-serif; font-weight: 800; }
.legal-body p { margin-bottom: 15px; font-size: 0.95rem; }
.legal-body ul { margin: 0 0 15px 22px; }
.legal-body li { margin-bottom: 7px; font-size: 0.95rem; }
.legal-body .imprint-block { margin-bottom: 26px; }
.legal-body .imprint-block .k {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 5px;
}

/* ===== SACHVERHALTSATLAS ===== */
.atlas {
  position: relative;
  margin-top: 56px;
  padding: 44px 44px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-light);
  overflow: hidden;
}
.atlas h3 { font-size: 1.25rem; margin-bottom: 6px; position: relative; }
.atlas > p { font-size: 0.95rem; color: var(--ink-3); margin-bottom: 24px; position: relative; }
.atlas-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 48px;
  position: relative;
}
.atlas-list li {
  padding: 11px 0;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 0.94rem;
  color: var(--ink-2);
}
.atlas-list a {
  display: block;
  color: var(--teal-dark);
}
.atlas-list a:hover { text-decoration: underline; }
.atlas-list li:nth-last-child(-n+2) { border-bottom: none; }

/* ===== GEGENPROBE (Schwerpunkt-Unterseiten) ===== */
.counter-check {
  margin-top: 48px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 36px;
}
.counter-check h3 { font-size: 1.15rem; margin-bottom: 6px; }
.counter-check > p { font-size: 0.9rem; color: var(--ink-3); margin-bottom: 16px; }
.counter-check ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.counter-check li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.counter-check li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 16px; height: 2px;
  background: #ACC5AE;
}

/* ===== WERKSTATTPROTOKOLL ===== */
.protocol {
  margin-top: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
}
.protocol-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.protocol-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  padding: 18px 26px;
  border-bottom: 1px dashed var(--line);
}
.protocol-step { font-weight: 700; color: var(--ink); font-size: 0.98rem; }
.protocol-step .amp { color: #5E7D62; }
.protocol-desc { font-size: 0.92rem; color: var(--ink-2); }
.protocol-foot { padding: 14px 26px; font-size: 0.8rem; color: var(--ink-3); }
@media (max-width: 720px) {
  .protocol-row { grid-template-columns: 1fr; gap: 6px; }
}

/* ===== ANIMATION =====
   Nur bei aktivem JS (html.js) starten Abschnitte unsichtbar;
   ohne JS bleibt alles lesbar. */
@media (prefers-reduced-motion: no-preference) {
  html.js .fade { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
  html.js .fade.in { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; }
}

/* ===== SKIP-LINK ===== */
.skip-link {
  position: fixed;
  top: -100px; left: 16px;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  transition: top .2s;
}
.skip-link:focus { top: 16px; color: var(--bg); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .band-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-aside { position: static; }
  .focus-grid { grid-template-columns: 1fr; }
  .teaser-grid, .portal-grid, .method-grid, .svc-simple { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .svc-row { grid-template-columns: 1fr; gap: 10px; }
  .svc-row svg { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* Mobile-Navigation bereits ab 1100px, darunter überläuft die Linkliste */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: var(--bg);
    box-shadow: 0 10px 26px rgba(12,17,20,0.12);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 28px 22px;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { display: flex; }
  body.nav-open { overflow: hidden; }
  .site-nav.at-top .nav-links a { color: var(--ink-2); }
  .nav-links .nav-cta a { margin: 10px 0 0; text-align: center; }
  .nav-toggle { display: flex; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .page-head { padding: 130px 0 54px; }
  .band-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .dl-row { grid-template-columns: 1fr; gap: 14px; }
  .contact-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ===== Deubner-Merkblaetter ===== */
.deubner-mmb .rubrik_header { margin: 32px 0 18px; }
.deubner-mmb .rubrik_n {
  font-family: 'Aptos', 'Open Sans', sans-serif;
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--ink);
}
.deubner-mmb ul { list-style: none; margin: 0; padding: 0; }
.deubner-mmb li.merkblattzeile {
  padding: 26px 22px;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color .25s;
}
.deubner-mmb li.merkblattzeile:hover { border-color: var(--teal); }
.deubner-mmb a.merkblatt {
  display: flex;
  gap: 12px;
  font-weight: 800;
  color: var(--ink);
}
.deubner-mmb a.merkblatt::before { content: '+'; color: var(--teal-dark); }
.deubner-mmb a.merkblatt[aria-expanded="true"]::before { content: '−'; }
.deubner-mmb div.mb_teaser { margin-top: 18px; }
.deubner-mmb p.mb_teaser { color: var(--ink-3); margin-bottom: 18px; }
.deubner-mmb a.mmb_download {
  display: inline-flex;
  padding: 14px 30px;
  font-family: 'Aptos', 'Open Sans', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--bg);
  text-decoration: none;
}
.deubner-mmb a.mmb_download:hover { border-color: var(--teal); color: var(--teal-dark); }
.deubner-mmb hr { display: none; }
.deubner-mmb .datenschutz { margin-top: 24px; font-size: .84rem; }
.deubner-mmb .mmb-suche { margin-bottom: 28px; }
.deubner-mmb .mmb-suche label { display: block; font-weight: 700; margin-bottom: 8px; }
.deubner-mmb .mmb-suche input {
  width: 100%;
  max-width: 560px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
.deubner-mmb .mmb-suche p { margin-top: 10px; color: var(--ink-2); }
.deubner-mmb a:focus-visible,
.deubner-mmb .mmb-suche input:focus-visible { outline: 2px solid var(--teal-dark); outline-offset: 3px; }
.deubner-mmb .merkblatt-hinweis {
  border-left: 3px solid var(--teal);
  background: var(--bg-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 24px 28px;
  margin-top: 38px;
  font-size: .92rem;
}

/* k6 25.10.2026: Untermenues im Kopfmenue (Zeiger, Tastatur, Handy) und zentrierte Fusszeilenzeile */
.nav-links .has-sub { position: relative; }
.nav-links .sub-menu { list-style: none; margin: 0; padding: 0; }
.footer-brand p { text-align: center; max-width: min(320px, 100%); }
@media (min-width: 1101px) {
  .nav-links .sub-menu {
    display: none; position: absolute; top: 100%; left: 0; min-width: 300px;
    background: var(--bg); box-shadow: 0 10px 26px rgba(12,17,20,0.14);
    border-radius: var(--radius-sm); padding: 8px; z-index: 60;
  }
  .nav-links .has-sub:hover > .sub-menu,
  .nav-links .has-sub:focus-within > .sub-menu { display: block; }
  .nav-links .sub-menu a { white-space: normal; font-weight: 600; color: var(--ink-2); }
  .site-nav.at-top .nav-links .sub-menu a { color: var(--ink-2); }
  .site-nav.at-top .nav-links .sub-menu a:hover { background: var(--teal-pale); color: var(--teal-dark); }
}
@media (max-width: 1100px) {
  .nav-links .sub-menu { padding-left: 16px; }
  .nav-links .sub-menu a { font-weight: 600; font-size: 0.82rem; padding: 7px 14px; }
}

/* k8 25.10.2026: Login-Schaltflaechen der DATEV-Seite (gross, gruen, volle Breite in den Karten) */
.btn-login {
  background: var(--teal-dark); color: #fff;
  font-size: 1.05rem; padding: 18px 32px; gap: 12px;
  justify-content: center; width: 100%; margin-top: 22px;
  box-shadow: 0 6px 18px rgba(94,125,98,0.28);
}
.btn-login:hover, .btn-login:focus-visible { background: #4C6950; color: #fff; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(94,125,98,0.36); }
.btn-login svg { width: 18px; height: 18px; color: #fff; }
.portal-card .btn-login { margin-top: auto; }
.svc-row .btn-login { width: auto; margin-top: 0; align-self: center; padding: 16px 30px; }
.svc-row:hover .btn-login svg { color: #fff; }
@media (max-width: 1100px) { .svc-row .btn-login { width: 100%; } }
