/* =========================================================
   abscheider-vollservice.de – Basis-Styles (alle Viewports)
   Farbwelt: Petrol/Dunkelgruen + Orange-Akzent (RESTOil-Logo)
   ========================================================= */

:root {
    --petrol: #0d3d38;
    --petrol-dark: #092b27;
    --petrol-mid: #14524a;
    --petrol-light: #e6f0ee;
    --mint: #bcd9cf;
    --accent: #ee7d00;
    --accent-dark: #c76800;
    --ink: #22302e;
    --ink-soft: #51605d;
    --paper: #ffffff;
    --bg: #f4f8f7;
    --line: #d8e4e1;
    --radius: 10px;
    --shadow: 0 8px 28px rgba(9, 43, 39, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

a { color: var(--petrol-mid); }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
    color: var(--petrol);
    line-height: 1.25;
    font-weight: 700;
}
h1 { font-size: 2.1rem; }
h2 { font-size: 1.6rem; margin-top: 2.2rem; }
h3 { font-size: 1.2rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-accent {
    background: var(--accent);
    color: #fff;
    border: 2px solid var(--accent);
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.85);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--paper);
    border-bottom: 3px solid var(--petrol);
    box-shadow: 0 2px 12px rgba(9, 43, 39, 0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.site-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 8px 0;
}
.site-logo img { width: 170px; height: auto; display: block; }
.site-claim {
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--petrol-mid);
    font-weight: 700;
    margin-top: 2px;
}
.header-phone {
    margin-left: auto;
    text-decoration: none;
    text-align: right;
    line-height: 1.25;
}
.header-phone-label {
    display: block;
    font-size: 0.72rem;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.header-phone-number {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--petrol);
}
.header-phone:hover .header-phone-number { color: var(--accent-dark); }

/* Navigation (Grundgeruest, Details in desktop/mobile.css) */
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-weight: 600; }
.nav-cta {
    background: var(--accent);
    color: #fff !important;
    border-radius: 999px;
    padding: 0.55rem 1.2rem;
    font-weight: 700;
    white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-dark); }

.burger {
    display: none;
    background: none;
    border: 0;
    padding: 10px;
    cursor: pointer;
}
.burger span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px 0;
    background: var(--petrol);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--petrol-dark);
}
.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(9, 43, 39, 0.88) 0%,
        rgba(9, 43, 39, 0.72) 38%,
        rgba(9, 43, 39, 0.25) 70%,
        rgba(9, 43, 39, 0.05) 100%);
}
.hero-wrap { position: relative; z-index: 2; }
.hero-panel {
    max-width: 640px;
    padding: 4.5rem 0;
    color: #fff;
}
.hero-title {
    color: #fff;
    margin: 0 0 0.75rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--mint);
    margin: 0 0 1.4rem 0;
    font-weight: 600;
}
.hero-text { margin-bottom: 1.4rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-phone { margin-top: 1.1rem; font-size: 0.95rem; color: var(--mint); }
.hero-phone a { color: #fff; font-weight: 800; text-decoration: none; }
.hero-phone a:hover { color: var(--accent); }

/* ---------- Trustbar ---------- */
.trustbar { position: relative; z-index: 3; }
.trustbar-inner {
    display: grid;
    gap: 0.6rem;
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.2rem 1.5rem;
}
.trust-item { font-weight: 600; font-size: 0.95rem; color: var(--petrol); }
.trust-mark {
    display: inline-block;
    color: #fff;
    background: var(--accent);
    border-radius: 50%;
    width: 1.35rem;
    height: 1.35rem;
    line-height: 1.35rem;
    text-align: center;
    font-size: 0.8rem;
    margin-right: 0.4rem;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-top: 1rem; font-size: 0.88rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "›"; margin: 0 0.5rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-dark); }
.breadcrumb .current span { color: var(--petrol); font-weight: 600; }

/* ---------- Inhalt ---------- */
.main-content { padding: 1.5rem 0 3rem; }
.main-content > .frame {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    margin-bottom: 2.2rem;
}
.frame header h1 { margin-top: 1rem; }

/* Bilder in Inhaltselementen */
.ce-gallery img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.4rem; }

/* Karten-Raster: ul im frame-cards wird zum Kartenlayout */
.frame-cards ul { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.frame-cards li {
    background: var(--paper);
    border-radius: var(--radius);
    border-top: 4px solid var(--accent);
    box-shadow: var(--shadow);
    padding: 1.3rem 1.4rem;
}
.frame-cards li > a:first-child,
.frame-cards li strong:first-child { font-size: 1.06rem; }
.frame-cards li a { font-weight: 700; color: var(--petrol); text-decoration: none; }
.frame-cards li a:hover { color: var(--accent-dark); }

/* Schritte: ol im frame-steps wird zur Prozessleiste */
.frame-steps ol {
    counter-reset: step;
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
    display: grid;
    gap: 1.1rem;
}
.frame-steps li {
    counter-increment: step;
    background: var(--petrol-light);
    border-radius: var(--radius);
    padding: 1.2rem 1.3rem 1.2rem 4.2rem;
    position: relative;
}
.frame-steps li::before {
    content: counter(step);
    position: absolute;
    left: 1.1rem;
    top: 1.05rem;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: var(--petrol);
    color: #fff;
    font-weight: 800;
    text-align: center;
    line-height: 2.1rem;
}

/* CTA-Inhaltselement */
.frame-cta {
    background: var(--petrol);
    border-radius: var(--radius);
    color: #fff;
    padding: 2rem 1.6rem !important;
}
.frame-cta h2, .frame-cta h3 { color: #fff; }
.frame-cta a { color: var(--accent); font-weight: 700; }

/* ---------- CTA-Band vor dem Footer ---------- */
.cta-band { background: var(--petrol); color: #fff; }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; padding: 2.2rem 20px; }
.cta-band-text { flex: 1 1 380px; }
.cta-band-text h2 { color: #fff; margin: 0 0 0.5rem; }
.cta-band-text p { margin: 0; color: var(--mint); }
.cta-band-actions { display: flex; flex-direction: column; gap: 0.6rem; align-items: center; }
.cta-band-phone { color: #fff; font-size: 1.25rem; font-weight: 800; text-decoration: none; }
.cta-band-phone:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol-dark); color: #cfe0db; font-size: 0.95rem; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.site-footer a { color: #cfe0db; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; gap: 2rem; padding: 2.5rem 20px; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 0.4rem; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1rem 0;
    font-size: 0.85rem;
    color: #9db7b0;
}
.footer-bottom p { margin: 0; }

/* ---------- Powermail ---------- */
.powermail_fieldwrap { margin-bottom: 1rem; }
.powermail_field input[type="text"],
.powermail_field input[type="email"],
.powermail_field input[type="tel"],
.powermail_field textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    font: inherit;
    background: var(--paper);
}
.powermail_field input:focus, .powermail_field textarea:focus {
    outline: 2px solid var(--petrol-mid);
    border-color: var(--petrol-mid);
}
.powermail_label { font-weight: 600; display: block; margin-bottom: 0.3rem; }
.powermail_fieldwrap_type_submit input {
    background: var(--accent);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0.8rem 1.8rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}
.powermail_fieldwrap_type_submit input:hover { background: var(--accent-dark); }
