/* Hanse Mobile Power – Stylesheet (nachgebaut nach der Webflow-Seite, Stand 10/2026) */

@font-face { font-family: "Mona Sans"; src: url("/assets/fonts/MonaSans-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url("/assets/fonts/MonaSans-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url("/assets/fonts/MonaSans-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url("/assets/fonts/MonaSans-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --accent: #110f0e;
  --n800: #151314;
  --n700: #2b2528;
  --n600: #4d464a;
  --n500: #766c72;
  --n400: #9f979c;
  --n300: #dbd3d3;
  --n200: #f9f6f6;
  --n100: #ffffff;
  --light-bg: #f5f6f8;
  --radius-pill: 48px;
  --container: 1316px;
  --gutter: 24px;
  --section: 148px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--n100); color: var(--n600);
  font-family: "Mona Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 18px; line-height: 1.667; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; color: var(--n800); font-weight: 500; overflow-wrap: break-word; }
@media (max-width: 767px) { h1, h2, h3, h4 { hyphens: auto; -webkit-hyphens: auto; } }
ul { margin: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 776px; }
.center { text-align: center; }
.anchor-alias { position: absolute; margin-top: -1px; }
[id], .anchor-alias { scroll-margin-top: 96px; }
@media (max-width: 767px) { [id], .anchor-alias { scroll-margin-top: 80px; } }

/* Typografie */
.display-1 { font-size: 90px; line-height: 1.044; font-weight: 500; color: var(--n800); letter-spacing: -0.01em; }
.display-2 { font-size: 54px; line-height: 1.222; font-weight: 500; color: var(--n800); }
.display-3 { font-size: 34px; line-height: 1.294; font-weight: 500; color: var(--n800); }
.display-4 { font-size: 28px; line-height: 1.429; font-weight: 500; color: var(--n800); }
.light { color: var(--n100) !important; }
.muted-light { color: var(--n200); }
@media (max-width: 991px) {
  .display-1 { font-size: 72px; } .display-2 { font-size: 48px; } .display-3 { font-size: 32px; } .display-4 { font-size: 22px; }
  :root { --section: 120px; }
}
@media (max-width: 767px) {
  .display-1 { font-size: 56px; } .display-2 { font-size: 40px; } .display-3 { font-size: 26px; } .display-4 { font-size: 20px; }
  :root { --section: 96px; --gutter: 20px; }
  body { font-size: 17px; }
}
@media (max-width: 479px) { .display-1 { font-size: 46px; } .display-2 { font-size: 34px; } .display-3 { font-size: 22px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 20px 38px; border-radius: var(--radius-pill); border: 1px solid transparent;
  font: inherit; font-size: 18px; font-weight: 500; line-height: 1.111; text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn:hover { transform: scale(1.02); }
.btn .ico { transition: transform .3s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-small { padding: 14px 26px; font-size: 16px; }
.btn-primary { background: var(--n800); border-color: var(--n800); color: var(--n100); }
.btn-primary:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline { background: transparent; border-color: var(--n300); color: var(--n800); }
.btn-outline:hover { background: var(--n800); border-color: var(--n800); color: var(--n100); }
.btn-light { background: var(--n100); border-color: var(--n100); color: var(--n800); }
.btn-light:hover { background: transparent; color: var(--n100); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.45); color: var(--n100); }
.btn-outline-light:hover { background: var(--n100); border-color: var(--n100); color: var(--n800); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.center-row { justify-content: center; }

.social-link { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; color: inherit; transition: background-color .3s, color .3s; }
.social-link:hover { background: rgba(255,255,255,.12); }

/* Header */
.site-header { position: absolute; left: 0; right: 0; top: 0; z-index: 20; color: var(--n100); }
.has-dark-header .site-header, .page-legal .site-header { position: absolute; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.2); }
.logo img { width: 143px; height: auto; transition: transform .3s; }
.logo:hover img { transform: scale(1.03); }
.main-nav ul { display: flex; align-items: center; gap: 32px; list-style: none; padding: 0; margin: 0; }
.main-nav a { color: var(--n100); text-decoration: none; font-size: 18px; line-height: 1.111; position: relative; }
.main-nav li:not(.nav-cta-mobile) a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav li:not(.nav-cta-mobile) a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.header-right { display: flex; align-items: center; gap: 16px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .3s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.nav-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 991px) {
  .burger { display: block; }
  .header-cta { display: none; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--accent); padding: 8px var(--gutter) 28px; display: none; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0; }
  .main-nav li { width: 100%; border-bottom: 1px solid rgba(255,255,255,.12); }
  .main-nav li a { display: block; padding: 16px 0; font-size: 20px; }
  .main-nav li:not(.nav-cta-mobile) a::after { display: none; }
  .main-nav .nav-cta-mobile { display: block; border: 0; padding-top: 20px; }
  .main-nav .nav-cta-mobile a { display: inline-flex; padding: 14px 26px; }
  .nav-open .site-header { background: var(--accent); }
}
@media (max-width: 479px) { .header-right .social-link { display: none; } .logo img { width: 116px; } }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--n100); background: var(--accent); }
.hero-bg, .footer-top-bg, .image-top { position: absolute; inset: 0; }
.hero-video, .hero-bg img, .footer-top-bg img, .image-top img { width: 100%; height: 100%; object-fit: cover; }
.overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.hero-inner { position: relative; z-index: 1; padding-top: 236px; padding-bottom: 96px; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 220px; }
.hero h1 { max-width: 728px; }
.heading-line { display: inline-block; width: 100%; max-width: 140px; height: 4px; margin-left: 16px; background: var(--n100); transform: translateY(-22px); vertical-align: bottom; }
.hero-text { max-width: 422px; }
.hero-text p { color: var(--n200); margin-bottom: 32px; }
.hero-bottom { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 64px; margin: 0; max-width: 656px; }
.stats dt { margin-bottom: 8px; }
.stats .unit { font-size: 54px; vertical-align: top; line-height: 1.3; }
.stats dd { margin: 0; font-size: 20px; line-height: 1.1; color: var(--n200); }
.circle-btn { width: 140px; height: 140px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); display: flex; align-items: center; justify-content: center; color: var(--n100); transition: background-color .3s, color .3s, transform .3s; }
.circle-btn:hover { background: var(--n100); color: var(--n800); transform: scale(1.03); }
@media (max-width: 991px) {
  .hero-inner { padding-top: 200px; }
  .hero-top { flex-direction: column; align-items: flex-start; margin-bottom: 120px; }
  .hero-text { max-width: 560px; }
  .heading-line { max-width: 100px; margin-left: 12px; transform: translateY(-16px); }
  .circle-btn { width: 110px; height: 110px; }
}
@media (max-width: 767px) {
  .hero-inner { padding-top: 164px; padding-bottom: 64px; }
  .hero-top { margin-bottom: 80px; }
  .hero-bottom { grid-template-columns: 1fr; }
  .circle-btn { display: none; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .stats dt { font-size: 40px; }
  .stats .unit { font-size: 26px; }
  .stats dd { font-size: 15px; line-height: 1.3; }
  .heading-line { max-width: 64px; height: 3px; margin-left: 8px; transform: translateY(-10px); }
}

/* Abschnitte */
.section { position: relative; padding: var(--section) 0; }
.section-title { margin-bottom: 80px; }
.section-light { background: var(--light-bg); }

/* Leistungen */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.service-card { display: flex; flex-direction: column; padding: 40px 0 36px; border-bottom: 1px solid var(--n300); text-decoration: none; color: var(--n600); position: relative; }
.service-card::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--n800); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { display: inline-flex; color: var(--n800); margin-bottom: 16px; }
.service-icon.light { color: var(--n100); }
.service-card h3 { margin-bottom: 4px; }
.service-card p { margin-bottom: 24px; flex: 1; }
.service-card .more { display: inline-flex; align-items: center; gap: 6px; color: var(--n800); font-weight: 500; font-size: 16px; }
.service-card .more .ico { transition: transform .3s var(--ease); }
.service-card:hover .more .ico { transform: translate(3px, -3px); }
@media (max-width: 991px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 0 32px; } .section-title { margin-bottom: 48px; } }
@media (max-width: 767px) { .services-grid { grid-template-columns: 1fr; } }

