/* dobernig.eu – Stildatei für alle Seiten.
   Farbwelt (Stand 20.11.2026): warmer Grund, Petrol als Dunkelton, Senfgelb als Akzent.
   Das blasse Türkis von Verantwortung Erde kommt nur im Block Gemeinderat vor.
   Nur Schriften, die am Gerät vorhanden sind; es wird nichts von fremden Servern geladen. */

:root {
  --bg: #f7f1e3; --karte: #fffdf8; --ink: #1b2b2f; --leise: #5c6667; --linie: #e7dfcf;
  --petrol: #173f47; --senf: #e3a32b; --stein: #ece4d3; --senf-hell: #f9e9c3;
  --tuerkis: #1d9d9e; --tuerkis-tief: #157f80; --tuerkis-hell: #dff1f0;
  --tuerkis-blass: #d6ecea; --tuerkis-kreis: #c2e2df; --erde-gelb: #ffd41f;
}

* { box-sizing: border-box; margin: 0; }
html { font-size: 17px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; line-height: 1.6; color: var(--ink); background: var(--bg); }
a { color: var(--ink); text-decoration-color: var(--senf); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible, .knopf:focus-visible { outline: 3px solid var(--senf); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; font-weight: 700; line-height: 1.12; text-wrap: balance; }
h1 { font-size: 4.1rem; letter-spacing: -.025em; }
h2 { font-size: 2rem; letter-spacing: -.01em; margin-bottom: 26px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
section[id] { scroll-margin-top: 20px; }

.sprung { position: absolute; left: -9999px; top: 8px; background: var(--petrol); color: #fff; padding: 8px 14px; border-radius: 8px; }
.sprung:focus { left: 8px; z-index: 10; }
.huelle { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
header.top { display: flex; justify-content: space-between; align-items: center; padding: 26px 8px; }
.marke { display: inline-block; background: var(--petrol); color: #fff; font-weight: 700; font-size: 1.06rem; letter-spacing: .005em; line-height: 1.2; text-decoration: none; border-radius: 12px; padding: 9px 16px 10px; }
.marke span { color: var(--senf); }
nav a { margin-left: 28px; text-decoration: none; color: var(--ink); font-size: .92rem; }
nav a:hover, .marke:hover { text-decoration: underline; text-decoration-color: var(--senf); }
.karte { background: var(--karte); border-radius: 36px; padding: 56px; }
main > * + * { margin-top: 28px; }
.platzhalter { border: 1.5px dashed #b9b6ad; border-radius: 6px; padding: 0 7px; color: var(--leise); font-size: .9em; }
.kicker { display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 4px 13px; margin-bottom: 14px; }
.knopf { display: inline-block; text-decoration: none; font-weight: 600; border-radius: 999px; padding: 14px 30px; background: var(--senf); color: var(--petrol); }
.knopf:hover { filter: brightness(1.06); }

/* Kopf */
.kopf { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: center; padding: 60px 64px 68px; background: var(--petrol); color: #fff; }
.kopf-foto { position: relative; }
.kopf-foto img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; border-radius: 28px; position: relative; }
.kopf-foto::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 28px; background: var(--senf); }
.gruss { font-size: 1.15rem; margin-bottom: 6px; }
.rollen { font-weight: 600; font-size: 1.1rem; margin-top: 14px; color: var(--senf); }
.lead { font-size: 1.3rem; line-height: 1.5; margin: 22px 0 32px; max-width: 26em; }

/* Über mich */
.ueber-raster { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: center; }
.bio { font-size: 1.05rem; }
.bio p + p { margin-top: 1em; }
.familie { position: relative; }
.familie img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 24px; position: relative; }
.familie::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border-radius: 24px; background: var(--stein); }

/* Mein Weg */
.weg { margin-top: 60px; padding-top: 36px; border-top: 1px solid var(--linie); }
.weg h3 { margin-bottom: 26px; }
.weg ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.weg ol::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: var(--senf); opacity: .45; }
.weg li { position: relative; padding: 30px 14px 0 0; font-size: .86rem; line-height: 1.4; }
.weg li::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--karte); border: 3px solid var(--senf); }
.weg li:last-child::before { background: var(--petrol); border-color: var(--petrol); box-shadow: 0 0 0 5px var(--senf-hell); }
.weg .zeit { display: block; color: var(--leise); font-variant-numeric: tabular-nums; }
.weg b { display: block; font-size: 1rem; margin: 2px 0 3px; }

