/* wohnen-leben-tipps.com
   Variante D laut notes/01-variationsregeln.md: utility-artige Klassen,
   Serif-Ueberschriften, Randspalte links, kein JavaScript. */

:root {
  --sand: #fbfaf7;
  --sand-tief: #f1eee7;
  --text: #24282b;
  --text-leise: #5f676c;
  --petrol: #2e5a6b;
  --petrol-hell: #4a90a4;
  --limette: #7fa632;
  --rahmen: #ddd8cd;
  --serif: Georgia, "Times New Roman", Times, serif;
  --grotesk: "Segoe UI", Tahoma, Verdana, Geneva, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  background: var(--sand);
  color: var(--text);
  font: 17px/1.7 var(--grotesk);
  margin: 0;
  hyphens: auto;
}

.scrollbox td, .scrollbox th { overflow-wrap: anywhere; }

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.28;
}

/* Links bleiben ohne Hover erkennbar */
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--limette); }
:focus-visible { outline: 2px solid var(--limette); outline-offset: 3px; }
[id] { scroll-margin-top: 14px; }

/* --- Utilities --------------------------------------------------------- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.wrap-s { max-width: 760px; }
.row { display: flex; flex-wrap: wrap; align-items: center; }
.row-top { align-items: flex-start; }
.gap-2 { gap: 12px; }
.gap-4 { gap: 26px; }
.gap-6 { gap: 40px; }
.push { margin-left: auto; }
.stack-s > * + * { margin-top: 8px; }
.stack-m > * + * { margin-top: 18px; }
.stack-l > * + * { margin-top: 36px; }
.pad-3 { padding: 18px 20px; }
.pad-y-5 { padding-block: 40px; }
.pad-y-7 { padding-block: 56px; }
.txt-xs { font-size: 13px; }
.txt-sm { font-size: 15px; }
.txt-lg { font-size: 19px; }
.leise { color: var(--text-leise); }
.bare { list-style: none; margin: 0; padding: 0; }
.rule { border: 0; border-top: 1px solid var(--rahmen); margin: 0; }
.cap {
  font-family: var(--grotesk);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--petrol);
}

/* --- Kopf -------------------------------------------------------------- */
.top { background: var(--sand); border-bottom: 1px solid var(--rahmen); }
.top .wrap { padding-block: 16px; }
.brand { display: block; line-height: 0; flex: 0 0 auto; }
.brand img { display: block; width: 240px; }
.menu { margin-left: auto; }
.menu ul { display: flex; flex-wrap: wrap; gap: 2px 22px; list-style: none; margin: 0; padding: 0; }
.menu a {
  color: var(--petrol);
  display: inline-block;
  font-size: 15px;
  padding-block: 7px;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.menu a:hover { color: var(--limette); border-bottom-color: var(--limette); }
.menu a[aria-current] { border-bottom-color: var(--petrol); font-weight: 600; }

/* --- Beitrag mit linker Randspalte ------------------------------------- */
.sheet { display: grid; grid-template-columns: 238px minmax(0, 1fr); gap: 0 44px; }
.rail { position: sticky; top: 14px; align-self: start; font-size: 15px; }
.rail h2 { font-size: 12px; margin: 0 0 10px; font-family: var(--grotesk);
  font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--text-leise); }
.rail li { margin-bottom: 9px; line-height: 1.45; }
.rail a { text-decoration-color: var(--rahmen); text-underline-offset: 3px; }
.rail a:hover { text-decoration-color: currentColor; }
.rail section + section { margin-top: 30px; }

.crumb { font-size: 14px; color: var(--text-leise); margin: 0 0 14px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; }
.crumb li:not(:last-child)::after { content: "»"; margin-left: 7px; color: var(--rahmen); }

.head h1 { font-size: 35px; margin: 0 0 14px; }
.byline {
  border-bottom: 1px solid var(--rahmen);
  color: var(--text-leise);
  font-size: 14px;
  margin: 0 0 26px;
  padding-bottom: 14px;
}
.byline b { color: var(--text); }

