/* =========================================================================
   adaptPro Systems – Stylesheet
   Dunkles, technisches Design. Keine externen Ressourcen, keine Cookies,
   keine Web-Fonts von Drittanbietern: Roboto liegt lokal bei
   (SIL Open Font License, siehe /assets/fonts/Roboto/OFL.txt).
   ========================================================================= */

@font-face {
    font-family: "Roboto";
    src: url("/assets/fonts/Roboto/static/Roboto-Thin.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Roboto";
    src: url("/assets/fonts/Roboto/static/Roboto-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Roboto";
    src: url("/assets/fonts/Roboto/static/Roboto-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Roboto";
    src: url("/assets/fonts/Roboto/static/Roboto-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Akzentfarbe = Orange aus dem Firmenlogo (rgb 255,64,0) */
    --bg:        #000000;
    --bg-elev:   #151517;
    --bg-elev-2: #1d1d20;
    --line:      #2b2b2f;
    --line-soft: #202024;
    --text:      #ececee;
    --muted:     #b9bfc7;
    --accent:    #ff4000;
    --accent-dim:#7d2d0c;
    --accent-hi: #ff6a33;

    --radius: 10px;
    --wrap: 1080px;
    --gap: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    font-weight: 300;
    font-size: 17px;
    line-height: 1.7;
    /* dezentes technisches Raster */
    background-image:
        radial-gradient(900px 420px at 15% -8%, rgba(255, 64, 0, .10), transparent 65%),
        linear-gradient(to right, rgba(255,255,255,.022) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.022) 1px, transparent 1px);
    background-size: auto, 64px 64px, 64px 64px;
    background-attachment: fixed, fixed, fixed;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

/* Betonungen bewusst nur mittelfett – der Schnitt Bold wird nicht mehr
   ausgeliefert. Das gilt auch für die <strong>-Elemente in den Rechtstexten. */
strong, b { font-weight: 500; }

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 10px 16px;
    background: var(--accent);
    color: #140500;
    font-weight: 500;
}
.skip-link:focus { left: 12px; top: 12px; }

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------------------------------------------------------------- Header */

.site-header {
    border-bottom: 1px solid var(--line-soft);
    background: rgba(0, 0, 0, .82);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    font-weight: 300;
    font-size: 19px;
    letter-spacing: .2px;
    white-space: nowrap;
}
.brand:hover { text-decoration: none; color: var(--text); }
.brand .mark {
    display: block;
    width: auto;
    height: 32px;
    flex: 0 0 auto;
}

/* Vollständiges Logo (Icon + Wortmarke), z. B. auf der Über-uns-Seite */
.brand-logo {
    display: block;
    width: 180px;
    height: auto;
    margin: 0 0 22px;
}
.brand .pro { color: var(--accent); font-weight: 300; }

.main-nav { margin-left: auto; }
.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.main-nav a {
    display: block;
    padding: 7px 12px;
    border-radius: 7px;
    color: var(--muted);
    font-size: 15.5px;
    font-weight: 500;
}
.main-nav a:hover,
.main-nav a:focus { color: var(--text); background: var(--bg-elev-2); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--text); background: var(--bg-elev-2); }

.lang {
    display: flex;
    gap: 2px;
    align-items: center;
    margin-left: 6px;
    padding-left: 12px;
    border-left: 1px solid var(--line);
    font-size: 14px;
}
.lang a { padding: 6px 8px; border-radius: 6px; color: var(--muted); }
.lang a[aria-current="true"] { color: var(--accent); font-weight: 500; }
.lang a:hover { color: var(--text); background: var(--bg-elev-2); text-decoration: none; }

/* ------------------------------------------------------------------ Hero */

.hero {
    padding: 84px 0 68px;
    border-bottom: 1px solid var(--line-soft);
}
.hero h1 {
    margin: 0 0 20px;
    font-size: clamp(34px, 5.4vw, 56px);
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: -.5px;
    max-width: 20ch;
}
.hero h1 strong { font-weight: 500; color: var(--accent); }
.hero .lead {
    margin: 0 0 32px;
    font-size: clamp(18px, 2.1vw, 21px);
    color: var(--muted);
    max-width: 62ch;
    font-weight: 300;
}
.kicker {
    display: inline-block;
    margin: 0 0 20px;
    padding: 5px 12px;
    border: 1px solid var(--accent-dim);
    border-radius: 999px;
    color: var(--accent);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
    display: inline-block;
    padding: 12px 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg-elev);
    color: var(--text);
    font-weight: 500;
    font-size: 16px;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.btn:hover, .btn:focus {
    text-decoration: none;
    border-color: var(--accent);
    background: var(--bg-elev-2);
}
.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #140500;
    font-weight: 500;
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--accent-hi);
    border-color: var(--accent-hi);
    color: #140500;
}

/* --------------------------------------------------------------- Sections */

.section { padding: 64px 0; border-bottom: 1px solid var(--line-soft); }
.section:last-of-type { border-bottom: 0; }

.section h2 {
    margin: 0 0 14px;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 300;
    letter-spacing: -.2px;
}
.section .section-lead {
    margin: 0 0 40px;
    max-width: 68ch;
    color: var(--muted);
}

.page-head { padding: 56px 0 8px; }
.page-head h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4.2vw, 44px);
    font-weight: 300;
    letter-spacing: -.4px;
}
.page-head .lead { margin: 0; max-width: 62ch; color: var(--muted); font-size: 19px; }

/* ------------------------------------------------------------------ Grid */