/* Was ich mache */
.mache, .news { padding: 28px 8px 0; }
.zwei { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px; }
.block { border-radius: 28px; padding: 34px; }
.block p { font-size: .97rem; }
.beruf { background: var(--karte); display: grid; grid-template-columns: 1fr 250px; gap: 34px; align-items: stretch; }
.beruf .kicker { background: var(--stein); color: var(--petrol); }
.beruf img { display: block; width: 100%; height: 100%; min-height: 280px; object-fit: cover; object-position: 50% 10%; border-radius: 20px; }
.beruf ul { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 10px; }
.beruf li { background: var(--bg); border-radius: 14px; padding: 12px 16px; font-size: .9rem; line-height: 1.45; }
.beruf li b { display: block; font-size: .98rem; }
.beruf li:first-child { background: var(--senf-hell); }
.engagement { background: var(--tuerkis-blass); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.engagement > * { position: relative; z-index: 1; }
.engagement::before { content: ""; position: absolute; right: -90px; bottom: -110px; width: 300px; height: 300px; border-radius: 50%; background: var(--tuerkis-kreis); z-index: 0; }
.engagement::after { content: ""; position: absolute; right: 44px; bottom: 150px; width: 26px; height: 26px; border-radius: 50%; background: var(--erde-gelb); z-index: 0; }
.engagement .kicker { background: #fff; color: var(--tuerkis-tief); align-self: flex-start; }
.engagement p + p { margin-top: .8em; }
.marken { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; }
.marken li { background: #fff; border-radius: 999px; padding: 5px 14px; font-size: .85rem; font-weight: 600; color: var(--tuerkis-tief); }
.verweise { margin-top: auto; font-size: .95rem; }
.verweise a { display: block; text-decoration-color: var(--tuerkis); }

/* News */
.news-kopf { display: flex; justify-content: space-between; align-items: baseline; }
.news-kopf a { font-weight: 600; text-decoration: none; }
.news-kopf a:hover, .eintrag .mehr:hover { text-decoration: underline; text-decoration-color: var(--senf); }
.news-liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.eintrag { background: var(--karte); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.eintrag .bild { height: 150px; position: relative; display: flex; align-items: flex-end; padding: 0 22px; }
.eintrag .bild svg { width: 100%; height: 112px; display: block; }
.eintrag:nth-child(3n+1) .bild { background: var(--stein); }
.eintrag:nth-child(3n+2) .bild { background: var(--senf-hell); }
.eintrag:nth-child(3n) .bild { background: var(--tuerkis-hell); }
.beispiel { position: absolute; top: 14px; right: 14px; font-size: .72rem; border: 1.5px dashed #9a968c; border-radius: 6px; padding: 0 7px; color: var(--leise); background: rgba(255, 255, 255, .7); }
.eintrag .text { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.eintrag .datum { font-size: .82rem; color: var(--leise); margin-bottom: 6px; }
.eintrag h3 { font-size: 1.18rem; margin-bottom: 8px; }
.eintrag p { font-size: .93rem; }
.eintrag .mehr { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: .93rem; text-decoration: none; }

/* Kontakt */
.kontakt { display: flex; justify-content: space-between; align-items: center; gap: 40px; background: var(--petrol); color: #fff; }
.kontakt h2 { margin-bottom: 10px; }
.kontakt p { max-width: 30em; }
.kontakt a { color: #fff; }
.kontakt .platzhalter { border-color: rgba(255, 255, 255, .5); color: rgba(255, 255, 255, .8); }
.wege { display: flex; align-items: center; gap: 24px; white-space: nowrap; }
footer { padding: 30px 8px 44px; font-size: .85rem; color: var(--leise); display: flex; justify-content: space-between; }
footer a { color: var(--leise); margin-left: 20px; }

/* Unterseiten: Impressum, Datenschutz, News-Übersicht */
.seite h1 { font-size: 2.6rem; margin-bottom: 10px; }
.seite .unter { color: var(--leise); margin-bottom: 30px; }
.seite h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.seite p, .seite ul { max-width: 44em; }
.seite p + p { margin-top: .8em; }
.seite ul { padding-left: 1.2em; }
.seite li + li { margin-top: .3em; }
.seite dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 24px; max-width: 46em; }
.seite dt { color: var(--leise); }
.hinweis { background: var(--senf-hell); border-radius: 16px; padding: 14px 18px; margin-bottom: 26px; font-size: .93rem; max-width: 46em; }
.news-seite { padding: 8px 8px 0; }
.news-seite h1 { font-size: 2.6rem; margin-bottom: 10px; }
.news-seite .unter { color: var(--leise); margin-bottom: 30px; max-width: 40em; }

@media (max-width: 820px) {
  html { font-size: 16px; }
  .huelle { padding: 0 16px; }
  header.top { flex-wrap: wrap; padding: 20px 6px 14px; }
  nav { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: 12px; }
  nav a { margin-left: 0; background: var(--karte); border-radius: 999px; padding: 6px 14px; font-size: .86rem; }
  .karte { padding: 28px 22px; border-radius: 26px; }
  .kopf { grid-template-columns: 1fr; gap: 44px; padding: 28px 22px 36px; }
  .kopf-foto { max-width: 260px; }
  h1 { font-size: 2.7rem; }
  .seite h1, .news-seite h1 { font-size: 2.1rem; }
  .ueber-raster, .zwei, .news-liste { grid-template-columns: 1fr; gap: 28px; }
  .familie { max-width: 280px; }
  .weg ol { grid-template-columns: 1fr; }
  .weg ol::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .weg li { padding: 0 0 22px 32px; }
  .beruf { grid-template-columns: 1fr; }
  .beruf img { max-width: 200px; height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .engagement::after { right: 26px; bottom: 26px; width: 20px; height: 20px; }
  .kontakt { flex-direction: column; align-items: flex-start; }
  .wege { flex-wrap: wrap; white-space: normal; }
  .seite dl { grid-template-columns: 1fr; gap: 2px 0; }
  .seite dd { margin-bottom: 12px; }
  footer { flex-direction: column; gap: 8px; }
  footer a { margin-left: 0; margin-right: 20px; }
}
