/* Seniorenhilfe Sakun – Farben aus dem Briefkopf */
:root {
  --gruen: #2e7d4f;
  --gruen-dunkel: #24653f;
  --gruen-hell: #81ba78;
  --gruen-zart: #eef5ec;
  --creme: #f7f3e3;
  --text: #2b2f2c;
  --text-leise: #5b625d;
  --linie: #d5e2d0;
  --weiss: #ffffff;
  font-size: 106.25%; /* 17px Grundschrift */
}
html.gross { font-size: 118.75%; }
html.sehr-gross { font-size: 131.25%; }

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--text);
  line-height: 1.55;
  background-color: #dfeadb;
  background-image:
    radial-gradient(ellipse at 12% 18%, rgba(129,186,120,.35) 0, transparent 55%),
    radial-gradient(ellipse at 88% 82%, rgba(46,125,79,.22) 0, transparent 55%),
    linear-gradient(160deg, #e8f1e4 0%, #d3e4ce 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
a { color: var(--gruen); }
a:focus-visible, button:focus-visible { outline: 3px solid #f0b429; outline-offset: 2px; }

.rahmen {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px 48px;
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 40px;
  align-items: start;
}

/* ---------- linke Spalte ---------- */
.seitenleiste { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 20px; }

.marke {
  display: block;
  background: var(--creme);
  padding: 30px 24px 26px;
  text-align: center;
  text-decoration: none;
  border-bottom: 4px solid var(--gruen);
}
.marke img { width: 112px; height: 112px; display: block; margin: 0 auto 12px; }
.marke .name { display: block; color: var(--gruen); font-weight: 700; font-size: 1.6rem; line-height: 1.2; }
.marke .linie { display: block; height: 2px; background: var(--gruen-hell); margin: 12px 28px; }
.marke .zeile { display: block; color: #5f9a56; font-style: italic; font-size: .9rem; line-height: 1.4; }

.menue { display: flex; flex-direction: column; }
.menue a {
  display: block;
  background: var(--gruen);
  color: var(--weiss);
  text-decoration: none;
  text-align: center;
  padding: 12px 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  border-bottom: 1px solid rgba(255,255,255,.35);
  transition: background .15s;
}
.menue a:hover { background: var(--gruen-dunkel); }
.menue a[aria-current="page"] { background: var(--weiss); color: var(--gruen); font-weight: 700; }
.menue a:last-child { border-bottom: 0; }

.anrufbox { background: var(--weiss); padding: 30px 24px; text-align: center; }
.anrufbox p { margin: 0 0 14px; color: var(--gruen); font-family: Arial, Helvetica, sans-serif; font-style: italic; font-weight: 700; font-size: 1.05rem; line-height: 1.6; }
.anrufbox .nummer { display: inline-block; margin-top: 4px; font-size: 1.3rem; font-weight: 700; font-style: normal; color: var(--gruen); text-decoration: none; }
.anrufbox .zeiten { color: var(--text-leise); font-style: normal; font-weight: 400; font-size: .92rem; margin: 14px 0 0; }

.schrift { display: flex; gap: 6px; justify-content: center; align-items: center; color: var(--text-leise); font-size: .85rem; }
.schrift button {
  border: 1px solid var(--gruen); background: var(--weiss); color: var(--gruen);
  min-width: 40px; height: 36px; cursor: pointer; font-weight: 700; font-family: inherit;
}
.schrift button[aria-pressed="true"] { background: var(--gruen); color: var(--weiss); }

/* ---------- Inhalt ---------- */
.inhalt { background: var(--weiss); padding: 48px 60px 56px; min-height: 80vh; border: 1px solid #c8d4c4; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.kopf { text-align: center; margin-bottom: 40px; }
.kopf .ort { margin: 0; font-weight: 700; font-size: 1.35rem; color: var(--text); line-height: 1.5; }
.kopf .ort span { display: block; }
.kopf h1 { margin: 6px 0 0; color: var(--text); font-size: 1.7rem; line-height: 1.3; }
.kopf .unter { margin: 10px 0 0; color: var(--gruen); font-style: italic; font-size: 1.1rem; }

h2 { color: var(--gruen); font-size: 1.4rem; line-height: 1.35; margin: 0 0 14px; }
h3 { color: var(--gruen); font-size: 1.12rem; margin: 26px 0 6px; }
p { margin: 0 0 16px; }

.trenner { border: 0; height: 1px; background: #c9cfca; margin: 40px 0; }

.hinweis {
  background: #e6ebe4;
  color: var(--gruen);
  font-family: Arial, Helvetica, sans-serif;
  padding: 18px 24px;
  border-radius: 6px;
  margin: 32px 0 0;
}

.mitte { text-align: center; }
.betont { color: var(--gruen); font-weight: 700; font-size: 1.15rem; margin-bottom: 2px; }
.stark { font-weight: 700; font-size: 1.1rem; }

.gruss { text-align: center; margin-top: 30px; }
.gruss .von { font-size: 1.05rem; }

.liste { padding: 0; margin: 0 0 18px; list-style: none; }
.liste li { padding: 9px 0 9px 28px; border-bottom: 1px solid var(--linie); position: relative; }
.liste li::before { content: "\2022"; position: absolute; left: 6px; top: 8px; color: var(--gruen); font-size: 1.2rem; line-height: 1.3; }
.liste li:last-child { border-bottom: 0; }

.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 40px; }
.zweispaltig .liste { margin: 0; }

.schritte { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.schritte li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--linie); }
.schritte li:last-child { border-bottom: 0; }
.schritte li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gruen); color: var(--gruen); font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
.schritte h3 { margin: 6px 0 4px; }
.schritte p { margin: 0; }

.tabelle { width: 100%; border-collapse: collapse; margin: 8px 0 20px; }
.tabelle th, .tabelle td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle th { color: var(--gruen); font-weight: 700; width: 40%; }

.knopfzeile { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.knopf {
  display: inline-block; background: var(--gruen); color: var(--weiss); text-decoration: none;
  padding: 12px 26px; border-radius: 6px; font-family: Arial, Helvetica, sans-serif; font-size: 1.02rem; border: 2px solid var(--gruen);
}
.knopf:hover { background: var(--gruen-dunkel); border-color: var(--gruen-dunkel); }
.knopf.leise { background: var(--weiss); color: var(--gruen); }
.knopf.leise:hover { background: var(--gruen-zart); }

.kontaktblock { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin: 10px 0 10px; }
.kontaktblock .label { color: var(--gruen-hell); font-style: italic; font-size: .92rem; margin: 0 0 2px; }
.kontaktblock .wert { font-size: 1.15rem; margin: 0; }
.kontaktblock .wert a { text-decoration: none; font-weight: 700; }

.platzhalter { background: #fff4d6; padding: 0 4px; }

.fuss { max-width: 1180px; margin: 0 auto; padding: 0 24px 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--gruen-dunkel); font-size: .9rem; }
.fuss a { color: var(--gruen-dunkel); margin-left: 16px; }

/* Menü-Knopf nur am Handy */
.menueknopf { display: none; }

@media (max-width: 960px) {
  .rahmen { grid-template-columns: 1fr; gap: 20px; padding: 16px 16px 32px; }
  .seitenleiste { position: static; gap: 0; }
  .marke { display: grid; grid-template-columns: 64px 1fr; gap: 0 14px; text-align: left; align-items: center; padding: 16px; }
  .marke img { width: 64px; height: 64px; margin: 0; grid-row: span 2; }
  .marke .name { font-size: 1.25rem; }
  .marke .linie { display: none; }
  .menueknopf {
    display: block; width: 100%; background: var(--gruen); color: var(--weiss); border: 0;
    padding: 14px; font-size: 1.05rem; font-family: Arial, Helvetica, sans-serif; cursor: pointer; font-weight: 700;
  }
  .menue { display: none; }
  .menue.offen { display: flex; }
  .anrufbox, .schrift { display: none; }
  .inhalt { padding: 32px 22px 40px; }
  .kopf h1 { font-size: 1.6rem; }
  .zweispaltig, .kontaktblock { grid-template-columns: 1fr; }
  .knopfzeile { justify-content: stretch; }
  .knopfzeile .knopf { flex: 1; text-align: center; }
  .fuss { flex-direction: column; }
  .fuss a { margin: 0 16px 0 0; }
}

/* =====================================================================
   Fassung 3 (30.11.): warm statt Grün auf Grün, echte Verläufe,
   Kanten und Schatten wie bei einer klassisch gebauten Website
   ===================================================================== */
:root {
  --sand: #efe7d6;
  --sand-dunkel: #ddd1b8;
  --rand: #d6cbb3;
  --text-leise: #6b6250;
  --linie: #e4dccb;
}
body {
  background-color: #efe9dc;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .25 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse 60% 45% at 15% 10%, rgba(255,255,255,.9) 0, rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 55% 50% at 90% 95%, rgba(150,180,130,.28) 0, rgba(150,180,130,0) 70%),
    radial-gradient(ellipse 45% 40% at 85% 15%, rgba(236,200,160,.30) 0, rgba(236,200,160,0) 70%),
    linear-gradient(170deg, #f6f1e6 0%, #ebe2cf 55%, #e2dac4 100%);
  background-attachment: fixed;
}

/* Kästen links: Rahmen + Schatten wie der Inhalt */
.marke, .menue, .anrufbox {
  border: 1px solid var(--rand);
  box-shadow: 0 3px 12px rgba(80,60,20,.14);
}
.marke {
  background: linear-gradient(180deg, #fffdf7 0%, #f6efdd 100%);
  border-bottom: 0;
  position: relative;
}
.marke::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, #81ba78 0%, #2e7d4f 50%, #81ba78 100%);
}
.marke .name { color: #255f3c; text-shadow: 0 1px 0 #fff; }
.marke .linie { background: linear-gradient(90deg, rgba(129,186,120,0), #81ba78, rgba(129,186,120,0)); }
.marke .zeile { color: #7a6a4a; }

/* Menüknöpfe mit Verlauf und Lichtkante */
.menue a {
  background: linear-gradient(180deg, #3f9465 0%, #2e7d4f 55%, #276d44 100%);
  border-top: 1px solid rgba(255,255,255,.28);
  border-bottom: 1px solid #1f5a37;
  text-shadow: 0 1px 1px rgba(0,0,0,.3);
}
.menue a:hover { background: linear-gradient(180deg, #4aa171 0%, #358a58 100%); }
.menue a[aria-current="page"] {
  background: linear-gradient(180deg, #ffffff 0%, #f3ecd9 100%);
  color: #255f3c; text-shadow: none; border-bottom-color: var(--rand);
}

.anrufbox { background: linear-gradient(180deg, #ffffff 0%, #faf5e9 100%); }
.anrufbox p { color: #2e7d4f; }
.anrufbox .nummer {
  display: inline-block; padding: 8px 18px; border-radius: 6px; color: #fff;
  background: linear-gradient(180deg, #3f9465 0%, #276d44 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 2px 4px rgba(0,0,0,.15);
  text-shadow: 0 1px 1px rgba(0,0,0,.3);
}
.anrufbox .zeiten { color: var(--text-leise); }

.schrift { color: var(--text-leise); }
.schrift button {
  border-color: var(--rand); color: #2e7d4f; border-radius: 4px;
  background: linear-gradient(180deg, #fff 0%, #f1ead8 100%);
}
.schrift button[aria-pressed="true"] { background: linear-gradient(180deg, #3f9465 0%, #276d44 100%); color: #fff; border-color: #276d44; }

/* Inhalt */
.inhalt { border-color: var(--rand); box-shadow: 0 3px 14px rgba(80,60,20,.16); }
.kopf h1, .kopf .ort { color: #2b2a24; }
h2, h3 { color: #276d44; }
.trenner { background: linear-gradient(90deg, rgba(190,175,145,0), #c9bc9f 20%, #c9bc9f 80%, rgba(190,175,145,0)); }
.hinweis {
  background: linear-gradient(180deg, #faf5e8 0%, #f1e8d3 100%);
  border: 1px solid #e3d7bd; color: #5c4a28;
}
.liste li { border-bottom-color: var(--linie); }
.liste li::before { color: #81ba78; }
.schritte li { border-bottom-color: var(--linie); }
.schritte li::before { background: linear-gradient(180deg, #fff 0%, #f1ead8 100%); }
.tabelle th, .tabelle td { border-bottom-color: var(--linie); }
.tabelle tr:nth-child(even) td, .tabelle tr:nth-child(even) th { background: #fbf8f0; }

.knopf {
  background: linear-gradient(180deg, #3f9465 0%, #2e7d4f 55%, #276d44 100%);
  border: 1px solid #23633e;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 2px 5px rgba(0,0,0,.15);
  text-shadow: 0 1px 1px rgba(0,0,0,.3);
}
.knopf:hover { background: linear-gradient(180deg, #4aa171 0%, #358a58 100%); border-color: #23633e; }
.knopf.leise {
  background: linear-gradient(180deg, #ffffff 0%, #f1ead8 100%);
  color: #276d44; border-color: var(--rand); text-shadow: none;
}
.knopf.leise:hover { background: linear-gradient(180deg, #fffdf6 0%, #e9dfc7 100%); }

.fuss, .fuss a { color: #6b5e43; }

@media (max-width: 960px) {
  .marke, .menue, .anrufbox { box-shadow: none; }
  .menueknopf { background: linear-gradient(180deg, #3f9465 0%, #276d44 100%); text-shadow: 0 1px 1px rgba(0,0,0,.3); }
}
