/* MIG Erdbewegung — Stylesheet */
:root {
  --orange: #e8650f;
  --orange-600: #cc5306;
  --orange-100: #fdeee3;
  --ink: #141414;
  --ink-2: #1f1f1f;
  --text: #2a2a2a;
  --muted: #6b6b6b;
  --line: #e6e2dd;
  --bg: #ffffff;
  --tint: #f7f4f0;
  --wa: #1fa855;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 20, 20, .08);
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 1.0625rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 900; text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }
svg { width: 1.2em; height: 1.2em; flex: none; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
/* Grid-Kinder dürfen schmaler als ihr Inhalt werden – verhindert seitliches Scrollen am Handy */
.hero__inner > *, .split > *, .contact > *, .cards > *, .usp > *, .steps > *, .form__row > * { min-width: 0; }
html, body { overflow-x: clip; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { color: var(--orange); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; margin-bottom: .8em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-600); }
.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--whatsapp:hover { background: #178a45; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--dark { background: var(--ink); color: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 128px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-weight: 900; text-transform: uppercase; font-size: 1.05rem; color: var(--ink); letter-spacing: .02em; }
.brand__text small { font-size: .68rem; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: .06em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--ink); position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 3px; background: var(--orange); transition: right .2s; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { right: 0; }
.burger { display: none; width: 46px; height: 46px; border: 0; background: none; padding: 11px; cursor: pointer; }
.burger span { display: block; height: 3px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: transform .25s, opacity .2s; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--ink); }
.hero__bg { position: absolute; inset: 0; background:
  radial-gradient(60% 80% at 85% 40%, rgba(232,101,15,.28), transparent 70%),
  repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px),
  var(--ink); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--orange); }
.hero__inner { position: relative; padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 120px);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__media { margin: 0; position: relative; }
.hero__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: 18px 18px 0 var(--orange); }
.hero__media figcaption { position: absolute; left: -20px; bottom: 24px; background: #fff; color: var(--ink); border-radius: 12px; padding: 14px 18px;
  box-shadow: var(--shadow); display: grid; gap: 2px; max-width: 80%; }
