/* Hartmann Consulting – Firmenwebseite (Entwurf 05.11.2026)
   Farben: Palette aus marketing/branding/README.md (Earth at Night statt Schwarz, Highlights nur als Akzent).
   Schrift: nur Inter (SIL OFL, selbst gehostet). Kein Mollas (nur Desktop-Lizenz), kein CR Junewood (keine Umlaute). */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --grund: #f8f4ee;        /* Soft Dawn */
  --flaeche: #fffdf9;
  --flaeche-dunkel: #30281f; /* Earth at Night */
  --text: #30281f;
  --text-leise: #5f5a45;   /* dunkler als Silent Moss, damit der Kontrast reicht */
  --wald: #40391a;         /* Deep Forest */
  --moos: #78755b;         /* Silent Moss */
  --stein: #bcba9e;        /* Stone Path */
  --linie: #e4ddd0;
  --akzent: #8c6e43;       /* Burnt Cedar */
  --glut: #c47244;         /* Emberwood, nur kleine Akzente */
  --breite: 1120px;
  --text-breite: 680px;
  --rand: clamp(20px, 5vw, 48px);
  --abstand: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--stein); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--akzent); }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }

h1, h2, h3 { font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 300; max-width: 18em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 300; max-width: 22em; }
h3 { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; max-width: var(--text-breite); }
ul { padding-left: 1.2em; margin: 0 0 1.2em; max-width: var(--text-breite); }
li { margin-bottom: 0.45em; }

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.augenbraue {
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--akzent); font-weight: 500; margin-bottom: 1.2em;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-leise); line-height: 1.6; }
.leise { color: var(--text-leise); }

/* Entwurfs-Hinweis (vor dem Go-live entfernen, siehe README) */
.entwurf {
  background: var(--wald); color: var(--grund); font-size: 0.8rem; text-align: center;
  padding: 6px var(--rand); letter-spacing: 0.04em;
}

/* Kopf */
.kopf { border-bottom: 1px solid var(--linie); background: var(--grund); }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marke img { width: 190px; height: auto; }
.fuss-logo { width: 180px; height: auto; margin-bottom: 18px; }
.marke span { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-leise); border-left: 1px solid var(--stein); padding-left: 12px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 0.95rem; color: var(--text); }
.nav a[aria-current="page"] { color: var(--akzent); }
.nav a:hover { color: var(--akzent); }
.nav a.knopf, .nav a.knopf:hover { color: var(--grund); }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; font-size: 0.95rem; padding: 10px 14px;
  border: 1px solid var(--stein); border-radius: 999px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-liste {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 10; width: min(80vw, 280px);
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: 14px; padding: 10px;
  box-shadow: 0 12px 32px rgba(48, 40, 31, 0.12);
}
.menu-liste a { display: block; padding: 12px 14px; text-decoration: none; border-radius: 8px; }
.menu-liste a:hover { background: var(--grund); }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--wald); color: var(--grund); text-decoration: none; font-weight: 500;
  font-size: 1rem; padding: 15px 26px; border-radius: 999px; border: 1px solid var(--wald);
  min-height: 48px; cursor: pointer; font-family: inherit; line-height: 1.2;
}
.knopf:hover { background: var(--flaeche-dunkel); color: var(--grund); }
.knopf.klein { padding: 10px 18px; font-size: 0.92rem; min-height: 42px; }
.knopf.hell { background: transparent; color: var(--text); border-color: var(--stein); }
.knopf.hell:hover { border-color: var(--akzent); background: transparent; color: var(--text); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 2em; }

/* Abschnitte */
.abschnitt { padding: var(--abstand) 0; }
.abschnitt + .abschnitt { border-top: 1px solid var(--linie); }
.abschnitt.dunkel { background: var(--flaeche-dunkel); color: var(--grund); border-top: none; }
.abschnitt.dunkel .lead, .abschnitt.dunkel .leise, .abschnitt.dunkel p { color: #e9e2d6; }
.abschnitt.dunkel .augenbraue { color: var(--stein); }
.abschnitt.dunkel .knopf { background: var(--grund); color: var(--text); border-color: var(--grund); }
.abschnitt.dunkel .knopf:hover { background: #fff; }
.held { padding: clamp(64px, 10vw, 136px) 0 clamp(56px, 8vw, 104px); }

.held-raster { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-areas: "kopf foto" "text foto"; column-gap: clamp(32px, 6vw, 80px); align-items: start; }
.held-kopf { grid-area: kopf; } .held-text { grid-area: text; } .held-foto { grid-area: foto; align-self: center; }
.persoenlich { font-size: 1.1rem; color: var(--text); font-weight: 500; margin-bottom: 0.8em; }
.textspalte { max-width: 760px; }
.zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.zwei.foto-rechts { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }

.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 2.4em; }
.karten.vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.karten.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .karten.drei { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .karten.drei { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .karten.vier { grid-template-columns: minmax(0, 1fr); } }
.karte {
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: 18px; padding: 28px 26px;
  display: flex; flex-direction: column;
}
.karte p { font-size: 1rem; color: var(--text-leise); }
.karte .nummer { font-size: 0.8rem; letter-spacing: 0.12em; color: var(--akzent); margin-bottom: 1em; }
.karte .weiter { margin-top: auto; padding-top: 1em; font-weight: 500; text-decoration: none; color: var(--wald); }
.karte .weiter:hover { color: var(--akzent); }
a.karte { text-decoration: none; color: inherit; transition: border-color .2s; }
a.karte:hover { border-color: var(--akzent); }

.schritte { list-style: none; padding: 0; margin: 2.4em 0 0; display: grid; gap: 0; max-width: 820px; }
.schritte li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-top: 1px solid var(--linie); margin: 0; }
.schritte li:last-child { border-bottom: 1px solid var(--linie); }
.schritte .nr { font-size: 1.6rem; font-weight: 300; color: var(--akzent); line-height: 1.2; }
.schritte h3 { margin-bottom: 0.3em; }
.schritte p { margin: 0; color: var(--text-leise); font-size: 1rem; }
.schritte.jahre li { grid-template-columns: 84px minmax(0, 1fr); }
.schritte.jahre .nr { font-size: 1.25rem; }

.liste-haken { list-style: none; padding: 0; }
.liste-haken li { position: relative; padding-left: 30px; margin-bottom: 0.8em; }
.liste-haken li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 14px; height: 2px; background: var(--akzent); }