/* Partner / Einsatzbereiche */
.section-partner { padding-top: 0; }
.partner-title { max-width: 460px; margin-bottom: 48px; }
.partner-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; position: relative; z-index: 1; }
.partner-img { width: 100%; height: auto; }
.areas { list-style: none; padding: 0; margin: 0; }
.area { display: flex; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--n300); }
.area:first-child { padding-top: 0; }
.area img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.area h3 { margin-bottom: 8px; }
.area ul { padding-left: 1.1em; }
.area li { margin-bottom: 2px; }
.section-bg-right { position: absolute; right: 0; top: 30%; bottom: 0; width: 34%; background: var(--light-bg); z-index: 0; }
.section-bg-left { position: absolute; left: 0; top: 0; bottom: 0; width: 38%; background: var(--light-bg); z-index: 0; }
@media (max-width: 991px) { .partner-grid { grid-template-columns: 1fr; gap: 48px; } .section-bg-right { display: none; } }

/* CTA */
.cta-section { position: relative; overflow: hidden; background: var(--accent); color: var(--n100); padding: 100px 0; }
.cta-title { max-width: 810px; }
.cta-divider { height: 1px; background: var(--n600); margin: 80px 0; }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-contact { display: flex; align-items: center; gap: 24px; font-size: 20px; font-weight: 500; }
.vdivider { width: 1px; height: 40px; background: var(--n700); }
.cta-mail { color: var(--n100); text-decoration: none; transition: color .3s; }
.cta-mail:hover { color: var(--n400); }
@media (max-width: 991px) { .cta-grid { grid-template-columns: 1fr; } .cta-divider { margin: 48px 0; } }
@media (max-width: 479px) { .cta-contact { flex-direction: column; align-items: flex-start; gap: 8px; } .vdivider { display: none; } .cta-mail { font-size: 18px; } }

