/* feierabendbüro.de – Stylesheet */
/* Redaktioneller Look: Serif-Headlines, linksbündig, Abendblau + Sonnenuntergangs-Orange */

:root {
  --nacht: #1e2836;
  --nacht-tief: #161f2b;
  --abend: #e97c2e;
  --abend-dunkel: #c9631c;
  --abend-hell: #f5a25c;
  --sand: #faf6f0;
  --weiss: #ffffff;
  --text: #2b3441;
  --muted: #66717f;
  --linie: #e7dfd4;
  --gruen: #2e7d4f;
  --serif: Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--sand);
  line-height: 1.65;
  font-size: 17px;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }
.wrap-schmal { max-width: 740px; margin: 0 auto; padding: 0 22px; }

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

/* ---------- Header ---------- */

header.site {
  background: var(--nacht);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--abend);
}

header.site .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 22px;
  max-width: 1040px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo svg { flex-shrink: 0; }

.logo .wort {
  color: var(--weiss);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  font-family: var(--serif);
}

.logo .wort span { color: var(--abend-hell); font-weight: 400; }

nav.haupt { display: flex; gap: 26px; }

nav.haupt a {
  color: #cfd6df;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}

nav.haupt a:hover { color: var(--abend-hell); }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--nacht-tief) 0%, var(--nacht) 100%);
  color: var(--weiss);
  padding: 74px 0 0;
  overflow: hidden;
}

.hero .inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 22px;
}

.hero .kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--abend-hell);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero .kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--abend);
}

.hero h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 720px;
  margin-bottom: 22px;
}

.hero h1 em {
  color: var(--abend-hell);
  font-style: italic;
}

.hero p.sub {
  font-size: 1.12rem;
  color: #c4ccd6;
  max-width: 580px;
  margin-bottom: 34px;
}

.hero .aktionen { margin-bottom: 26px; }

/* Horizont mit sinkender Sonne als Abschluss des Heros */
.hero .horizont { display: block; width: 100%; margin-top: 26px; }

.knopf {
  display: inline-block;
  background: var(--abend);
  color: var(--weiss);
  text-decoration: none;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 1.02rem;
  transition: background 0.15s;
}

.knopf:hover { background: var(--abend-dunkel); }

.knopf.zweit {
  background: transparent;
  border: 2px solid #3d4a5c;
  color: #cfd6df;
  margin-left: 12px;
}

.knopf.zweit:hover { border-color: var(--abend); color: var(--abend-hell); background: transparent; }

/* ---------- Sektionen ---------- */

section.block { padding: 68px 0; }
section.block.hell { background: var(--weiss); }

.block h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.block p.einleitung {
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 40px;
  font-size: 1.04rem;
}

/* Feierabend-Chronik (Uhrzeiten statt Karten) */

.chronik {
  border-left: 3px solid var(--abend);
  max-width: 700px;
}

.chronik .eintrag {
  padding: 4px 0 26px 30px;
  position: relative;
}

.chronik .eintrag:last-child { padding-bottom: 4px; }

.chronik .eintrag::before {
  content: "";
  position: absolute;
  left: -7.5px;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sand);
  border: 3px solid var(--abend);
}

.chronik .uhr {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--abend-dunkel);
  display: block;
  line-height: 1.3;
}

.chronik .eintrag strong { display: block; margin: 2px 0 4px; font-size: 1.04rem; }
.chronik .eintrag p { color: var(--muted); font-size: 0.97rem; max-width: 560px; }

/* Angebots-Reihen statt Einheitskarten */

.angebot { display: grid; gap: 0; }

.reihe {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--linie);
}

.reihe:last-child { border-bottom: 1px solid var(--linie); }

.reihe .icon { color: var(--abend-dunkel); padding-top: 4px; }
.reihe .icon svg { display: block; }

.reihe h3 { font-size: 1.2rem; margin-bottom: 5px; }
.reihe p { color: var(--muted); font-size: 0.97rem; max-width: 560px; }

.reihe a.mehr {
  color: var(--abend-dunkel);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
  padding-top: 8px;
}

.reihe a.mehr:hover { text-decoration: underline; }

.reihe .bald {
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
  padding-top: 8px;
  font-style: italic;
}

/* Artikel-Teaser */

.teaser {
  display: block;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-left: 4px solid var(--abend);
  border-radius: 6px;
  padding: 28px 30px;
  text-decoration: none;
  color: var(--text);
  max-width: 740px;
  transition: box-shadow 0.15s;
}