.grid {
    display: grid;
    gap: var(--gap);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
    padding: 26px 24px;
    background: linear-gradient(180deg, var(--bg-elev), rgba(16,24,35,.55));
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.card h3 {
    margin: 0 0 10px;
    font-size: 19px;
    font-weight: 500;
    color: var(--text);
}
.card h3 .num {
    display: block;
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.6px;
}
.card p { margin: 0 0 12px; color: var(--muted); font-size: 16px; }
.card ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 16px; }
.card li { margin-bottom: 6px; }
.card > :last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- Prozess */

.steps {
    display: grid;
    gap: var(--gap);
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    counter-reset: step;
    margin: 0;
    padding: 0;
    list-style: none;
}
.steps li {
    position: relative;
    padding: 22px 20px 22px 20px;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    counter-increment: step;
}
.steps li::before {
    content: "0" counter(step);
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.6px;
}
.steps h3 { margin: 0 0 8px; font-size: 17.5px; font-weight: 500; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* --------------------------------------------------------------- CTA-Band */

.cta-band {
    padding: 44px 0;
    background: linear-gradient(90deg, rgba(255,64,0,.10), rgba(255,64,0,.02));
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}
.cta-band .inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 32px;
    justify-content: space-between;
}
.cta-band h2 { margin: 0 0 6px; font-size: clamp(21px, 2.6vw, 26px); font-weight: 300; }
.cta-band p { margin: 0; color: var(--muted); }

/* ------------------------------------------------------------------ Prose */

.prose { max-width: 78ch; }
.prose h2 {
    margin: 44px 0 12px;
    font-size: 23px;
    font-weight: 300;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line-soft);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 8px; font-size: 18.5px; font-weight: 500; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 7px; }
.prose address {
    font-style: normal;
    padding: 18px 20px;
    margin: 0 0 18px;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    line-height: 1.75;
}
.prose .note {
    padding: 16px 18px;
    background: rgba(255,64,0,.07);
    border: 1px solid var(--accent-dim);
    border-radius: var(--radius);
    color: var(--muted);
    font-size: 16px;
}
.prose .note p:last-child { margin-bottom: 0; }

/* Ergebnisblock: „Was Sie davon haben" auf den Leistungsseiten */
.result {
    margin: 28px 0 0;
    padding: 18px 20px;
    max-width: 78ch;
    background: rgba(255, 64, 0, .07);
    border: 1px solid var(--accent-dim);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
}
.result strong { color: var(--accent); }
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 18px;
    font-size: 16px;
}
.prose th, .prose td {
    padding: 10px 12px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}
.prose th { background: var(--bg-elev); font-weight: 500; }
.prose td:first-child { color: var(--muted); white-space: nowrap; }

/* ---------------------------------------------------------------- Kontakt */

.contact-grid {
    display: grid;
    gap: var(--gap);
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.contact-card { padding: 26px 24px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card h2 { margin: 0 0 16px; font-size: 19px; font-weight: 300; }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { margin-bottom: 14px; }
.contact-list .label {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.contact-list .value { font-size: 17.5px; }
.contact-list .value a { word-break: break-word; }

/* --------------------------------------------------------- Kontaktformular */

.contact-form { max-width: 640px; }

.form-row { margin: 0 0 18px; }
.form-row label {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
}
.form-row input,
.form-row textarea {
    width: 100%;
    padding: 11px 13px;
    background: var(--bg-elev);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    font-weight: 300;
}
.form-row input:focus,
.form-row textarea:focus { border-color: var(--accent); }
.form-row textarea { min-height: 150px; resize: vertical; }

.form-actions { margin: 0 0 18px; }
.form-note { max-width: 62ch; font-size: 15px; color: var(--muted); }

/* Spamfalle: für Besucher unsichtbar und nicht per Tastatur erreichbar */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Rückmeldung nach dem Absenden. Der Dienst leitet auf #gesendet bzw. #fehler
   um; sichtbar wird der passende Kasten allein über CSS – ohne JavaScript. */
.form-status {
    display: none;
    max-width: 640px;
    margin: 0 0 26px;
    padding: 16px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--accent-dim);
    background: rgba(255, 64, 0, .07);
}
.form-status:target { display: block; }
.form-status strong { color: var(--accent); }
.form-status.error { background: rgba(255, 64, 0, .14); }

/* ----------------------------------------------------------------- Footer */

.site-footer {
    padding: 40px 0 32px;
    border-top: 1px solid var(--line-soft);
    color: var(--muted);
    font-size: 15px;
    background: rgba(0, 0, 0, .6);
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 40px;
    justify-content: space-between;
    align-items: flex-start;
}
.footer-inner nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-inner a { color: var(--muted); }
.footer-inner a:hover, .footer-inner a:focus { color: var(--text); }
.footer-legal { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 14.5px; }
.footer-legal p { margin: 0; }

/* ------------------------------------------------------------ Responsive */

@media (max-width: 720px) {
    body { font-size: 16.5px; }
    .header-inner { padding: 12px 0; }
    .main-nav { margin-left: 0; width: 100%; }
    .main-nav ul { gap: 2px; }
    .main-nav a { padding: 6px 9px; font-size: 15px; }
    .lang { border-left: 0; padding-left: 0; margin-left: 0; }
    .hero { padding: 52px 0 46px; }
    .section { padding: 46px 0; }
    .page-head { padding: 40px 0 4px; }
    .cta-band .inner { display: block; }
    .cta-band .actions { margin-top: 18px; }
}

@media print {
    body { background: #fff; color: #000; background-image: none; }
    .site-header, .site-footer, .actions, .cta-band { display: none; }
    .prose a { color: #000; }
}