/* Über uns */
.about { padding-bottom: 0; overflow: hidden; }
.about-row { display: grid; align-items: center; }
.about-row-1 { grid-template-columns: 1fr 762px; margin-bottom: 96px; }
.about-row-2 { grid-template-columns: 1fr 1fr; padding-bottom: var(--section); }
.about h2 .sub { font-size: .6em; color: var(--n600); font-weight: 500; }
.text-box { background: var(--n100); padding: 48px; box-shadow: 0 2px 20px rgba(0,0,0,.06); position: relative; z-index: 1; }
.text-box p:last-child { margin-bottom: 0; }
.text-box-left { margin-top: 40px; margin-right: -180px; }
.text-box-right { margin-left: -180px; }
.text-box-right p { margin-bottom: 24px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-right { margin-right: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2 + var(--gutter))); aspect-ratio: 762 / 640; }
.about-img-left { margin-left: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2 + var(--gutter))); aspect-ratio: 4 / 3; }
@media (max-width: 1100px) {
  .about-row-1, .about-row-2 { grid-template-columns: 1fr; }
  .text-box-left, .text-box-right { margin: 32px 0 0; }
  .about-row-1 .about-img { order: 2; margin-top: 40px; }
  .about-row-2 .about-text { order: 1; } .about-row-2 .about-img { order: 2; margin-top: 40px; }
  .about-img-right, .about-img-left { margin-left: 0; margin-right: 0; }
}
@media (max-width: 767px) { .text-box { padding: 28px; } }

/* dunkler Kopfbereich (Kontakt, Leistung, 404) */
.dark-top { position: relative; background: var(--accent); color: var(--n100); padding: 216px 0 164px; }
@media (max-width: 767px) { .dark-top { padding: 160px 0 96px; } }

/* Kontakt */
.kontakt-grid { display: grid; grid-template-columns: 428px 574px; justify-content: space-between; gap: 64px; }
.kontakt-info h1 { margin-bottom: 8px; }
.kontakt-info p { margin-bottom: 32px; }
.contact-links { display: grid; gap: 24px; }
.contact-links div { display: grid; gap: 4px; }
.contact-links span { color: var(--n300); font-size: 16px; }
.contact-links a { color: var(--n100); text-decoration: none; font-size: 20px; font-weight: 500; transition: color .3s; }
.contact-links a:hover { color: var(--n400); }
.divider-dark { height: 1px; background: var(--n700); margin: 40px 0; }
.follow { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea {
  width: 100%; font: inherit; font-size: 18px; color: var(--n100); background: transparent;
  border: 1px solid var(--n600); border-radius: 0; padding: 0 18px; height: 56px; transition: border-color .3s;
}
.form-grid textarea { height: auto; min-height: 168px; padding: 14px 18px; resize: vertical; line-height: 1.5; }
.form-grid input:focus, .form-grid textarea:focus { outline: none; border-color: var(--n100); }
.form-grid input[aria-invalid="true"], .form-grid textarea[aria-invalid="true"] { border-color: #ff5a65; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-hint { font-size: 14px; color: var(--n400); margin-bottom: 24px; }
.form-hint a { color: var(--n300); }
.kontakt-form button[disabled] { opacity: .6; cursor: wait; }
.form-error { margin-top: 20px; border: 1px solid #ff5a65; color: var(--n100); padding: 16px 20px; font-size: 16px; }
.form-error a { color: var(--n100); }
.form-success { border: 1px solid var(--n600); padding: 56px 40px; text-align: center; }
.success-icon { display: inline-flex; width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--n500); align-items: center; justify-content: center; margin-bottom: 20px; color: var(--n100); }
.form-success h2 { margin-bottom: 8px; }
@media (max-width: 1100px) { .kontakt-grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .form-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-head { max-width: 600px; margin: 0 auto 64px; }
.faq-head h2 { margin-bottom: 12px; }
.faq-list { max-width: 1108px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--n300); }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { flex: 1; min-width: 0; }
.faq-icon { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--n300); display: flex; align-items: center; justify-content: center; color: var(--n800); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.faq-item summary:hover .faq-icon { background: var(--n800); color: var(--n100); }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { max-width: 784px; margin: 0 0 32px; }
@media (max-width: 767px) { .faq-item summary { padding: 24px 0; } .faq-icon { width: 44px; height: 44px; } }

/* Instagram */
.insta-section { overflow: hidden; }
.insta-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 450px; gap: 80px; align-items: center; }
.insta-images { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.insta-images a:nth-child(even) { transform: translateY(102px); }
.insta-img { position: relative; display: block; aspect-ratio: 1; overflow: hidden; color: var(--n100); }
.insta-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.insta-img span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .3s; }
.insta-img span .ico { width: 36px; height: 36px; }
.insta-img:hover img { transform: scale(1.05); } .insta-img:hover span { opacity: 1; }
.insta-text p { margin: 8px 0 32px; }
.insta-section { padding-bottom: calc(var(--section) + 102px); }
@media (max-width: 991px) { .insta-grid { grid-template-columns: 1fr; gap: 56px; } .insta-text { order: -1; } .insta-images a:nth-child(even) { transform: translateY(48px); } .insta-section { padding-bottom: calc(var(--section) + 48px); } .section-bg-left { display: none; } }
@media (max-width: 479px) { .insta-images { gap: 16px; } }

/* Leistungsseite */
.leistung-top { padding-bottom: 0; }
.leistung-grid { display: grid; grid-template-columns: minmax(0, 756px) 372px; justify-content: space-between; gap: 64px; position: relative; z-index: 1; }
.leistung-main h1 { margin: 16px 0 8px; }
.leistung-main > p { margin-bottom: 48px; max-width: 640px; }
.leistung-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--n700); }
.leistung-img img { width: 100%; height: 100%; object-fit: cover; }
.leistung-side { padding-top: 120px; }
.leistung-side h2 { margin-bottom: 4px; }
.leistung-side p { margin-bottom: 24px; }
.dark-top-bottom { position: absolute; left: 0; right: 0; bottom: -1px; height: 22%; background: var(--n100); }
@media (max-width: 991px) {
  .leistung-grid { grid-template-columns: 1fr; gap: 40px; }
  .leistung-side { padding-top: 0; order: -1; }
  .leistung-main { order: 0; }
}
.other-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 32px; }
.other-service { display: flex; align-items: center; gap: 14px; padding: 20px 24px; background: var(--n100); text-decoration: none; color: var(--n800); font-weight: 500; transition: transform .3s var(--ease), box-shadow .3s; }
.other-service .service-icon { margin: 0; }
.other-service > .ico { margin-left: auto; flex: none; }
.other-service:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.08); }