.intro { font-size: 19px; line-height: 1.62; margin: 0 0 26px; }
.shot { margin: 0 0 30px; }
.shot img { display: block; width: 100%; }

.body h2 { font-size: 26px; margin: 42px 0 14px; }
.body h3 { font-size: 20px; margin: 30px 0 10px; }
.body p { margin: 0 0 16px; }
.body ul, .body ol { margin: 0 0 20px; padding-left: 22px; }
.body li { margin-bottom: 7px; }
.body li::marker { color: var(--petrol-hell); }
.body figure { margin: 28px 0; }

/* Merksatz, Erkennungsmerkmal dieser Domain */
.note {
  background: var(--sand-tief);
  border-left: 5px solid var(--limette);
  margin: 24px 0;
  padding: 14px 18px;
}
.note p { margin: 0; }

.scrollbox { overflow-x: auto; margin: 0 0 22px; -webkit-overflow-scrolling: touch; }
.body table { border-collapse: collapse; font-size: 16px; width: 100%; }
.body th, .body td {
  border-bottom: 1px solid var(--rahmen);
  padding: 9px 11px;
  text-align: left;
  white-space: nowrap;
}
.body thead th { background: var(--sand-tief); }

/* --- Listen auf Start- und Rubrikseiten -------------------------------- */
.lead-box { max-width: 64ch; }
.lead-box h1 { font-size: 37px; margin: 0 0 14px; }

.group { margin-bottom: 46px; }
.group-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.group-head h2 { font-size: 21px; margin: 0; }
.group-head::after { content: ""; flex: 1 1 20px; border-top: 1px solid var(--rahmen); }

.tiles { display: grid; gap: 26px 26px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.tile { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 18px; min-width: 0; }
.tile-media { display: block; line-height: 0; }
.tile-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tile h3 { font-size: 18px; margin: 4px 0 7px; }
.tile h3 a { text-decoration: none; }
.tile h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.tile p { margin: 0; }

.more { margin: 18px 0 0; }
.more a { font-size: 15px; font-weight: 600; text-decoration-color: var(--rahmen); text-underline-offset: 4px; }
.more a:hover { text-decoration-color: currentColor; }

/* --- Autoren ----------------------------------------------------------- */
.folks { display: grid; gap: 24px 32px; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--sand-tief); padding: 26px 28px; }
.folks b { display: block; font-family: var(--serif); font-size: 18px; }
.folks .cap { display: block; margin: 3px 0 8px; color: var(--limette); }

/* --- Fuss -------------------------------------------------------------- */
.foot { background: var(--petrol); color: #e6eef1; margin-top: 44px; padding-block: 34px; font-size: 14px; }
.foot .wrap { display: grid; gap: 22px 40px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.foot p { margin: 0 0 6px; }
.foot .cap { color: #b9d2da; }
.foot a { color: #e6eef1; text-decoration-color: rgba(230, 238, 241, 0.4); text-underline-offset: 3px; }
.foot a:hover { color: #ffffff; text-decoration-color: currentColor; }

@media (max-width: 1000px) {
  .sheet { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .rail { position: static; border: 1px solid var(--rahmen); padding: 16px 18px; margin-bottom: 28px; }
  .rail ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
  .rail li { margin: 0; }
  .rail section + section { margin-top: 18px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 17px; }
  .brand img { width: 196px; }
  .menu { flex-basis: 100%; margin-left: 0; }
  .head h1 { font-size: 27px; }
  .lead-box h1 { font-size: 28px; }
  .body h2 { font-size: 22px; margin-top: 34px; }
  .intro { font-size: 17px; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .folks { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; }
}

@media (max-width: 460px) {
  .wrap { padding: 0 17px; }
  .head h1 { font-size: 24px; }
  .body h2 { font-size: 20px; }
  .tile { grid-template-columns: 104px minmax(0, 1fr); gap: 13px; }
}

@media (hover: none) {
  .rail a, .foot a { display: inline-block; padding-block: 5px; }
}