section.block.hell .teaser { background: var(--sand); }

.teaser:hover { box-shadow: 0 4px 18px rgba(30, 40, 54, 0.08); }

.tag {
  display: inline-block;
  color: var(--abend-dunkel);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.teaser h3 { font-size: 1.35rem; letter-spacing: -0.01em; margin-bottom: 8px; line-height: 1.3; }
.teaser p { color: var(--muted); font-size: 0.97rem; }
.teaser .meta { margin-top: 14px; color: var(--muted); font-size: 0.85rem; display: block; }

/* Vertrauen */

.vertrauen { max-width: 680px; }
.vertrauen p { color: var(--muted); margin-bottom: 14px; }
.vertrauen p strong { color: var(--text); }

/* ---------- Artikel-Seiten ---------- */

.artikel-kopf { padding: 54px 0 30px; border-bottom: 1px solid var(--linie); margin-bottom: 34px; }

.artikel-kopf h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.artikel-kopf .meta { color: var(--muted); font-size: 0.92rem; }

article.inhalt { padding-bottom: 72px; }

article.inhalt h2 {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
}

article.inhalt h2 .nr { color: var(--abend-dunkel); }

article.inhalt p { margin-bottom: 16px; }
article.inhalt ul, article.inhalt ol { margin: 0 0 16px 24px; }
article.inhalt li { margin-bottom: 6px; }

article.inhalt a { color: var(--abend-dunkel); }

/* Hinweis-Boxen */

.box {
  border-radius: 6px;
  padding: 18px 20px;
  margin: 22px 0;
  font-size: 0.97rem;
}

.box.wichtig {
  background: #fdf1e6;
  border: 1px solid #f0c9a4;
  border-left: 4px solid var(--abend);
}

.box.tipp {
  background: #edf5ef;
  border: 1px solid #c4dccd;
  border-left: 4px solid var(--gruen);
}

.box strong { display: block; margin-bottom: 4px; }

/* Prompt-Boxen */

.prompt {
  background: var(--nacht);
  color: #e8edf3;
  border-radius: 6px;
  margin: 18px 0 26px;
  overflow: hidden;
}

.prompt .kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--nacht-tief);
  font-size: 0.8rem;
  color: #9aa6b5;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prompt .kopf button {
  background: var(--abend);
  color: var(--weiss);
  border: none;
  border-radius: 4px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
}

.prompt .kopf button:hover { background: var(--abend-dunkel); }
.prompt .kopf button.ok { background: var(--gruen); }

.prompt pre {
  padding: 18px 20px;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Vergleichstabellen */

.tabelle-wrap { overflow-x: auto; margin: 22px 0 26px; }

table.vergleich {
  border-collapse: collapse;
  width: 100%;
  min-width: 560px;
  font-size: 0.93rem;
  background: var(--weiss);
}

table.vergleich th, table.vergleich td {
  border: 1px solid var(--linie);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

table.vergleich thead th {
  background: var(--nacht);
  color: var(--weiss);
  font-family: var(--serif);
  font-size: 1rem;
}

table.vergleich tbody th {
  background: var(--sand);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Übersichtslisten ---------- */

.artikel-liste { display: grid; gap: 18px; padding: 10px 0 60px; }

/* ---------- Rechtsseiten ---------- */

.recht { padding: 50px 0 72px; }
.recht h1 { font-size: 2rem; margin-bottom: 26px; letter-spacing: -0.01em; }
.recht h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.recht p, .recht li { color: var(--text); margin-bottom: 12px; font-size: 0.98rem; }
.recht ul { margin-left: 24px; }

/* ---------- Footer ---------- */

footer.site {
  background: var(--nacht);
  color: #9aa6b5;
  padding: 44px 0 36px;
  font-size: 0.92rem;
}

footer.site .inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 22px;
}

footer.site .zeilen {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

footer.site nav { display: flex; gap: 20px; flex-wrap: wrap; }

footer.site a { color: #cfd6df; text-decoration: none; }
footer.site a:hover { color: var(--abend-hell); }

footer.site .werbe {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #2c3949;
  font-size: 0.85rem;
  max-width: 720px;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero { padding-top: 54px; }
  .reihe { grid-template-columns: 44px 1fr; }
  .reihe a.mehr, .reihe .bald { grid-column: 2; padding-top: 2px; }
  nav.haupt { gap: 16px; }
  .knopf.zweit { margin-left: 8px; }
}