/* Fließtext (Leistungen, Impressum, Datenschutz) */
.rich-text h1 { font-size: 54px; line-height: 1.222; margin-bottom: 32px; hyphens: auto; }
.rich-text h2 { font-size: 38px; line-height: 1.316; margin: 48px 0 16px; }
.rich-text h3 { font-size: 24px; line-height: 1.417; margin: 32px 0 12px; }
.rich-text h4 { font-size: 20px; line-height: 1.4; margin: 24px 0 8px; }
.rich-text > :first-child { margin-top: 0; }
.rich-text ul { padding-left: 1.2em; margin-bottom: 1em; }
.rich-text li { margin-bottom: 6px; }
.rich-text strong { color: var(--n800); font-weight: 600; }
.rich-text a { color: var(--n800); overflow-wrap: anywhere; }
.page-legal .rich-text { overflow-wrap: break-word; }
.page-legal .rich-text h2 { font-size: 32px; }
.stand { margin-top: 48px; color: var(--n500); font-size: 15px; }
@media (max-width: 767px) { .rich-text h1 { font-size: 36px; } .rich-text h2, .page-legal .rich-text h2 { font-size: 28px; } .rich-text h3 { font-size: 21px; } }

/* Kopfbild Impressum/Datenschutz */
.image-top { position: relative; height: 420px; background: var(--accent); }
.image-top img { position: absolute; inset: 0; }
@media (max-width: 767px) { .image-top { height: 260px; } }
.legal { padding-top: 96px; }

/* 404 */
.notfound { min-height: 80vh; display: flex; align-items: center; }
.notfound .container { max-width: 760px; }
.big404 { margin-bottom: 8px; opacity: .25; }
.notfound h1 { margin-bottom: 16px; }
.notfound p { margin-bottom: 32px; }

/* Footer */
.site-footer { background: var(--accent); color: var(--n300); }
.footer-top { position: relative; overflow: hidden; padding: 140px 0; }
.footer-top-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.9fr; }
.footer-col { padding: 84px 40px 84px 0; }
.footer-col:first-child { border-right: 1px solid var(--n600); }
.footer-col p { color: var(--n300); }
.footer-col a { color: var(--n300); text-decoration: none; transition: color .3s; }
.footer-col a:hover { color: var(--n100); }
.footer-logo { display: inline-block; margin-bottom: 16px; }
.footer-logo img { width: 143px; height: auto; }
.footer-links { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 32px; padding-left: 64px; padding-right: 0; }
.footer-title { color: var(--n100); font-weight: 700; font-size: 20px; line-height: 1.1; margin-bottom: 24px; }
.footer-links ul { list-style: none; padding: 0; display: grid; gap: 18px; line-height: 1.3; }
.footer-bottom { border-top: 1px solid var(--n600); padding: 40px var(--gutter); text-align: center; font-size: 16px; color: var(--n300); max-width: none; }
.footer-bottom a { color: var(--n300); }
@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col { padding: 56px 0; }
  .footer-col:first-child { border-right: 0; border-bottom: 1px solid var(--n600); }
  .footer-links { padding-left: 0; grid-template-columns: repeat(2, auto); justify-content: start; gap: 40px 80px; }
  .footer-top { padding: 96px 0; }
}
@media (max-width: 479px) { .footer-links { grid-template-columns: 1fr 1fr; gap: 40px 24px; } }

/* ===== Überarbeitung 10/2026 ===== */

/* Mitlaufende Kopfzeile */
@keyframes header-in { from { transform: translateY(-100%); } to { transform: translateY(0); } }
body.header-fixed .site-header { position: fixed; background: var(--accent); box-shadow: 0 8px 30px rgba(0,0,0,.25); animation: header-in .35s var(--ease); }
body.header-fixed .header-inner { padding-top: 14px; padding-bottom: 14px; border-bottom-color: transparent; }
body.header-fixed .logo img { width: 104px; }
@media (max-width: 479px) { body.header-fixed .logo img { width: 92px; } }

