/* jobjab – Startseite
   Reines CSS, keine Abhängigkeiten, keine externen Schriften.
   Farben und Abstände stehen als Variablen oben, damit eine Kundenseite
   in Minuten umgefärbt werden kann. */

:root {
  --papier: #faf7f2;
  --papier-tief: #f3ede4;
  --karte: #ffffff;
  --tinte: #2b2a27;
  --tinte-leise: #5f5b54;
  --linie: #e3dbcf;
  --feld: #f1ebe1;
  --akzent: #1f5f57;
  --akzent-hell: #e8f0ee;
  --warm: #b4643a;

  --breit: 68rem;
  --schmal: 42rem;
  --rund: 14px;
  --schatten: 0 1px 2px rgba(43, 42, 39, .05), 0 8px 24px rgba(43, 42, 39, .06);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.22rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--akzent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--warm); }

.skip {
  position: absolute; left: -9999px;
  background: var(--tinte); color: var(--papier);
  padding: .7rem 1rem; border-radius: 0 0 var(--rund) 0; z-index: 10;
}
.skip:focus { left: 0; top: 0; }

:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }

/* Raster */
.huelle { width: 100%; max-width: var(--breit); margin: 0 auto; padding: 0 1.5rem; }
.huelle.schmal { max-width: var(--schmal); }

/* Kopf */
.kopf {
  border-bottom: 1px solid var(--linie);
  background: rgba(250, 247, 242, .9);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 5;
}
.kopf-innen {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.2rem; flex-wrap: wrap;
}
.marke {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
  color: var(--tinte); text-decoration: none; letter-spacing: -.02em;
}
.kopf nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.kopf nav a {
  color: var(--tinte-leise); text-decoration: none; font-size: .95rem;
}
.kopf nav a:hover { color: var(--akzent); }

/* Bühne */
.buehne { padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }

/* Die zwei Gesichter oben */
.wir { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.2rem; }
.koepfe { display: flex; flex-shrink: 0; }
.koepfe img {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; object-position: 50% 18%;
  border: 3px solid var(--papier);
  background: var(--papier-tief);
  box-shadow: 0 2px 10px rgba(43, 42, 39, .12);
}
.koepfe img + img { margin-left: -18px; }
.wir p { margin: 0; font-size: .96rem; line-height: 1.45; color: var(--tinte-leise); }
.wir strong { color: var(--tinte); font-family: var(--serif); font-size: 1.06rem; font-weight: 600; }
.wir span { display: inline-block; max-width: 34ch; }

@media (max-width: 30rem) {
  .koepfe img { width: 60px; height: 60px; }
  .wir { gap: .8rem; }
}
.vorzeile {
  font-size: .82rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--tinte-leise); margin-bottom: 1.4rem;
}
.buehne h1 { max-width: 30ch; }
.fuehrung {
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  color: var(--tinte-leise); max-width: 54ch; line-height: 1.65;
}
.knopfzeile { display: flex; gap: .8rem; flex-wrap: wrap; margin: 2rem 0 1rem; }
.knopf {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 999px;
  background: var(--akzent); color: #fff; text-decoration: none;
  font-weight: 500; border: 1px solid var(--akzent);
  transition: transform .15s ease, background .15s ease;
}
.knopf:hover { background: #174943; color: #fff; transform: translateY(-1px); }
.knopf-still { background: transparent; color: var(--akzent); border-color: var(--linie); }
.knopf-still:hover { background: var(--akzent-hell); color: var(--akzent); }
.fussnote { font-size: .92rem; color: var(--tinte-leise); }

/* Über-mich-Seite */
.buehne-schmal { padding-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.portrait-paar { display: flex; margin-bottom: 1.6rem; }
.portrait-paar img {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; object-position: 50% 16%;
  border: 4px solid var(--papier);
  background: var(--papier-tief);
  box-shadow: 0 2px 14px rgba(43, 42, 39, .14);
}
.portrait-paar img + img { margin-left: -26px; }
@media (max-width: 30rem) {
  .portrait-paar img { width: 96px; height: 96px; }
}
.fliess h2 { margin-top: 2.6rem; }
.fliess h2:first-child { margin-top: 0; }
.fliess p { color: var(--tinte-leise); }
.fliess strong { color: var(--tinte); }
.fliess .wir { margin: 2.4rem 0; padding: 1.3rem; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); }
.kopf nav a[aria-current="page"] { color: var(--akzent); }

/* Zähler für die Aktion */
.zaehler {
  display: inline-block; margin-top: .7rem;
  font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--akzent); font-weight: 600;
}