.hero__media figcaption strong { font-weight: 800; font-size: .95rem; }
.hero__media figcaption span { font-size: .82rem; color: var(--muted); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 span { color: var(--orange); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 56ch; color: #e9e6e2; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }
.hero__badges li { display: flex; align-items: center; gap: 8px; }
.hero__badges svg { color: var(--orange); }

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #d9d6d2; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 680px; margin-bottom: 48px; }
.section__head p:last-child { color: var(--muted); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--orange); transform: scaleY(0); transform-origin: top; transition: transform .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleY(1); }
.card__icon { width: 60px; height: 60px; border-radius: 12px; background: var(--orange-100); color: var(--orange); display: grid; place-items: center; margin-bottom: 20px; }
.card__icon svg { width: 34px; height: 34px; }
.card p { color: var(--muted); margin: 0; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: 0 0 0 8px rgba(232,101,15,.9); }
.chips { list-style: none; padding: 0; margin: 24px 0 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid #3a3a3a; background: var(--ink-2); color: #fff; padding: .45em 1em; border-radius: 999px; font-weight: 600; font-size: .95rem; }

/* USP */
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.usp__item { background: #fff; border-radius: var(--radius); padding: 28px; border-top: 4px solid var(--orange); }
.usp__num { display: block; font-size: 2.4rem; font-weight: 900; color: var(--orange); line-height: 1; margin-bottom: 14px; }
.usp__item p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 72px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 900; font-size: 1.3rem; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--orange-100); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 70px; right: -4px; border-top: 2px dashed var(--line); }
.steps p { color: var(--muted); margin: 0; }

/* Area + map */
.split--reverse .split__text { order: 0; }
.places { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; }
.places li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.places li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 380px; background:
  repeating-linear-gradient(45deg, #ece7e1 0 12px, #f2eee9 12px 24px); display: grid; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
.map__consent { margin: auto; text-align: center; padding: 30px; max-width: 360px; }
.map__consent > svg { width: 48px; height: 48px; color: var(--orange); margin: 0 auto 10px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.contact__list small { display: block; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: #9a958f; font-size: .72rem; }
.contact__list a, .contact__list span { color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; line-height: 1.35; }
.contact__list a:hover { color: var(--orange); }
.contact__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; flex: none; }
.contact__icon--wa { background: var(--wa); }
.contact__icon svg { width: 24px; height: 24px; }
.form { background: #fff; color: var(--text); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; border-top: 6px solid var(--orange); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--ink); }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: .8em .9em; border: 1.5px solid var(--line); border-radius: 10px; background: #fcfbfa; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--orange); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(232,101,15,.18); }
.form textarea { resize: vertical; }
.form [aria-invalid="true"] { border-color: #c62828; }
.form__error { color: #c62828; font-weight: 700; margin: 0; }
.form .small { margin: 0; text-align: center; }

/* Footer */
.footer { background: #0c0c0c; color: #a8a39d; padding: 56px 0 24px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
.footer__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.footer__logo { width: 200px; background: #fff; padding: 14px 18px; border-radius: 12px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer__links { display: flex; gap: 22px; font-weight: 700; }
.footer__copy { border-top: 1px solid #222; margin-top: 36px; padding-top: 20px; font-size: .85rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer__copy p { margin: 0; }
.footer__credit { display: flex; align-items: center; gap: 10px; }
.footer .credit { display: inline-flex; align-items: center; padding: .4em 1em; border-radius: 999px; border: 1.5px solid var(--orange);
  color: #fff; font-weight: 800; letter-spacing: .02em; transition: background .2s, color .2s, transform .15s; }
.footer .credit:hover { background: var(--orange); color: #fff; transform: translateY(-1px); }

/* Mobile quick contact bar */
.quickbar { display: none; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Legal pages */
.legal { padding: 60px 0 90px; }
.legal .container { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h1 { font-size: clamp(1.5rem, 6.5vw, 2.6rem); hyphens: auto; overflow-wrap: break-word; }
.header--legal .brand { min-width: 0; }
.header__back { flex: none; }
@media (max-width: 640px) {
  .header__back { padding: .6em 1.1em; font-size: .9rem; }
  .header__back-long { display: none; }
}
@media (max-width: 420px) {
  .header--legal .brand__text { display: none; }
}
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .3em; }
.legal a { color: var(--orange-600); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; }
.legal .toc a { text-decoration: none; color: var(--ink); background: var(--tint); border: 1px solid var(--line); padding: .35em .85em; border-radius: 999px; font-size: .88rem; font-weight: 600; }
.legal .toc a:hover { border-color: var(--orange); }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 420px; }
.legal th, .legal td { text-align: left; padding: .7em .8em; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--tint); font-weight: 800; color: var(--ink); }
.footer .footer__links { flex-wrap: wrap; }
.notfound { min-height: 55vh; }
.notfound__code { font-size: clamp(4rem, 18vw, 8rem); font-weight: 900; color: var(--orange); line-height: 1; margin: 0 0 .1em; }
.legal .btn { color: #fff; }
.todo { background: #fff6d6; border: 1px dashed #d4a200; padding: 2px 6px; border-radius: 4px; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .usp { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-110%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split, .contact, .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; }
  .hero__media figcaption { left: 12px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps li::after { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  body { padding-bottom: 64px; }
  .brand img { width: 100px; }
  .brand__text small { display: none; }
  h1 { font-size: clamp(1.6rem, 8vw, 2.2rem); overflow-wrap: break-word; }
  .hero h1 { max-width: none; }
  .btn { white-space: normal; text-align: center; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__media img { box-shadow: 10px 10px 0 var(--orange); }
  .hero__media figcaption { left: 8px; right: 18px; max-width: none; }
  .cards, .usp, .steps, .form__row { grid-template-columns: 1fr; }
  .places { grid-template-columns: 1fr 1fr; }
  .quickbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding-bottom: env(safe-area-inset-bottom); background: var(--ink); }
  .quickbar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; color: #fff; font-weight: 800; text-decoration: none; background: var(--orange); }
  .quickbar a.quickbar__wa { background: var(--wa); }
}