/* Anruf-Button in der Kopfzeile */
.call-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; color: var(--n100); text-decoration: none; font-size: 16px; font-weight: 500; white-space: nowrap; transition: color .3s; }
.call-btn:hover { color: var(--n400); }
.call-btn .ico { flex: none; }
.call-btn { width: 44px; justify-content: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; padding: 0; }
.call-btn:hover { color: var(--n100); border-color: var(--n100); }
@media (max-width: 991px) { .call-btn { background: var(--n100); color: var(--n800); border-color: var(--n100); } .call-btn:hover { color: var(--n800); } }
@media (max-width: 1199px) and (min-width: 992px) { .main-nav ul { gap: 22px; } .main-nav a { font-size: 17px; } .header-insta { display: none; } }

/* Hero */
.hero-title { max-width: 760px; }
.hero-kicker { display: block; font-size: 20px; line-height: 1.4; font-weight: 500; color: var(--n200); margin-bottom: 20px; max-width: 560px; }
.hero-title .display-1 { display: block; }
.hero-controls { display: flex; align-items: center; gap: 20px; }
.video-toggle { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: transparent; color: var(--n100); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .3s, color .3s; }
.video-toggle:hover { background: var(--n100); color: var(--n800); }
.video-toggle .i-play { display: none; }
.video-toggle.is-paused .i-play { display: inline-flex; }
.video-toggle.is-paused .i-pause { display: none; }
.video-toggle span { display: inline-flex; }
@media (max-width: 767px) {
  .hero-kicker { font-size: 16px; margin-bottom: 14px; }
  .hero-controls { justify-content: flex-start; }
  .video-toggle { width: 40px; height: 40px; }
}

/* Leistungen: Full-Service hervorheben */
.badge { display: inline-block; align-self: flex-start; margin: -4px 0 12px; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--n800); color: var(--n100); font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: .02em; }
.service-card-featured h3 { font-weight: 700; }

/* Über uns: Porträt und Qualifikationen */
@media (min-width: 1101px) {
  .about-row-1:has(.about-portrait) { grid-template-columns: 1fr 440px; }
  .about-row-1:has(.about-portrait) .text-box-left { margin-right: 0; }
}
.about-portrait { margin: 0 !important; aspect-ratio: auto !important; background: none; display: flex; justify-content: center; }
.about-img.about-portrait img { width: auto; height: 820px; max-height: 92vh; max-width: 100%; object-fit: contain; }
@media (max-width: 1100px) { .about-img.about-portrait img { height: 640px; } }
@media (max-width: 767px) { .about-img.about-portrait img { height: 520px; } }
.quali-title { margin: 8px 0 16px; }
.quali-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.quali-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.quali-list .ico { flex: none; color: var(--n800); margin-top: 2px; }
.quali-list strong { color: var(--n800); font-weight: 600; }

/* Karriere */
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 14px; font-weight: 600; color: var(--n500); margin-bottom: 12px; }
.karriere-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.karriere h2 { margin-bottom: 20px; }
.karriere-intro { max-width: 520px; }
.jobs { display: grid; gap: 16px; justify-items: start; }
.job { width: 100%; background: var(--n100); padding: 28px 32px; border-left: 3px solid var(--n800); }
.job h3 { margin-bottom: 4px; }
.job p { margin: 0; }
.jobs .btn { margin-top: 16px; }
@media (max-width: 991px) { .karriere-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 767px) { .job { padding: 22px 22px; } }

/* Kontaktformular */
.form-grid { gap: 22px 20px; align-items: start; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { color: var(--n100); font-size: 15px; font-weight: 500; line-height: 1.3; }
.req { color: var(--n300); margin-left: 2px; }
.req-hint { font-size: 14px; color: var(--n400); margin-bottom: 20px; }
.form-grid select {
  width: 100%; font: inherit; font-size: 18px; color: var(--n100); background: transparent;
  border: 1px solid var(--n600); border-radius: 0; padding: 0 48px 0 18px; height: 56px;
  appearance: none; -webkit-appearance: none; cursor: pointer; transition: border-color .3s; line-height: 54px;
}
.form-grid select option { color: var(--n800); background: var(--n100); }
.form-grid select:focus { outline: none; border-color: var(--n100); }
.form-grid select[aria-invalid="true"] { border-color: #ff5a65; }
.select-wrap { position: relative; display: block; }
.select-wrap::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--n300); border-bottom: 2px solid var(--n300); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.form-grid input[type="date"] { color-scheme: dark; line-height: 54px; }
.form-grid input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.form-grid input::placeholder, .form-grid textarea::placeholder { color: var(--n500); opacity: 1; }
.field-error { color: #ff8a92; font-size: 14px; line-height: 1.4; }
@media (max-width: 767px) { .form-grid { gap: 18px; } }

/* Eilfall-Hinweis */
.eilfall { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--n600); padding: 20px 22px; margin: 0 0 40px; color: var(--n200); font-size: 16px; line-height: 1.5; }
.eilfall strong { color: var(--n100); font-weight: 600; }
.eilfall a { color: var(--n100); font-weight: 600; white-space: nowrap; }
.eilfall-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--n100); color: var(--n800); display: inline-flex; align-items: center; justify-content: center; }