.hinweis { border-left: 3px solid var(--glut); background: var(--flaeche); padding: 20px 24px; border-radius: 0 12px 12px 0; max-width: var(--text-breite); }
.hinweis p:last-child { margin-bottom: 0; }

.fragen details { border-top: 1px solid var(--linie); padding: 20px 0; max-width: 820px; }
.fragen details:last-child { border-bottom: 1px solid var(--linie); }
.fragen summary { cursor: pointer; font-weight: 500; font-size: 1.05rem; list-style: none; position: relative; padding-right: 36px; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.4rem; font-weight: 300; color: var(--akzent); }
.fragen details[open] summary::after { content: "–"; }
.fragen details p { margin: 0.8em 0 0; color: var(--text-leise); }

/* Platzhalter (Foto, Calendly, Texte von Martin) – im Entwurf absichtlich auffällig */
.foto-platzhalter {
  aspect-ratio: 4 / 5; width: 100%; border: 2px dashed var(--moos); border-radius: 18px;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px;
  color: var(--moos); font-size: 0.95rem; letter-spacing: 0.04em; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(188, 186, 158, 0.18) 14px 28px);
}
/* Foto Martin (Hochzeitsgalerie 24moods Nr. 671, Martin 05.11.; Nutzungsrecht offen) */
.foto { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 18px; display: block; }
.foto-platzhalter.quer { aspect-ratio: 3 / 2; }
.platzhalter-text { background: #fbefd9; border: 1px dashed var(--glut); padding: 2px 6px; border-radius: 4px; font-size: 0.95em; }

/* Kontakt */
.calendly-box { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 18px; padding: 32px 28px; }
.calendly-box .platzhalter-link { display: block; margin-top: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem; color: var(--glut); word-break: break-all; }
.formular { display: grid; gap: 18px; }
.feld { display: grid; gap: 6px; }
.feld label { font-size: 0.92rem; font-weight: 500; }
.feld .optional { font-weight: 400; color: var(--text-leise); }
.feld input, .feld select, .feld textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--flaeche); width: 100%;
  border: 1px solid var(--stein); border-radius: 10px; padding: 13px 14px; min-height: 48px;
}
.feld textarea { min-height: 150px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 2px solid var(--akzent); outline-offset: 1px; border-color: var(--akzent); }
.einwilligung { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.92rem; color: var(--text-leise); }
.einwilligung input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--wald); }
.honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.danke { display: none; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 18px; padding: 32px 28px; }
.danke.sichtbar { display: block; }
.fehler { color: #9a3b1c; font-size: 0.95rem; }

/* Rechtstexte */
.recht h2 { font-size: 1.3rem; font-weight: 500; margin-top: 2em; }
.recht p, .recht address { font-style: normal; }

/* Fuß */
.fuss { background: var(--flaeche-dunkel); color: #d9d1c3; padding: 56px 0 40px; font-size: 0.95rem; }
.fuss .huelle { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.fuss a { color: #f3ede3; text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: 0.5em; }
.fuss .klein { grid-column: 1 / -1; border-top: 1px solid rgba(233, 226, 214, 0.18); padding-top: 24px; font-size: 0.85rem; color: #b6ad9c; }

@media (max-width: 900px) {
  .held-raster { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kopf" "foto" "text"; row-gap: 24px; }
  .held-foto { aspect-ratio: 4 / 3; max-height: 420px; object-position: 50% 22%; }
  .nav { display: none; }
  .menu { display: block; }
  .zwei, .zwei.foto-rechts { grid-template-columns: minmax(0, 1fr); }
  .fuss .huelle { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .marke img { width: 160px; }
  .marke span { display: none; }
  .knopfreihe .knopf { width: 100%; }
  .schritte li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .schritte.jahre li { grid-template-columns: 64px minmax(0, 1fr); }
  .schritte.jahre .nr { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