/* Blick nach vorn */
.ausblick { margin-top: 2.4rem; }
.ausblick h3 { font-size: 1.3rem; }
.ausblick p { color: var(--tinte-leise); max-width: 56ch; }

/* Fragen */
.frage {
  border-bottom: 1px solid var(--linie);
  padding: .3rem 0;
}
.frage summary {
  cursor: pointer; list-style: none;
  padding: .9rem 2rem .9rem 0; position: relative;
  font-family: var(--serif); font-size: 1.1rem; color: var(--tinte);
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: "+"; position: absolute; right: .3rem; top: .75rem;
  font-family: var(--sans); font-size: 1.3rem; color: var(--akzent); line-height: 1;
}
.frage[open] summary::after { content: "−"; }
.frage summary:hover { color: var(--akzent); }
.frage p { color: var(--tinte-leise); padding: 0 1.5rem 1.1rem 0; margin: 0; max-width: 60ch; }

/* Erreichbarkeits-Test */
.band-test { background: var(--akzent-hell); }
.band-test .vorzeile { margin-bottom: .9rem; }
.band-test p { color: var(--tinte-leise); }
.band-test .knopfzeile { margin: 1.8rem 0 .9rem; }

/* Zusage */
.zusage {
  border-left: 3px solid var(--akzent); background: var(--karte);
  border-radius: 0 var(--rund) var(--rund) 0;
  padding: 1.4rem 1.6rem; margin-top: 2.4rem;
}
.zusage h3 { margin-bottom: .6rem; }
.zusage p { color: var(--tinte-leise); }
.zusage strong { color: var(--tinte); }

/* Ankreuzfeld */
.ankreuz {
  display: flex; gap: .7rem; align-items: flex-start;
  margin: 0 0 1.4rem; font-size: .93rem; color: var(--tinte-leise);
  line-height: 1.5; cursor: pointer;
}
.ankreuz input { margin-top: .2rem; width: 1.05rem; height: 1.05rem; accent-color: var(--akzent); flex-shrink: 0; }
.ankreuz strong { color: var(--tinte); display: block; }

/* Kontaktformular: frei auf dem Hintergrund, keine Karte */
.formular { max-width: 34rem; }
.feld { display: block; margin-bottom: 1rem; }
.feld-name {
  display: block; margin-bottom: .45rem;
  font-size: .69rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--tinte-leise);
}
.feld input, .feld textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1px solid var(--linie); border-radius: 4px;
  background: var(--feld); color: var(--tinte);
  font-family: inherit; font-size: 1rem; line-height: 1.5;
}
.feld textarea { resize: vertical; min-height: 6.5rem; }
.feld input::placeholder, .feld textarea::placeholder { color: var(--tinte-leise); opacity: .75; }
.feld input:focus, .feld textarea:focus {
  outline: none; border-color: var(--akzent);
  box-shadow: 0 0 0 3px var(--akzent-hell);
}
.knopf-eckig {
  border-radius: 4px; padding: .8rem 1.5rem;
  font-size: .9rem; letter-spacing: .04em; font-weight: 400;
  border: 0; cursor: pointer; font-family: inherit;
}
.feld-hinweis { display: block; margin-top: .4rem; font-size: .88rem; color: var(--tinte-leise); }
.datenschutz-hinweis { margin-top: 1.2rem; }

.direkt { margin: 2.6rem 0 0; }
.direkt h2 { font-size: 1.3rem; }
.direkt p { color: var(--tinte-leise); margin-bottom: .5rem; }