/* Leistungsseite */
.leistung-img-icon { display: flex; align-items: center; justify-content: center; color: var(--n100); background: linear-gradient(135deg, var(--n700), var(--n800)); }
.leistung-img-icon .ico { width: 34%; height: auto; opacity: .9; }
.side-call { margin-top: 20px; font-size: 16px; }
.side-call a { color: var(--n100); font-weight: 500; }
.rich-text .leistung-cta { margin-top: 48px; }
.rich-text .leistung-cta a { color: var(--n100); }
.rich-text .leistung-cta a:hover { color: var(--accent); }

/* Einsatzfoto neben den Einsatzbereichen (Hochformat, kleine Auflösung -> nicht über 560 px) */
.partner-img.partner-foto { width: 100%; max-width: 560px; height: auto; aspect-ratio: 602 / 752; object-fit: cover; }
@media (max-width: 991px) { .partner-img.partner-foto { max-width: 480px; } }

/* Bildergalerie auf Leistungsseiten: Bilder gleich hoch, Breite nach Seitenverhältnis */
.galerie-section { padding-top: 0; }
.galerie { display: flex; gap: 20px; max-width: 1100px; }
.galerie figure { margin: 0; min-width: 0; }
.galerie figure.hoch { flex: 0.75 1 0; }
.galerie figure.quer { flex: 1.3333 1 0; }
.galerie img { width: 100%; height: auto; object-fit: cover; display: block; }
.galerie .hoch img { aspect-ratio: 3 / 4; }
.galerie .quer img { aspect-ratio: 4 / 3; }
.galerie figcaption { margin-top: 10px; font-size: 15px; color: var(--n500); }
@media (max-width: 767px) { .galerie { flex-direction: column; } }

/* Fußzeile: Adresse / Herkunft */
.footer-adresse { font-style: normal; color: var(--n300); margin: 0 0 1em; line-height: 1.6; }
.footer-adresse span { display: block; margin-top: 6px; color: var(--n400); font-size: 15px; }
.galerie figure:only-child { flex: 0 1 560px; }

