/* Dörge Brennstoffe & Dienstleistungen – Entwurf Neuaufbau
   Keine externen Schriften/Skripte (DSGVO), keine Cookies. */
:root {
  --blue: #0b4f9c;
  --blue-dark: #083a74;
  --yellow: #ffc400;
  --yellow-soft: #fff4c7;
  --ink: #1c2530;
  --muted: #55606e;
  --line: #dfe4ea;
  --soft: #f3f5f8;
  --paper: #ffffff;
  --radius: 6px;
  --wrap: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.65; font-size: 1.0625rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: #000; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* Kopf */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { color: var(--ink); text-decoration: none; padding: .55rem .9rem; font-weight: 600; font-size: .98rem; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--yellow); }
.nav a[aria-current="page"] { border-bottom-color: var(--blue); color: var(--blue); }
.nav a.cta { background: var(--yellow); color: #111; border-radius: var(--radius); border-bottom: 0; margin-left: .5rem; padding: .6rem 1.1rem; }
.nav a.cta:hover { background: #ffd23f; }
.nav-toggle { display: none; background: none; border: 2px solid var(--blue); color: var(--blue); border-radius: var(--radius); font: inherit; font-weight: 700; padding: .45rem .9rem; min-height: 44px; cursor: pointer; }

/* Startseite: Hero */
.hero { display: grid; grid-template-columns: minmax(380px, 5fr) 7fr; min-height: clamp(380px, 40vw, 520px); background: var(--blue); }
.hero-panel { background: var(--blue); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 2.5rem 2.5rem 2.5rem max(1.25rem, calc((100vw - var(--wrap)) / 2)); border-left: 0; }
.hero-panel h1 { margin: 0 0 1rem; color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.2; }
.hero-panel p { margin: 0 0 1.5rem; opacity: .95; max-width: 40ch; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 10% 60%; border-bottom: 0; }
.btn { display: inline-block; font: inherit; font-weight: 700; text-decoration: none; padding: .8rem 1.4rem; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; min-height: 44px; }
.btn-primary { background: var(--yellow); color: #111; }
.btn-primary:hover { background: #ffd23f; color: #111; }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--blue); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.infobar { background: var(--yellow); color: #111; }
.infobar .wrap { display: flex; flex-wrap: wrap; gap: .35rem 2rem; padding: .85rem 0; font-weight: 600; }
.infobar span b { font-weight: 800; }
.infobar a { color: #111; }

/* Abschnitte */
section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.soft { background: var(--soft); }
h1, h2, h3 { line-height: 1.2; color: var(--ink); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 1rem; }
h2::after { content: ""; display: block; width: 56px; height: 5px; background: var(--yellow); margin-top: .6rem; }
h3 { font-size: 1.2rem; margin: 1.75rem 0 .5rem; }
.lead { font-size: 1.2rem; max-width: 62ch; }
.cols { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.cols.even { grid-template-columns: 1fr 1fr; }
.sign { font-weight: 700; margin-top: 1.5rem; }
.photo { border-radius: var(--radius); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(0,0,0,.45); }
figure { margin: 0; }
figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; }

/* Teaser-Zeilen (Start) */
.rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 220px 1fr auto; gap: 1.5rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.row img { width: 220px; height: 100px; object-fit: cover; border-radius: var(--radius); }
.row h3 { margin: 0 0 .25rem; }
.row p { margin: 0; color: var(--muted); }
.row .go { font-weight: 700; color: var(--blue); white-space: nowrap; }
.row:hover .go { text-decoration: underline; }

.motto { background: var(--blue); color: #fff; text-align: center; padding: 2rem 0; }
.motto p { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 700; letter-spacing: .08em; }
.motto b { color: var(--yellow); padding: 0 .6rem; }

/* Unterseiten */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: 2.25rem 0 1.75rem; }
.page-head h1 { margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.page-head p { margin: .5rem 0 0; color: var(--muted); max-width: 60ch; }
.banner { width: 100%; max-height: 320px; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.5rem; }
.note { background: var(--yellow-soft); border: 1px solid #f0d77a; border-radius: var(--radius); padding: 1rem 1.25rem; margin: 1.25rem 0; }
.ticks { list-style: none; padding: 0; margin: 1rem 0; }
.ticks li { padding: .35rem 0 .35rem 1.9rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .85rem; width: 1rem; height: .5rem; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg) translateY(-30%); }
table.units { border-collapse: collapse; width: 100%; margin: 1rem 0; }
table.units th, table.units td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.units th { background: var(--soft); font-size: .92rem; }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: .45rem 1rem; border: 2px solid var(--blue); border-radius: 999px; text-decoration: none; font-weight: 700; }
.toc a:hover { background: var(--blue); color: #fff; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal h2::after { display: none; }

/* Formulare */
form { display: grid; gap: 1.1rem; max-width: 640px; }
.field { display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label, legend { font-weight: 600; font-size: .98rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  font: inherit; padding: .7rem .8rem; border: 2px solid #b9c2cd; border-radius: var(--radius); width: 100%; min-height: 46px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 3px solid rgba(11,79,156,.25); }
textarea { min-height: 150px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
.choice { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.choice input { margin-top: .4rem; width: 1.1rem; height: 1.1rem; }
.hp { position: absolute; left: -5000px; height: 0; overflow: hidden; }
.hint { font-size: .92rem; color: var(--muted); }
.req { color: #b3261e; }

/* Fuß */
.site-footer { background: var(--blue-dark); color: #e8eef7; padding: 2.5rem 0 1.5rem; margin-top: 0; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { color: #fff; font-size: 1rem; margin: 0 0 .6rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer h2::after { display: none; }
.site-footer p, .site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: .2rem 0; }
.copy { border-top: 1px solid rgba(255,255,255,.2); margin-top: 2rem; padding-top: 1rem; font-size: .9rem; opacity: .85; }

@media (max-width: 860px) {
  .cols, .cols.even, .foot-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: .75rem; }
  .row img { width: 100%; height: 150px; }
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1rem; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: .9rem .25rem; border-bottom: 1px solid var(--line); }
  .nav a.cta { margin: .75rem 0 0; text-align: center; }
  .hero { grid-template-columns: 1fr; }
  .hero-img { height: 240px; order: -1; }
  .hero-panel { padding: 1.75rem 1.25rem 2rem; }
  .field-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .nav-toggle, .infobar, .site-footer .btn { display: none; } }

[id] { scroll-margin-top: 96px; }
