/* Rat & Tat EDV Service – Stylesheet (ohne externe Schriften/Skripte) */
:root {
  --yellow: #ffd400;
  --yellow-soft: #fff6c7;
  --blue: #1689d6;
  --blue-dark: #0d5f99;
  --red: #e8513f;
  --ink: #13213a;
  --text: #2c3748;
  --muted: #5f6b7c;
  --line: #e4e7ec;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(19, 33, 58, .06), 0 8px 24px rgba(19, 33, 58, .07);
  --shadow-lg: 0 2px 4px rgba(19, 33, 58, .06), 0 20px 48px rgba(19, 33, 58, .12);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font); color: var(--text); background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.i { width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.35rem; border-radius: 999px; font-weight: 650;
  text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(22, 137, 214, .35); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-call { background: var(--yellow); color: var(--ink); padding: .6rem 1.05rem; font-size: .95rem; }
.btn-call:hover { color: var(--ink); background: #ffdf33; }

/* ---------- Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.brand-mark { font: 900 1.65rem/1 "Arial Black", "Segoe UI", system-ui, sans-serif; color: var(--blue); letter-spacing: -.02em; display: inline-flex; align-items: center; }
.brand-plus { display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; margin: 0 .08em; background: var(--blue); color: #fff;
  border-radius: .22em; font-size: .9em; transform: rotate(-6deg); }
.brand-sub { font-size: .72rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }
.nav-desktop ul, .menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav-desktop a, .menu a { display: block; padding: .5rem .8rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 550; }
.nav-desktop a:hover { background: var(--bg-alt); }
.nav-desktop a[aria-current], .menu a[aria-current] { background: var(--yellow-soft); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: .5rem; border-radius: 10px; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .i { width: 28px; height: 28px; }
.menu nav { position: absolute; right: 0; top: calc(100% + .6rem); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: .5rem; min-width: 220px; }
.menu ul { flex-direction: column; }
@media (max-width: 920px) {
  .nav-desktop { display: none; }
  .menu { display: block; order: 3; }
  .header-call span { display: none; }
  .header-call { padding: .6rem; }
}

/* ---------- Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 2.5rem;
  background: radial-gradient(1100px 520px at 85% -10%, var(--yellow) 0%, rgba(255, 212, 0, .55) 35%, transparent 70%),
              linear-gradient(180deg, #fffdf2 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue-dark); margin-bottom: 1rem; }
.hl { background: linear-gradient(transparent 62%, var(--yellow) 62%); padding: 0 .1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--text); max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; color: var(--muted); font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: .55rem; }
.stars { display: inline-flex; gap: 2px; color: #f5a700; }
.star { width: 1.05em; height: 1.05em; fill: currentColor; }
.hero-card { position: relative; background: #fff; border-radius: 24px; padding: 2rem; box-shadow: var(--shadow-lg); border: 1px solid rgba(19, 33, 58, .06); }
.hero-badge { position: absolute; top: -22px; right: 26px; width: 56px; height: 56px; display: grid; place-items: center; background: var(--blue); color: #fff;
  font: 900 2.2rem/1 Arial, sans-serif; border-radius: 16px; transform: rotate(-8deg); box-shadow: 0 0 0 5px var(--yellow), var(--shadow); }
.hero-card-title { font: 750 1.3rem/1.2 var(--font-display); color: var(--ink); margin-bottom: 1rem; }
.hero-card-note { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px dashed var(--line); color: var(--muted); font-size: .92rem; }
.contact-line { display: flex; align-items: center; gap: .9rem; padding: .75rem .5rem; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
a.contact-line:hover { background: var(--bg-alt); color: var(--ink); }
.contact-line .i { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--yellow-soft); color: var(--blue-dark); }
.contact-line small { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.quick { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 2.5rem; }
.quick-left { justify-content: flex-start; margin-top: 1rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; transition: border-color .15s, transform .15s; }
.chip:hover { border-color: var(--blue); color: var(--blue-dark); transform: translateY(-1px); }
.chip .i { color: var(--blue); }

/* ---------- Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.small-head { font-size: 1.3rem; }
.intro-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.intro-grid > div:first-child { max-width: 860px; }
.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 760px) { .split-cards { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.75rem; }
.panel h2 { font-size: 1.25rem; }
.panel h3 { display: flex; align-items: center; gap: .55rem; }
.panel-warn h3 .i { color: var(--red); }
.panel-ok h3 .i { color: #15a05a; }
.panel-note { background: var(--yellow-soft); border-color: #f3e08a; }
.section-alt .panel { box-shadow: var(--shadow); border-color: transparent; }
.checks, .dots { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.checks li, .dots li { display: flex; gap: .6rem; align-items: flex-start; }
.checks .i { color: var(--blue); margin-top: .2em; }
.dot { flex: none; width: .5em; height: .5em; border-radius: 50%; background: var(--blue); margin-top: .62em; }
.panel-warn .dot { background: var(--red); }
.panel-ok .dot { background: #15a05a; }

/* ---------- Leistungskarten */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.25rem; }
.card { background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .4rem;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.section:not(.section-alt) .card { border-color: var(--line); box-shadow: none; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); margin-bottom: .6rem; }
.card-icon .i { width: 26px; height: 26px; }
.card .dots { font-size: .97rem; color: var(--text); }
.card .more { margin-top: auto; padding-top: .9rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; }
.card .more .i { width: 1em; height: 1em; transition: transform .15s; }
.card:hover .more .i { transform: translateX(3px); }
.card-link { text-decoration: none; color: var(--text); }
.card-link:hover { color: var(--text); }
.card-link p { margin: 0; color: var(--muted); }
.business { margin-top: 1.5rem; display: flex; gap: 1.25rem; align-items: flex-start; background: var(--ink); color: #dfe5ef; border-radius: var(--radius); padding: 1.75rem; }
.business h3 { color: #fff; }
.business p { margin: 0; }
.business-icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); }
.business-icon .i { width: 26px; height: 26px; }

.why { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.why li { display: flex; align-items: center; gap: .85rem; padding: 1.1rem 1.25rem; border-radius: 14px; border: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.why .i { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--blue); color: #fff; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.steps p { margin: 0; color: var(--muted); }
.step-no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 1.15rem; margin-bottom: 1rem; }

/* ---------- Bewertungen */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.reviews-masonry { display: block; columns: 3 320px; column-gap: 1.25rem; }
.reviews-masonry .review { break-inside: avoid; margin-bottom: 1.25rem; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .8rem; }
.review blockquote { margin: 0; color: var(--text); }
.review blockquote p:last-child { margin-bottom: 0; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .92rem; }
.review figcaption strong { color: var(--ink); }
.review figcaption span { color: var(--muted); }

/* ---------- FAQ */
.faq details { background: #fff; border-radius: 14px; margin-bottom: .75rem; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 1.4rem; font-weight: 650; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--muted); }

/* ---------- Unterseiten */
.page-hero { padding: clamp(2.25rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); background: linear-gradient(180deg, #fffbe6 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-hero-slim { padding-bottom: 1.5rem; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.page-hero-row { display: flex; gap: 1.75rem; align-items: flex-start; }
.page-hero-icon { flex: none; width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); box-shadow: var(--shadow); }
.page-hero-icon .i { width: 38px; height: 38px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs a { color: var(--muted); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.svc-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.text-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem 2.5rem; }
.text-block h2 { font-size: 1.3rem; }
.text-block.highlight { background: var(--yellow-soft); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.cta-line { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin: 2.5rem 0 0; padding: 1.25rem 1.5rem; border-radius: 14px;
  border: 2px dashed var(--blue); font-weight: 650; color: var(--ink); }
.cta-line .i { color: var(--blue); }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-text h2 { margin-top: 2rem; font-size: 1.5rem; }
.about-text .checks { margin-bottom: 1.5rem; }
.big { font-size: 1.3rem; color: var(--ink); line-height: 1.5; }
.quote { font: 650 1.2rem/1.45 var(--font-display); color: var(--ink); border-left: 5px solid var(--yellow); padding: .25rem 0 .25rem 1.1rem; }
.about-side { display: grid; gap: 1.25rem; }
.logo-card { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; }
.contact-teaser { margin-top: 4rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; align-items: stretch; }
.contact-panel h2 { margin-bottom: 1rem; }
.map-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; background: #fff; }
.map-art { position: relative; height: 220px; background: #eef5fb; color: var(--blue-dark); }
.map-art svg { width: 100%; height: 100%; }
.map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -70%); width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%;
  background: var(--red); color: #fff; box-shadow: 0 0 0 8px rgba(232, 81, 63, .2), var(--shadow-lg); }
.map-pin .i { width: 30px; height: 30px; }
.map-body { padding: 1.75rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal p { color: var(--text); }

/* ---------- CTA & Footer */
.cta-band { background: var(--yellow); padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: .3rem; }
.cta-band p { margin: 0; color: #3b3a2a; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.site-footer { background: var(--ink); color: #b9c3d3; padding: 3.5rem 0 calc(1.5rem + env(safe-area-inset-bottom)); font-size: .97rem; }
.site-footer a { color: #e6ebf3; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand .brand-mark { font-size: 1.5rem; color: #fff; }
.footer-brand .brand-plus { color: var(--ink); background: var(--yellow); box-shadow: none; }
.site-footer .muted { color: #8d99ad; }
.plain { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .88rem; color: #8d99ad; }
.footer-bottom p { margin: 0; }

/* Mobile Anrufleiste */
.callbar { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .callbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink);
    padding: .4rem .5rem calc(.4rem + env(safe-area-inset-bottom)); box-shadow: 0 -6px 24px rgba(0, 0, 0, .15); }
  .callbar a { display: flex; flex-direction: column; align-items: center; gap: .15rem; color: #fff; text-decoration: none; font-size: .78rem; font-weight: 600; padding: .35rem; border-radius: 10px; }
  .callbar a:first-child { background: var(--yellow); color: var(--ink); }
  .callbar .i { width: 22px; height: 22px; }
}

/* ---------- Responsive */
@media (max-width: 980px) {
  .hero-grid, .intro-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-card { max-width: 520px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero-row { flex-direction: column; gap: 1rem; }
  .page-hero-icon { width: 60px; height: 60px; border-radius: 18px; }
  .btn { padding: .8rem 1.15rem; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .business { flex-direction: column; }
  .brand-mark { font-size: 1.4rem; }
  .quick { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Schwerpunkte */
.focus { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: .75rem; margin-top: 1.4rem; max-width: 620px; }
.focus-item { display: flex; align-items: center; gap: .85rem; padding: .9rem 1rem; background: #fff; border-radius: 16px; border: 2px solid var(--yellow);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.focus-item:hover { transform: translateY(-2px); border-color: var(--blue); color: var(--ink); }
.focus-item .i { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--blue); color: #fff; }
.focus-item strong { display: block; font-size: 1.05rem; }
.focus-item small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.3; }
.card-featured { position: relative; border: 2px solid var(--yellow) !important; background: linear-gradient(180deg, #fffbe3 0%, #fff 45%); }
.card-featured .card-icon { background: var(--blue); color: #fff; }
.card-tag { position: absolute; top: 1.1rem; right: 1.1rem; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px; }