/* Bänder */
.band { padding: clamp(3rem, 7vw, 5.5rem) 0; border-top: 1px solid var(--linie); }
.band-ruhig { background: var(--papier-tief); }
.einleitung {
  font-size: 1.1rem; color: var(--tinte-leise); max-width: 56ch; margin-bottom: 2.4rem;
}
.einleitung-eng { margin-bottom: .9rem; }

/* Karten */
.karten {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  margin-bottom: 2.4rem;
}
.karte {
  background: var(--karte); border: 1px solid var(--linie);
  border-radius: var(--rund); padding: 1.8rem 1.6rem;
  box-shadow: var(--schatten); display: flex; flex-direction: column;
}
.karte-betont { border-color: var(--akzent); box-shadow: 0 2px 4px rgba(31,95,87,.08), 0 14px 32px rgba(31,95,87,.10); }
.karte-nummer {
  font-family: var(--serif); font-size: 1rem; color: var(--akzent);
  margin: 0 0 .7rem; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--akzent-hell); display: grid; place-items: center;
}
.karte p { color: var(--tinte-leise); }
.karte h3 { color: var(--tinte); }
.preis {
  margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--linie);
  color: var(--tinte) !important; font-size: 1.05rem;
}
.preis strong { font-family: var(--serif); font-size: 1.3rem; }
.statt { color: var(--tinte-leise); font-size: .9rem; text-decoration: line-through; margin-left: .4rem; }

/* Monatspreis */
.rechnung {
  background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund);
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--schatten); margin-bottom: 2.4rem;
}
.betrag { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 1.2rem; }
.haken { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.haken li {
  position: relative; padding-left: 1.9rem; margin-bottom: .6rem; color: var(--tinte-leise);
}
.haken li::before {
  content: "✓"; position: absolute; left: 0; top: -.05rem;
  color: var(--akzent); font-weight: 700;
}
.hinweis {
  background: var(--akzent-hell); border-left: 3px solid var(--akzent);
  padding: 1rem 1.2rem; border-radius: 0 var(--rund) var(--rund) 0;
  font-size: .98rem; margin: 0;
}
.feinheit {
  font-size: .89rem; color: var(--tinte-leise); line-height: 1.6;
  padding: .9rem 1.1rem; margin: .2rem 0 1.4rem;
  background: var(--feld); border: 1px solid var(--linie);
  border-radius: var(--rund);
}

/* Ablauf */
.schritte { list-style: none; counter-reset: s; padding: 0; margin: 0; max-width: 56ch; }
.schritte li {
  counter-increment: s; position: relative; padding-left: 3rem;
  margin-bottom: 1.3rem; color: var(--tinte-leise);
}
.schritte li::before {
  content: counter(s); position: absolute; left: 0; top: -.1rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  border: 1px solid var(--linie); background: var(--karte);
  display: grid; place-items: center;
  font-family: var(--serif); color: var(--akzent); font-size: .95rem;
}
.schritte span { color: var(--tinte); font-weight: 600; }

/* Für wen */
.fuer-wen-liste {
  display: grid; gap: 1.6rem 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-bottom: 3rem;
}
.fuer-wen-liste h3 { padding-bottom: .5rem; border-bottom: 1px solid var(--linie); }
.fuer-wen-liste p { color: var(--tinte-leise); }

.saetze {
  background: var(--karte); border: 1px solid var(--linie);
  border-radius: var(--rund); padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--schatten);
}
.saetze ul { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.saetze li {
  font-family: var(--serif); font-size: 1.12rem; color: var(--tinte);
  padding: .55rem 0 .55rem 1.1rem; border-left: 2px solid var(--linie);
  margin-bottom: .4rem;
}
.saetze p { color: var(--tinte-leise); margin: 0; }

/* Kontakt */
.band-kontakt { background: var(--papier-tief); }
.band-kontakt p { color: var(--tinte-leise); }
.kontaktwege {
  display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin: 2rem 0;
}
.kontaktweg {
  background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund);
  padding: 1.4rem; margin: 0; display: flex; flex-direction: column; gap: .3rem;
  box-shadow: var(--schatten);
}
.etikett {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--tinte-leise);
}
.gross {
  font-family: var(--serif); font-size: 1.32rem; text-decoration: none; color: var(--akzent);
}
.gross:hover { text-decoration: underline; }
.klein { font-size: .92rem; color: var(--tinte-leise); line-height: 1.5; }
.unterschrift {
  border-top: 1px solid var(--linie); padding-top: 1.4rem; font-size: .98rem;
  display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap;
}
.unterschrift p { margin: 0; flex: 1 1 18rem; }
.unterschrift strong { color: var(--tinte); }
.unterschrift .koepfe img { border-color: var(--papier-tief); }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); padding: 2rem 0; font-size: .9rem; }
.fuss-innen {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap; color: var(--tinte-leise);
}
.fuss p { margin: 0; }
.fuss nav { display: flex; gap: 1.2rem; }
.fuss a { color: var(--tinte-leise); text-decoration: none; }
.fuss a:hover { color: var(--akzent); text-decoration: underline; }