/* ===== Sprachauswahl (v16) ===== */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 12px 0 10px; border: 1px solid rgba(255,255,255,.45); border-radius: var(--radius-pill); color: var(--n100); cursor: pointer; font-size: 15px; font-weight: 500; letter-spacing: .04em; transition: background-color .3s, color .3s, border-color .3s; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover, .lang-menu[open] summary { background: var(--n100); border-color: var(--n100); color: var(--n800); }
.lang-menu summary:focus-visible { outline: 2px solid var(--n100); outline-offset: 3px; }
.lang-list { position: absolute; right: 0; top: calc(100% + 10px); min-width: 180px; margin: 0; padding: 8px; list-style: none; background: var(--n100); border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,.25); z-index: 30; }
.lang-list a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--n800); text-decoration: none; font-size: 16px; }
.lang-list a:hover { background: var(--light-bg); }
.lang-list a[aria-current="true"] { font-weight: 700; }
.lang-list a[aria-current="true"]::after { content: " ✓"; }
.nav-lang { display: none; }
@media (max-width: 1399px) { .lang-menu summary { width: 44px; padding: 0; } .lang-code { display: none; } }
@media (max-width: 991px) {
  .main-nav .nav-lang { display: flex; gap: 8px; padding: 16px 0; }
  .main-nav .nav-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 44px; padding: 0 12px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-pill); font-size: 16px; font-weight: 500; letter-spacing: .04em; }
  .main-nav .nav-lang a[aria-current="true"] { background: var(--n100); color: var(--n800); border-color: var(--n100); }
}
@media (max-width: 479px) { .header-right .lang-menu { display: none; } }
/* Sehr schmale Handys (bis 379 px) – nichts darf seitlich überstehen */
@media (max-width: 379px) {
  .footer-links { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .footer-col p, .footer-links a { overflow-wrap: anywhere; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .stats dt { font-size: 32px; }
  .stats dd { font-size: 14px; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
}
.main-nav a { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399px) { .main-nav ul { gap: 24px; } }

/* Deutschlandkarte im Footer */
.footer-ort { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.footer-ort .footer-adresse { flex: 1 1 auto; min-width: 0; }
.footer-karte { flex: none; width: 177px; margin-right: -57px; height: auto; margin-top: 4px; overflow: visible; }
.footer-karte .land { fill: var(--n600); stroke: var(--n400); stroke-width: 1.5; stroke-linejoin: round; }
.footer-karte .punkt { fill: var(--n100); stroke: var(--accent); stroke-width: 2.5; }
.footer-karte .puls { fill: none; stroke: var(--n100); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: karte-puls 2.4s ease-out infinite; }
.footer-karte text { fill: var(--n100); font-size: 22px; font-weight: 600; }
@keyframes karte-puls { from { transform: scale(1); opacity: .8; } to { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .footer-karte .puls { animation: none; opacity: 0; } }
@media (max-width: 479px) { .footer-karte { width: 112px; margin-right: 0; } .footer-ort { gap: 8px; } }

/* Mauszeiger: weißer Schuko-Stecker überall (nur bei Maus/Touchpad); Textfelder behalten den Text-Cursor */
@media (hover: hover) and (pointer: fine) {
  html, body, *, *::before, *::after { cursor: url("/assets/img/stecker-cursor.svg") 5 5, auto; }
  a, button, summary, label, select, .btn, .burger, .video-toggle, .faq-item summary, .lang-menu summary, .form-grid select { cursor: url("/assets/img/stecker-cursor.svg") 5 5, pointer; }
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), textarea { cursor: text; }
  .kontakt-form button[disabled] { cursor: wait; }
}


/* ===== Extras: Strombedarf-Rechner, Kabellinie, Funken, Easter Egg, Bereitschaft ===== */

/* --- 10: Bereitschafts-Anzeige --- */
.bereit { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--n100); white-space: nowrap; }
.bereit-punkt { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #3ecf6e; flex: none; }
.bereit-punkt::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3ecf6e; animation: bereit-puls 2s ease-out infinite; }
@keyframes bereit-puls { from { transform: scale(1); opacity: .7; } to { transform: scale(2.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bereit-punkt::after { animation: none; opacity: 0; } }
@media (max-width: 1199px) { .site-header .bereit-text { display: none; } }

/* --- 1: Strombedarf-Rechner --- */
.rechner { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.rechner-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.verbraucher { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 18px; background: var(--n100); border: 1px solid var(--n300); border-radius: 16px; transition: border-color .25s, box-shadow .25s; }
.verbraucher.aktiv { border-color: var(--n800); box-shadow: 0 0 0 1px var(--n800); }
.verbraucher-name { font-size: 17px; font-weight: 500; line-height: 1.3; margin: 0; }
.verbraucher-kw { font-size: 14px; color: var(--n500); margin: 4px 0 0; }
.verbraucher-info { font-size: 13px; line-height: 1.4; color: var(--n500); margin: 4px 0 0; }
.verbraucher.buehne .verbraucher-kw { color: var(--n700); font-weight: 500; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--n300); background: var(--n100); color: var(--n800); font: inherit; font-size: 22px; line-height: 1; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.stepper button:hover { border-color: var(--n800); }
.stepper button:disabled { opacity: .35; }
.stepper output { min-width: 28px; text-align: center; font-size: 18px; font-weight: 500; }
.verbraucher-eigen label { font-size: 17px; font-weight: 500; }
.verbraucher-eigen input { width: 100%; height: 44px; margin-top: 8px; padding: 0 12px; font: inherit; font-size: 17px; border: 1px solid var(--n300); border-radius: 10px; }
.rechner-ergebnis { position: sticky; top: 110px; background: var(--n800); color: var(--n100); border-radius: 20px; padding: 28px; }
.rechner-ergebnis h3 { color: var(--n100); font-size: 22px; margin: 0 0 18px; }
.ergebnis-zeile { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 16px; }
.ergebnis-zeile strong { font-weight: 500; }
.ergebnis-gross { margin: 22px 0 6px; font-size: 15px; color: var(--n400); }
.ergebnis-kva { font-size: 48px; font-weight: 500; line-height: 1.05; margin: 0; font-variant-numeric: tabular-nums; }
.aggregat + .aggregat { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.aggregat.klein .ergebnis-kva { font-size: 34px; }
.aggregat-text { margin: 4px 0 0; font-size: 14px; color: var(--n400); }
.ergebnis-empf { margin: 10px 0 0; font-size: 16px; line-height: 1.45; color: var(--n300); }
.ergebnis-tipp { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.08); font-size: 14px; line-height: 1.45; }
.ergebnis-tipp[hidden] { display: none; }
.rechner-ergebnis .btn { width: 100%; margin-top: 22px; }
.rechner-hinweis { margin: 14px 0 0; font-size: 13px; line-height: 1.45; color: var(--n400); }
.rechner-reset { background: none; border: 0; color: var(--n400); font: inherit; font-size: 14px; text-decoration: underline; margin-top: 10px; padding: 4px 0; }
@media (max-width: 991px) { .rechner { grid-template-columns: 1fr; } .rechner-ergebnis { position: static; } }

/* --- 6: Kabellinie beim Scrollen --- */
.kabel { position: fixed; left: max(2px, calc((100vw - 1316px) / 2 - 96px)); top: 110px; bottom: 28px; width: 28px; z-index: 15; pointer-events: none; display: none; }
@media (min-width: 900px) { .kabel { display: block; } }
.kabel-spur, .kabel-strom { position: absolute; left: 11.5px; width: 5px; border-radius: 3px; top: 0; }
.kabel-spur { bottom: 22px; background: rgba(118,108,114,.55); box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.kabel-strom { height: 0; background: linear-gradient(#fff6d6, #ffd36b); box-shadow: 0 0 10px rgba(255,211,107,.8), 0 0 2px rgba(255,211,107,1); }
.kabel-stecker { position: absolute; left: 0; width: 28px; height: 28px; transform: translateY(-4px); transition: filter .3s; }
.kabel-dose { position: absolute; left: 2px; bottom: 0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--n500); background: var(--n200); transition: border-color .3s, box-shadow .3s; }
.kabel-dose::before, .kabel-dose::after { content: ""; position: absolute; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: var(--n600); }
.kabel-dose::before { left: 4px; } .kabel-dose::after { right: 4px; }
.kabel.voll .kabel-dose { border-color: #ffd36b; box-shadow: 0 0 14px rgba(255,211,107,.9); }
.kabel.voll .kabel-stecker { filter: drop-shadow(0 0 6px rgba(255,211,107,.9)); }
.btn.unter-strom { box-shadow: 0 0 0 2px #ffd36b, 0 0 24px rgba(255,211,107,.65); transition: box-shadow .4s; }

/* --- 7: Funken beim Klick --- */
.funke { position: fixed; z-index: 9999; width: 4px; height: 4px; border-radius: 2px; pointer-events: none; background: #ffd36b; box-shadow: 0 0 6px #ffd36b; }
.funke.weiss { background: #fff; box-shadow: 0 0 6px #fff6d6; }

[data-easter] { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }

/* --- 8: Easter Egg "Stromausfall" --- */
.blackout { position: fixed; inset: 0; z-index: 10000; background: #000; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; text-align: center; opacity: 0; pointer-events: none; transition: opacity .25s; }
.blackout.an { opacity: 1; pointer-events: auto; }
.blackout-text { font-size: clamp(26px, 5vw, 56px); font-weight: 500; letter-spacing: -.01em; margin: 0; min-height: 1.2em; }
.blackout-sub { font-size: 16px; color: #9f979c; margin: 0; min-height: 1.4em; }
.blackout-balken { width: min(420px, 80vw); height: 6px; border-radius: 3px; background: #2b2528; overflow: hidden; }
.blackout-balken span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ffd36b, #fff6d6); box-shadow: 0 0 12px #ffd36b; }
.blackout-zu { position: absolute; top: 18px; right: 18px; background: none; border: 1px solid #4d464a; color: #9f979c; border-radius: 48px; padding: 8px 16px; font: inherit; font-size: 14px; }
body.flackern > *:not(.blackout) { animation: flackern 1.1s steps(1) 1; }
@keyframes flackern { 0%{opacity:1} 8%{opacity:.15} 14%{opacity:1} 22%{opacity:.4} 26%{opacity:1} 40%{opacity:.05} 46%{opacity:.9} 58%{opacity:.1} 70%{opacity:.6} 80%{opacity:0} 100%{opacity:0} }
body.licht-an > *:not(.blackout) { animation: licht-an 1.2s ease-out 1; }
@keyframes licht-an { 0%{opacity:0; filter: brightness(2)} 30%{opacity:1; filter: brightness(1.6)} 100%{opacity:1; filter: none} }

#strombedarf .section-title { margin-bottom: 16px; }
.rechner-lead { font-size: 20px; line-height: 1.5; color: var(--n600); max-width: 820px; margin: 0 0 48px; }
@media (max-width: 767px) { .rechner-lead { font-size: 18px; margin-bottom: 32px; } }

/* Über uns, Teamfoto: bündig mit dem Inhaltsbereich statt bis an den Bildschirmrand */
@media (min-width: 1101px) {
  .about-row-2 { grid-template-columns: 8fr 5fr; }
  /* Foto ragt etwas über den Inhaltsbereich hinaus (max. 64 px, nie näher als 48 px an den Bildschirmrand) */
  .about-img-left { margin-left: calc(-1 * clamp(0px, (100vw - 1316px) / 2 - 24px, 64px)); }
  /* Textfeld überdeckt das Foto nur noch leicht */
  .about-row-2 .text-box-right { margin-left: -56px; }
}
@media (min-width: 1101px) and (max-width: 1279px) { .about-row-2 { grid-template-columns: 7fr 6fr; } }

/* AGB-Seite */
.page-legal .rich-text .agb-kopf { color: var(--n600); margin-bottom: 32px; }
.page-legal .rich-text h2[id^="p"] { font-size: 26px; margin-top: 44px; }
.rich-text .abs { font-weight: 500; margin-right: 4px; }
.rich-text ul.agb-liste { list-style: none; padding-left: 1.6em; }
.rich-text ul.agb-liste li { margin-bottom: 6px; }
.agb-downloads { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--n300); }
.rich-text .agb-downloads a { text-decoration: none; }
.page-legal .rich-text .agb-hinweis { font-size: 14px; color: var(--n500); margin-top: 12px; }
@media (max-width: 767px) { .page-legal .rich-text h2[id^="p"] { font-size: 22px; } .agb-downloads .btn { width: 100%; } }
.rich-text .agb-downloads .btn-primary, .rich-text .agb-downloads .btn-primary:hover { color: var(--n100); }
.rich-text .agb-downloads .btn-outline { color: var(--n800); }
.rich-text .agb-downloads .btn-outline:hover { color: var(--n100); }
