/* STG Tankservice - vorlaeufige Visitenkarten-Seite */
:root {
    --rot: #c8102e;
    --rot-dunkel: #9e0c24;
    --text: #23272b;
    --grau: #5f6770;
    --linie: #e3e6e9;
    --hell: #f5f6f7;
    --weiss: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--hell);
}
a { color: var(--rot); }
a:hover { color: var(--rot-dunkel); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }

/* Kopf */
.kopf { background: var(--weiss); border-top: 6px solid var(--rot); box-shadow: 0 1px 0 var(--linie); }
.kopf .wrap { display: flex; align-items: center; gap: 22px; padding-top: 22px; padding-bottom: 22px; }
.kopf img { width: 92px; height: auto; flex: none; }
.kopf .name { font-size: 1.55rem; font-weight: 800; line-height: 1.2; margin: 0; }
.kopf .name a { color: var(--text); text-decoration: none; }
.kopf .claim { margin: 4px 0 0; color: var(--rot); font-weight: 600; letter-spacing: .02em; }

/* Hero */
.hero { background: linear-gradient(135deg, #2b3138 0%, #3d454e 100%); color: var(--weiss); }
.hero .wrap { padding-top: 56px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.2; margin: 0 0 14px; max-width: 760px; }
.hero p { font-size: 1.1rem; margin: 0 0 26px; max-width: 680px; color: #dfe3e7; }
.knopf {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--rot); color: var(--weiss); text-decoration: none;
    font-weight: 700; font-size: 1.15rem; padding: 14px 24px; border-radius: 8px;
}
.knopf:hover { background: var(--rot-dunkel); color: var(--weiss); }
.knopf.zweit { background: transparent; border: 2px solid #8a939c; margin-left: 10px; }
.knopf.zweit:hover { border-color: var(--weiss); background: transparent; }

/* Inhalt */
main .wrap { padding-top: 46px; padding-bottom: 46px; }
.raster { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.karte {
    background: var(--weiss); border-radius: 12px; padding: 28px 30px;
    box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 18px rgba(0,0,0,.05);
}
.karte h2 { margin: 0 0 14px; font-size: 1.3rem; }
.karte h2::after { content: ""; display: block; width: 44px; height: 3px; background: var(--rot); margin-top: 8px; }
.liste { margin: 0; padding: 0; list-style: none; }
.liste li { position: relative; padding: 6px 0 6px 26px; border-bottom: 1px solid var(--linie); }
.liste li:last-child { border-bottom: 0; }
.liste li::before { content: "\2713"; position: absolute; left: 0; top: 6px; color: var(--rot); font-weight: 700; }
.kontakt dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.kontakt dt { color: var(--grau); }
.kontakt dd { margin: 0; font-weight: 600; }
.kontakt dd a { text-decoration: none; }
.kontakt .adresse { margin: 0 0 16px; }
.standorte { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--linie); }
.standorte h3 { margin: 0 0 8px; font-size: 1rem; color: var(--grau); font-weight: 600; }
.standorte ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 18px; font-size: .95rem; }
.standorte li { break-inside: avoid; padding: 2px 0; }
.standorte a { text-decoration: none; white-space: nowrap; }
.hinweis { margin: 26px 0 0; text-align: center; color: var(--grau); font-size: .95rem; }

/* Rechtstexte */
.recht { max-width: 800px; }
.recht h1 { margin-top: 0; }
.recht h2 { font-size: 1.15rem; margin: 28px 0 6px; }
.recht p, .recht li { color: #343a40; }
.offen { background: #fff3c4; padding: 0 4px; border-radius: 3px; }

/* Fuss */
.fuss { background: #23272b; color: #aab2ba; font-size: .9rem; }
.fuss .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; padding-bottom: 22px; }
.fuss a { color: #dfe3e7; text-decoration: none; margin-left: 18px; }
.fuss a:hover { color: var(--weiss); text-decoration: underline; }

@media (max-width: 760px) {
    body { font-size: 16px; }
    .kopf img { width: 64px; }
    .kopf .name { font-size: 1.2rem; }
    .hero .wrap { padding-top: 38px; padding-bottom: 38px; }
    .knopf { width: 100%; justify-content: center; }
    .knopf.zweit { margin: 10px 0 0; }
    .raster { grid-template-columns: 1fr; }
    .karte { padding: 22px; }
    .fuss a { margin: 0 18px 0 0; }
    .standorte ul { columns: 1; }
    .kontakt dl { grid-template-columns: 1fr; gap: 0; }
    .kontakt dd { margin-bottom: 8px; }
}