/* Dunkler Modus, falls der Besucher ihn eingestellt hat */
@media (prefers-color-scheme: dark) {
  :root {
    --papier: #1b1a18;
    --papier-tief: #232120;
    --karte: #262422;
    --tinte: #efe9e0;
    --tinte-leise: #b3aaa0;
    --linie: #3a3632;
    --feld: #2e2b28;
    --akzent: #78c2b5;
    --akzent-hell: #24322f;
    --warm: #d99168;
  }
  .kopf { background: rgba(27, 26, 24, .9); }
  .knopf { color: #15201e; }
  .knopf:hover { background: #8fd0c4; color: #15201e; }
  .karte-betont { box-shadow: 0 2px 4px rgba(0,0,0,.3), 0 14px 32px rgba(0,0,0,.35); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knopf { transition: none; }
}

/* Aufzählungen in Rechtstexten */
.liste { padding-left: 1.2rem; margin: 0 0 1.1em; color: var(--tinte-leise); }
.liste li { margin-bottom: .4rem; }

/* Einwilligungs-Banner: kompakte Karte unten links */
#einwilligung {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 50;
  width: min(22rem, calc(100vw - 2rem));
  background: var(--karte); border: 1px solid var(--linie);
  border-radius: var(--rund);
  box-shadow: 0 4px 24px rgba(43, 42, 39, .16);
  padding: 1rem 1.1rem;
}
.einwilligung-innen { display: block; }
#einwilligung h2 { font-size: 1.02rem; margin-bottom: .35rem; }
#einwilligung p { font-size: .82rem; line-height: 1.5; color: var(--tinte-leise); margin-bottom: .7rem; }
.einwilligung-wahl { display: grid; gap: .35rem; margin-bottom: .9rem; }
.einwilligung-wahl label {
  display: flex; gap: .5rem; align-items: center;
  font-size: .8rem; color: var(--tinte-leise); line-height: 1.35; cursor: pointer;
}
.einwilligung-wahl input { width: .9rem; height: .9rem; accent-color: var(--akzent); flex-shrink: 0; }
.einwilligung-wahl strong { color: var(--tinte); font-weight: 600; }
.einwilligung-wahl .erklaerung { display: none; }
.einwilligung-knoepfe { display: flex; gap: .4rem; flex-wrap: wrap; }
.einwilligung-knoepfe .knopf {
  padding: .5rem .85rem; font-size: .82rem; letter-spacing: 0; flex: 1 1 auto; text-align: center;
}
@media (max-width: 30rem) {
  #einwilligung { left: .6rem; right: .6rem; bottom: .6rem; width: auto; }
}
.fuss button[data-einwilligung] {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--tinte-leise); text-decoration: none;
}
.fuss button[data-einwilligung]:hover { color: var(--akzent); text-decoration: underline; }
