:root {
    --dark: #434343;
    --dark-soft: #4E4D4B;
    --gold: #E5D1A6;
    --gold-soft: #EFE4C8;
    --bronze: #8A7134;
    --ivory: #F7F5F0;
    --paper: #FFFFFF;
    --ink: #2F2F2D;
    --muted: #767268;
    --line: #E4E1D7;
    --on-dark: #F2EFE8;
    --on-dark-muted: #C9C5BA;
    --todo-bg: #F5E9CB;
    --todo-ink: #6E5619;
  }

  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: "Avenir Next", Avenir, Futura, "Century Gothic", "Trebuchet MS", sans-serif;
    line-height: 1.65;
    font-size: 1.0625rem;
  }

  .wrap { max-width: 76rem; margin: 0 auto; padding: 0 1.5rem; }
  .narrow { max-width: 44rem; }

  .display { font-family: "Avenir Next", Avenir, Futura, "Century Gothic", "Trebuchet MS", sans-serif; }

  h1, h2 {
    font-family: "Avenir Next", Avenir, Futura, "Century Gothic", "Trebuchet MS", sans-serif;
    font-weight: 600;
    letter-spacing: 0.005em;
    line-height: 1.18;
    text-wrap: balance;
    margin: 0 0 1.3rem;
  }
  h1 { font-size: clamp(2rem, 5.2vw, 3rem); }
  h2 { font-size: clamp(1.45rem, 3.4vw, 1.9rem); }
  /* Erste Ueberschrift einer Unterseite: fuer Google eine H1, optisch aber
     unveraendert so gross wie die bisherige H2. */
  h1.page-h { font-size: clamp(1.45rem, 3.4vw, 1.9rem); }
  h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
  p { margin: 0 0 1rem; max-width: 44rem; }

  .eyebrow {
    text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem; font-weight: 650;
    color: var(--bronze); margin: 0 0 1.1rem;
  }

  /* ---- Dunkler Kopfbereich ---- */
  .top { background: var(--dark); color: var(--on-dark); }
  header.site {
    display: flex; align-items: center; justify-content: flex-start; gap: 1rem;
    padding: 0.8rem 0;
  }
  header.site img.logo-h { height: 148px; width: auto; display: block; }
  header.site a.contact-link {
    color: var(--gold); text-decoration: none; font-size: 0.9rem; font-weight: 650;
    text-transform: uppercase; letter-spacing: 0.1em;
  }
  header.site a.contact-link:hover, header.site a.contact-link:focus-visible { text-decoration: underline; }
  .header-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 0.3rem; }
  .header-phone { color: #FFFFFF; text-decoration: none; font-weight: 650; font-size: 1.15rem; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
  .header-phone:hover, .header-phone:focus-visible { color: var(--gold); }
  @media (max-width: 640px) { header.site img.logo-h { height: 92px; } .header-phone { font-size: 0.95rem; } header.site a.contact-link { font-size: 0.78rem; } }

  .hero-stage { position: relative; overflow: hidden; }
  .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
  .hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43,43,41,0.84) 0%, rgba(43,43,41,0.58) 46%, rgba(43,43,41,0.22) 78%, rgba(43,43,41,0.05) 100%); }
  .hero-content { position: relative; padding-top: 6.5rem; padding-bottom: 7.5rem; }
  .hero-content .eyebrow { color: var(--gold); }
  .hero-content h1 { color: #FFFFFF; max-width: 30rem; text-shadow: 0 1px 24px rgba(30,30,28,0.35); }
  .hero-content .lede { font-size: 1.2rem; color: #ECEAE3; max-width: 32rem; text-shadow: 0 1px 16px rgba(30,30,28,0.4); }
  @media (max-width: 640px) { .hero-shade { background: linear-gradient(180deg, rgba(43,43,41,0.55) 0%, rgba(43,43,41,0.78) 100%); } }
  .hero { padding: 4rem 0 4.5rem; }
  .hero .eyebrow { color: var(--gold); }
  .hero h1 { color: #FFFFFF; }
  .hero .lede { font-size: 1.2rem; color: var(--on-dark-muted); max-width: 38rem; }

  .btn {
    display: inline-block; background: var(--gold); color: var(--dark);
    padding: 0.85rem 1.6rem; border-radius: 3px; text-decoration: none; font-weight: 700; font-size: 1rem;
  }
  .btn:hover, .btn:focus-visible { background: var(--gold-soft); }
  .btn-row { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; margin-top: 1.9rem; }
  .btn-quiet { color: var(--gold); text-decoration: none; font-weight: 600; }
  .btn-quiet:hover, .btn-quiet:focus-visible { text-decoration: underline; }
  @media (max-width: 400px) { .btn { font-size: 0.94rem; padding-left: 1.25rem; padding-right: 1.25rem; } }
  .hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
  @media (max-width: 760px) { .hero-grid { grid-template-columns: 1fr; } }

  /* ---- Foto-Platzhalter ---- */
  .photo-ph {
    border: 2px dashed var(--gold);
    background: var(--paper);
    border-radius: 4px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem;
    color: var(--muted); text-align: center; padding: 1rem; font-size: 0.9rem;
  }
  .photo-ph strong { color: var(--todo-ink); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; }
  .hero .photo-ph { background: var(--dark-soft); color: var(--on-dark-muted); }
  .hero .photo-ph strong { color: var(--gold); }
  .ph-hero { min-height: 320px; }
  .ph-portrait { min-height: 300px; }
  .ph-tile { min-height: 220px; }
  .ph-cam { font-size: 1.6rem; line-height: 1; }

  mark.todo {
    background: var(--todo-bg); color: var(--todo-ink);
    padding: 0.05em 0.35em; border-radius: 3px; font-weight: 600;
  }

  /* ---- Goldband ---- */
  .strip { background: var(--gold); }
  .strip .inner { padding: 2.4rem 1.5rem; }
  .strip-h {
    color: var(--dark);
    font-family: "Avenir Next", Avenir, Futura, "Century Gothic", "Trebuchet MS", sans-serif;
    font-weight: 600; letter-spacing: 0.005em; font-size: clamp(1.45rem, 3.4vw, 1.9rem); line-height: 1.18;
    max-width: 40rem; margin: 0 0 1.1rem; text-wrap: balance;
  }
  .strip-intro { color: var(--dark); font-size: 1.05rem; line-height: 1.55; max-width: 44rem; margin: 0 0 1.2rem; }
  .strip-list { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: 0.85rem; max-width: 44rem; }
  .strip-list li { color: var(--dark); padding-left: 1.55rem; position: relative; font-size: 1.02rem; line-height: 1.5; }
  .strip-list li::before { content: "\25B8"; position: absolute; left: 0; top: 0.03em; color: var(--bronze); font-weight: 700; font-size: 0.95em; }
  .strip-close { color: var(--dark); font-weight: 650; font-size: 1.08rem; margin: 0; max-width: 44rem; }

  section { padding: 3.5rem 0; }
  section + section { border-top: 1px solid var(--line); }

  .svc { display: grid; grid-template-columns: 13rem 1fr; gap: 1.5rem 2.5rem; padding: 2rem 0; border-top: 1px solid var(--line); scroll-margin-top: 0.8rem; }
  .svc:first-of-type { border-top: none; padding-top: 1rem; }
  .svc-label { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem; font-weight: 650; color: var(--bronze); padding-top: 0.4rem; }
  .svc h3 { font-family: "Avenir Next", Avenir, Futura, "Century Gothic", "Trebuchet MS", sans-serif; font-weight: 600; font-size: 1.3rem; letter-spacing: 0.005em; }
    .svc-sub { font-family: "Avenir Next", Avenir, Futura, "Century Gothic", "Trebuchet MS", sans-serif; font-weight: 600; font-size: 1.3rem; letter-spacing: 0.005em; margin: 1.9rem 0 0.5rem; }
  .svc p:last-child { margin-bottom: 0; }
  .checks { list-style: none; margin: 0.4rem 0 0; padding: 0; display: grid; gap: 0.45rem; max-width: 44rem; }
  .checks li { padding-left: 1.6rem; position: relative; }
  .checks li::before { content: "✓"; position: absolute; left: 0; color: var(--bronze); font-weight: 700; }
  .portals-lead { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; font-weight: 650; color: var(--muted); margin: 1.8rem 0 0.6rem; }
  .portals { display: flex; flex-wrap: wrap; gap: 0.4rem 1.8rem; align-items: baseline; }
  .portals span { font-family: "Avenir Next", Avenir, Futura, "Century Gothic", "Trebuchet MS", sans-serif; font-weight: 600; font-size: 1.05rem; letter-spacing: 0.005em; color: var(--muted); }
  .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.3rem; margin-bottom: 2rem; max-width: 46rem; }
  .tile { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 1rem 1.1rem; }
  .tile h4 { font-family: "Avenir Next", Avenir, Futura, "Century Gothic", "Trebuchet MS", sans-serif; font-weight: 650; font-size: 0.98rem; letter-spacing: 0.005em; margin: 0 0 0.35rem; color: var(--ink); }
  .tile p { font-size: 0.88rem; line-height: 1.5; color: var(--muted); margin: 0; }
  @media (max-width: 720px) { .tiles { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 460px) { .tiles { grid-template-columns: 1fr; } }
  .options { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.6rem; max-width: 46rem; }
  .option { background: var(--accent-soft); border: 1px solid var(--line); border-radius: 6px; padding: 1.3rem 1.4rem; }
  .option-tag { display: inline-block; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem; font-weight: 650; color: var(--bronze); margin-bottom: 0.5rem; }
  .option h4 { font-family: "Avenir Next", Avenir, Futura, "Century Gothic", "Trebuchet MS", sans-serif; font-weight: 650; font-size: 0.98rem; letter-spacing: 0.005em; margin: 0 0 0.5rem; color: var(--ink); }
  .option p { font-size: 0.92rem; line-height: 1.55; color: var(--muted); margin: 0; }
  @media (max-width: 640px) { .options { grid-template-columns: 1fr; } }
  .upsell-note { font-size: 0.95rem; color: var(--muted); margin: 1.8rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
  .svc-cta { margin: 1.5rem 0 0; }
  @media (max-width: 640px) { .svc { grid-template-columns: 1fr; gap: 0.5rem; } }

  .timeline { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
  .timeline li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.5rem; min-height: 46px; }
  .timeline .year { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--bronze); }
  .timeline p { margin: 0; }

  .awards { margin-top: 2.6rem; }
  .awards .lead-in { font-weight: 650; margin-bottom: 1.2rem; }
  .award-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 40rem; }
  .award-tiles img { width: 100%; height: auto; display: block; border-radius: 6px; }
  @media (max-width: 640px) { .award-tiles { grid-template-columns: 1fr; } }

  .gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 2rem; }
  .gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; display: block; }
  .hero-img { width: 100%; height: auto; border-radius: 4px; display: block; }
  .portrait-img { width: 100%; height: auto; border-radius: 4px; display: block; }
  .vn-img { width: 100%; height: auto; border-radius: 4px; display: block; margin-top: 1.6rem; }
  .gallery2 { columns: 3; column-gap: 1rem; margin-top: 1rem; }
  .gallery2 img { width: 100%; height: auto; border-radius: 4px; display: block; margin-bottom: 1rem; break-inside: avoid; }
  @media (max-width: 640px) { .gallery2 { columns: 2; } }
  @media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }

  .about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
  @media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }

  ol.steps { list-style: none; counter-reset: step; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.8rem; }
  ol.steps li { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: 1.3rem; }
  ol.steps li::before {
    content: counter(step);
    font-family: "Avenir Next", Avenir, Futura, "Century Gothic", "Trebuchet MS", sans-serif;
    font-size: 1.3rem; font-weight: 600; color: var(--bronze);
    border: 1px solid var(--line); border-radius: 50%;
    width: 2.6rem; height: 2.6rem; display: flex; align-items: center; justify-content: center;
    background: var(--paper);
  }
  ol.steps p { margin: 0.15rem 0 0; }
  ol.steps strong { font-size: 1.05rem; }

  a { color: var(--bronze); }

  .contact-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
    padding: 2.2rem; display: grid; gap: 0.6rem; max-width: 34rem; margin-top: 1.5rem;
  }
  .contact-card a { color: var(--bronze); font-weight: 650; text-decoration: none; }
  .contact-card a:hover, .contact-card a:focus-visible { text-decoration: underline; }

  /* ---- Dunkler Fuß ---- */
  footer.site { background: var(--dark); color: var(--on-dark-muted); margin-top: 3.5rem; padding: 3rem 0 2.5rem; font-size: 0.9rem; overflow: hidden; }
  footer.site img.logo-s { height: 150px; width: auto; display: block; margin-left: -33px; margin-bottom: 1.6rem; }
  footer.site a { color: var(--gold); }
  footer.site details { margin-top: 1.2rem; max-width: 44rem; }
  footer.site summary { cursor: pointer; color: var(--gold); font-weight: 650; }
  footer.site .legal { margin-top: 0.8rem; line-height: 1.7; }
  .foot-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; border-top: 1px solid var(--dark-soft); padding-top: 1.4rem; }

  @media (prefers-reduced-motion: no-preference) {
    .hero-content > * { animation: rise 0.6s ease both; }
    @keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  }

  /* ===== Mehrseitige Struktur: Navigation, Seiten, neue Bausteine ===== */
  .topbar { position: relative; background: var(--dark); }
  .topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; padding-top: 0.65rem; padding-bottom: 0.65rem; }
  .brand { display: inline-flex; }
  .topbar .logo-h { height: 153px; width: auto; display: block; margin-left: -41px; transform: translateY(-7.3%); }
  .mainnav { display: flex; gap: 1.1rem; align-items: center; margin-right: 1.5rem; }
  .mainnav a { color: #FFFFFF; text-decoration: none; font-weight: 650; font-size: 0.88rem; padding: 0.25rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
  .mainnav a:hover { color: var(--gold); }
  .mainnav a.active { color: var(--gold); border-bottom-color: var(--gold); }
  .nav-burger { display: none; background: none; border: 1px solid rgba(255,255,255,0.4); border-radius: 4px; padding: 0.4rem 0.6rem; cursor: pointer; color: #FFFFFF; font-size: 1.2rem; line-height: 1; }
  @media (min-width: 900px) {
    .topbar .logo-h { height: 173px; margin-left: -48px; }
  }
  @media (min-width: 1040px) {
    .topbar .logo-h { height: 213px; margin-left: -59px; }
    .mainnav { gap: 1.5rem; }
    .mainnav a { font-size: 0.95rem; }
  }
  @media (max-width: 760px) {
    .topbar .logo-h { height: 96px; margin-left: -27px; }
    footer.site img.logo-s { height: 110px; margin-left: -25px; }
    .nav-burger { display: inline-flex; }
    .mainnav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: var(--dark); border-bottom: 1px solid rgba(255,255,255,0.18); flex-direction: column; align-items: flex-start; gap: 0; padding: 0.4rem 1.5rem 1rem; margin-right: 0; }
    .mainnav.open { display: flex; }
    .mainnav a { padding: 0.6rem 0; font-size: 1.05rem; width: 100%; border-bottom: 2px solid transparent; }
  }
  /* Aufklappbares Untermenue "Leistungen" */
  .mainnav .has-sub { position: relative; display: inline-flex; align-items: center; gap: 0.25rem; }
  .mainnav .sub-toggle { background: none; border: none; margin: 0; padding: 0.25rem 0.15rem; cursor: pointer; color: inherit; display: inline-flex; align-items: center; line-height: 1; }
  .mainnav .chev { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #FFFFFF; display: inline-block; transition: transform 0.2s ease; }
  .mainnav .has-sub:hover .chev, .mainnav .has-sub.open .chev { transform: rotate(180deg); }
  .mainnav .submenu { display: none; position: absolute; top: 100%; left: 0; min-width: 17rem; background: var(--dark); border: 1px solid rgba(255,255,255,0.12); border-top: 2px solid var(--gold); box-shadow: 0 14px 30px rgba(0,0,0,0.3); padding: 0.4rem 0; z-index: 70; }
  .mainnav .has-sub:hover .submenu, .mainnav .has-sub:focus-within .submenu, .mainnav .has-sub.open .submenu { display: block; }
  .mainnav .submenu a { display: block; width: auto; white-space: normal; color: #FFFFFF; font-weight: 600; font-size: 0.95rem; padding: 0.6rem 1.2rem; border-bottom: none; }
  .mainnav .submenu a:hover { color: var(--gold); background: rgba(255,255,255,0.06); }
  @media (max-width: 760px) {
    .mainnav .has-sub { display: flex; flex-wrap: wrap; width: 100%; align-items: center; }
    .mainnav .has-sub > .nav-top { flex: 1; width: auto; }
    .mainnav .sub-toggle { padding: 0.6rem 0.4rem; }
    .mainnav .chev { border-top-width: 6px; border-left-width: 5px; border-right-width: 5px; }
    .mainnav .submenu { position: static; width: 100%; min-width: 0; border: none; border-top: 1px solid rgba(255,255,255,0.12); box-shadow: none; background: rgba(255,255,255,0.04); padding: 0.2rem 0; }
    .mainnav .has-sub:hover .submenu, .mainnav .has-sub:focus-within .submenu { display: none; }
    .mainnav .has-sub.open .submenu { display: block; }
    .mainnav .submenu a { padding: 0.55rem 0.8rem 0.55rem 1rem; font-size: 1rem; }
  }
  .page { display: none; }
  .page.active { display: block; }
  .page > .wrap > section:first-child { border-top: none; }

  .teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.6rem; }
  .teaser-grid--four { grid-template-columns: repeat(2, 1fr); }
  @media (max-width: 900px) { .teaser-grid, .teaser-grid--four { grid-template-columns: 1fr; } }
  a.teaser { display: block; color: inherit; text-decoration: none; }
  a.teaser:hover h4, a.teaser:hover .tile-more { color: var(--bronze); }
  .tile-more { display: inline-block; margin-top: 0.55rem; color: var(--bronze); font-weight: 650; font-size: 0.9rem; }

  .textlink { color: var(--bronze); font-weight: 650; text-decoration: none; }
  .textlink:hover, .textlink:focus-visible { text-decoration: underline; }

  .price { font-family: "Avenir Next", Avenir, Futura, "Century Gothic", "Trebuchet MS", sans-serif; font-weight: 600; font-size: 1.3rem; letter-spacing: 0.005em; margin: 0.15rem 0 0.15rem; }
  .price-add { font-size: 0.85rem; font-weight: 500; color: var(--muted); margin: 0 0 0.6rem; }
  .price-note { font-size: 0.85rem; color: var(--muted); margin-top: 1.1rem; }

  .compare-head { font-family: "Avenir Next", Avenir, Futura, "Century Gothic", "Trebuchet MS", sans-serif; font-weight: 600; letter-spacing: 0.005em; margin: 2.6rem 0 0.4rem; font-size: 1.3rem; }
  .compare-wrap { max-width: 52rem; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 8px; }
  table.compare { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.92rem; background: var(--paper); }
  table.compare th, table.compare td { padding: 0.7rem 0.85rem; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
  table.compare thead th { background: var(--dark); color: var(--on-dark); font-weight: 650; font-size: 0.9rem; border-bottom: none; }
  table.compare thead th:first-child { background: var(--dark); }
  table.compare .compare-price { display: block; margin-top: 0.2rem; font-size: 0.8rem; font-weight: 600; color: var(--gold); }
  table.compare tbody th { text-align: left; font-weight: 600; color: var(--ink); background: var(--ivory); white-space: normal; }
  table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: none; }
  table.compare tbody tr:last-child { background: var(--gold-soft); }
  table.compare td.yes { color: var(--bronze); font-weight: 650; }
  table.compare td.no { color: var(--muted); }
  table.compare td.self { color: var(--muted); font-size: 0.85rem; }
  table.compare td.price-cell { font-weight: 700; color: var(--ink); }
  table.compare td.price-cell span { display: block; font-weight: 500; font-size: 0.78rem; color: var(--muted); }

  .legal-page { max-width: 44rem; line-height: 1.75; }
  .legal-page a { color: var(--bronze); }

  .foot-links { margin: 1.2rem 0 0; }

  /* ===== Umsatzrechner (nur auf der Rechner-Seite wirksam) ===== */
  #page-umsatzrechner { --calc-accent: #2E4B3C; }
  #page-umsatzrechner .calc { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; margin-top: 1.8rem; }
  @media (max-width: 760px) { #page-umsatzrechner .calc { grid-template-columns: 1fr; } }
  #page-umsatzrechner .panel { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 1.6rem 1.7rem; }
  .panel-h { font-family: "Avenir Next", Avenir, Futura, "Century Gothic", "Trebuchet MS", sans-serif; font-weight: 650; font-size: 0.98rem; letter-spacing: 0.005em; margin: 0 0 1.2rem; color: var(--ink); }
  #page-umsatzrechner .field { margin-bottom: 1.3rem; }
  #page-umsatzrechner .field:last-child { margin-bottom: 0; }
  #page-umsatzrechner .field label { display: block; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem; font-weight: 650; color: var(--muted); margin-bottom: 0.5rem; }
  #page-umsatzrechner .field .val { float: right; color: var(--bronze); font-variant-numeric: tabular-nums; letter-spacing: 0; text-transform: none; font-size: 0.88rem; }
  #page-umsatzrechner select { width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: 6px; background: var(--ivory); color: var(--ink); font: inherit; font-size: 0.98rem; cursor: pointer; }
  #page-umsatzrechner select:focus-visible { outline: 2px solid var(--calc-accent); outline-offset: 1px; }
  #page-umsatzrechner input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) 0%, var(--gold) var(--fill,50%), var(--line) var(--fill,50%), var(--line) 100%); cursor: pointer; }
  #page-umsatzrechner input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--calc-accent); border: 3px solid var(--paper); box-shadow: 0 1px 4px rgba(0,0,0,0.25); cursor: pointer; }
  #page-umsatzrechner input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--calc-accent); border: 3px solid var(--paper); cursor: pointer; }
  #page-umsatzrechner input[type=range]:focus-visible { outline: 2px solid var(--calc-accent); outline-offset: 4px; }
  #page-umsatzrechner .range-scale { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--muted); margin-top: 0.35rem; font-variant-numeric: tabular-nums; }
  #page-umsatzrechner .result { background: var(--dark); color: var(--on-dark); border: none; }
  #page-umsatzrechner .result-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
  #page-umsatzrechner .result-head .panel-h { color: var(--gold); margin: 0; }
  #page-umsatzrechner .toggle { display: inline-flex; background: rgba(255,255,255,0.09); border-radius: 999px; padding: 3px; }
  #page-umsatzrechner .toggle button { border: none; background: transparent; color: var(--on-dark-muted); font: inherit; font-size: 0.8rem; font-weight: 650; padding: 0.35rem 0.85rem; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; }
  #page-umsatzrechner .toggle button.active { background: var(--gold); color: var(--dark); }
  #page-umsatzrechner .toggle button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
  #page-umsatzrechner .hero-num { text-align: center; padding: 1.2rem 0 0.3rem; }
  #page-umsatzrechner .hero-num .big { font-size: clamp(2.2rem, 7vw, 3rem); font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1.05; }
  #page-umsatzrechner .hero-num .cap { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--on-dark-muted); margin-top: 0.3rem; }
  #page-umsatzrechner .result .sub { text-align: center; color: var(--on-dark-muted); font-size: 0.92rem; margin-top: 0.2rem; }
  #page-umsatzrechner .result .row { display: flex; justify-content: space-between; align-items: baseline; padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 0.98rem; }
  #page-umsatzrechner .result .row .num { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; flex: 0 0 auto; }
  #page-umsatzrechner .result .row.minus .num { color: #E9C79B; }
  #page-umsatzrechner .result .row.subtotal { color: var(--on-dark-muted); font-size: 0.9rem; }
  #page-umsatzrechner .result .row.total { border-bottom: none; font-weight: 700; font-size: 1.05rem; }
  #page-umsatzrechner .transparenz { display: flex; gap: 0.5rem; align-items: flex-start; margin: 1.2rem 0 0; padding: 0.8rem 0.9rem; background: rgba(255,255,255,0.06); border-radius: 6px; font-size: 0.86rem; color: var(--on-dark); line-height: 1.45; }
  #page-umsatzrechner .transparenz::before { content: "\2713"; color: var(--gold); font-weight: 700; }
  #page-umsatzrechner .closer { text-align: center; color: var(--gold); font-weight: 650; font-size: 1.08rem; line-height: 1.4; margin: 1.7rem 0 0; }
  #page-umsatzrechner .calc-btn { display: block; width: max-content; max-width: 100%; margin: 1rem auto 0; text-align: center; }
  #page-umsatzrechner .disclaimer { font-size: 0.8rem; color: var(--muted); margin-top: 1.6rem; line-height: 1.5; max-width: 44rem; }
  #page-umsatzrechner .disclaimer strong { color: var(--ink); }
  #page-umsatzrechner .hint { font-size: 0.76rem; color: var(--muted); line-height: 1.45; margin: 0.45rem 0 0; }
  #page-umsatzrechner .more { margin-top: 1.4rem; border-top: 1px solid var(--line); padding-top: 1.1rem; }
  #page-umsatzrechner .more > summary { list-style: none; cursor: pointer; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.74rem; font-weight: 650; color: var(--bronze); }
  #page-umsatzrechner .more > summary::-webkit-details-marker { display: none; }
  #page-umsatzrechner .more > summary::before { content: "+"; display: inline-block; width: 1.1em; font-size: 1.05em; line-height: 1; }
  #page-umsatzrechner .more[open] > summary::before { content: "\2013"; }
  #page-umsatzrechner .more > summary:focus-visible { outline: 2px solid var(--calc-accent); outline-offset: 3px; }
  #page-umsatzrechner .more .field { margin-top: 1.25rem; margin-bottom: 0; }
  #page-umsatzrechner .result .row > span:first-child { flex: 1 1 auto; padding-right: 0.9rem; }
  #page-umsatzrechner .result .row .det { display: block; font-size: 0.76rem; font-weight: 400; color: var(--on-dark-muted); margin-top: 0.15rem; line-height: 1.35; }

  /* ---- Cookie-Zustimmung ---- */
  button.btn { border: none; cursor: pointer; font-family: inherit; }
  .cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--dark); color: var(--on-dark); border-top: 2px solid var(--gold); box-shadow: 0 -8px 30px rgba(0,0,0,0.28); }
  .cookie-banner[hidden] { display: none; }
  .cookie-inner { max-width: 76rem; margin: 0 auto; padding: 1.1rem 1.5rem; display: flex; gap: 1rem 1.6rem; align-items: center; flex-wrap: wrap; justify-content: space-between; }
  .cookie-text { flex: 1 1 30rem; }
  .cookie-text strong { color: #FFFFFF; font-size: 1rem; }
  .cookie-text p { margin: 0.3rem 0 0; font-size: 0.9rem; line-height: 1.5; color: var(--on-dark-muted); max-width: 46rem; }
  .cookie-text a { color: var(--gold); }
  .cookie-actions { display: flex; gap: 0.7rem; align-items: center; flex-wrap: wrap; }
  .cookie-alt { background: transparent; color: var(--on-dark); border: 1px solid rgba(255,255,255,0.45); border-radius: 3px; padding: 0.8rem 1.3rem; font-weight: 650; font-size: 0.95rem; cursor: pointer; font-family: inherit; }
  .cookie-alt:hover, .cookie-alt:focus-visible { border-color: var(--gold); color: var(--gold); }
  .cookie-link { background: none; border: none; color: var(--gold); font-weight: 650; font-size: 0.9rem; cursor: pointer; text-decoration: underline; font-family: inherit; padding: 0.5rem 0.4rem; }
  @media (max-width: 640px) { .cookie-actions { width: 100%; } .cookie-actions .btn, .cookie-actions .cookie-alt { flex: 1 1 auto; text-align: center; } }

  .cookie-modal { position: fixed; inset: 0; z-index: 210; display: flex; align-items: center; justify-content: center; padding: 1.2rem; }
  .cookie-modal[hidden] { display: none; }
  .cookie-modal-backdrop { position: absolute; inset: 0; background: rgba(30,30,28,0.55); }
  .cookie-modal-card { position: relative; background: var(--paper); color: var(--ink); border-radius: 8px; max-width: 34rem; width: 100%; padding: 1.8rem; box-shadow: 0 24px 60px rgba(0,0,0,0.3); max-height: 90vh; overflow-y: auto; }
  .cookie-modal-card h3 { margin: 0 0 0.6rem; font-family: "Avenir Next", Avenir, Futura, "Century Gothic", "Trebuchet MS", sans-serif; font-weight: 600; letter-spacing: 0.005em; font-size: 1.3rem; }
  .cookie-modal-intro { font-size: 0.92rem; color: var(--muted); margin: 0 0 1.2rem; }
  .cookie-opt { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; border: 1px solid var(--line); border-radius: 6px; padding: 0.9rem 1rem; margin-bottom: 0.8rem; }
  label.cookie-opt { cursor: pointer; }
  .cookie-opt small { color: var(--muted); font-size: 0.82rem; line-height: 1.4; }
  .cookie-opt input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--bronze); flex: none; }
  .cookie-modal-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.2rem; }

  .foot-cookie { background: none; border: none; color: var(--gold); font: inherit; cursor: pointer; padding: 0; text-decoration: none; vertical-align: baseline; }
  .foot-cookie:hover, .foot-cookie:focus-visible { text-decoration: underline; }
