/* Tharauer UG – Stylesheet
   Schriften: TeX Gyre Heros Cn & TeX Gyre Schola (GUST Font License), lokal eingebunden, keine externen Anfragen. */

@font-face { font-family: "Tharauer Cond"; src: url("fonts/tharauer-cond-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Tharauer Cond"; src: url("fonts/tharauer-cond-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Tharauer Text"; src: url("fonts/tharauer-text-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Tharauer Text"; src: url("fonts/tharauer-text-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Tharauer Text"; src: url("fonts/tharauer-text-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #0B3A42;      /* dunkles Petrol: Text, Linien */
  --petrol: #00626F;   /* Petrol: Überschriften, Angebotsbereich */
  --paper: #F3F6F5;    /* kühles Weiß mit Petrol-Hauch */
  --white: #FFFFFF;
  --signal: #F5B800;   /* Signalgelb wie auf Palettenetiketten */
  --steel: #4C686C;    /* Petrolgrau für Nebentext */
  --line: #C5D5D6;     /* Linien */
  --ink-soft: #2A4E54;

  --cond: "Tharauer Cond", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --text: "Tharauer Text", "Century Schoolbook", Georgia, serif;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.62;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 0; background: var(--signal); color: var(--ink); padding: .6rem 1rem; z-index: 10; font-family: var(--cond); font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Kopfzeile ---------- */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-head .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }

.wordmark {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--cond); font-weight: 700; font-size: 1.65rem; letter-spacing: .01em;
  text-decoration: none; line-height: 1;
}
.wordmark::before { content: ""; width: .5rem; height: 1.5rem; background: var(--signal); display: block; }
.wordmark small { font-weight: 400; font-size: .95rem; color: var(--steel); letter-spacing: 0; }

.nav { display: flex; gap: 1.4rem; margin-left: auto; font-family: var(--cond); font-size: 1.05rem; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.head-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; font-family: var(--cond); font-size: 1.05rem; }
.nav + .head-actions { margin-left: 0; }
.lang { color: var(--steel); }
.lang a { color: var(--ink); }

@media (max-width: 52rem) {
  .nav { display: none; }
  .nav + .head-actions { margin-left: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--cond); font-weight: 700; font-size: 1.1rem; line-height: 1;
  padding: .85rem 1.3rem; border: 2px solid var(--ink); text-decoration: none; cursor: pointer;
  background: var(--signal); color: var(--ink); border-radius: 2px;
}
.btn:hover { background: #FFC81F; text-decoration: none; }
.btn-quiet { background: transparent; }
.btn-quiet:hover { background: var(--white); }
.btn-small { padding: .6rem .95rem; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 52rem) { .hero .wrap { grid-template-columns: 1fr; } }

.hero h1 {
  font-family: var(--cond); font-weight: 700;
  font-size: clamp(2.7rem, 6.4vw, 4.75rem); line-height: .96; letter-spacing: -.005em;
  margin: 0 0 1.4rem; max-width: 14ch; color: var(--petrol);
}
.hero .lead { font-size: 1.2rem; line-height: 1.55; max-width: 34rem; margin: 0 0 2rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Palettenetikett */
.label {
  display: grid; grid-template-columns: .9rem 1fr;
  background: var(--white); border: 2px solid var(--ink);
}
.label::before { content: ""; background: var(--signal); border-right: 2px solid var(--ink); }
.label-body { padding: 1.25rem 1.4rem 1.1rem; }
.label h2 { font-family: var(--cond); font-weight: 700; font-size: 1.5rem; line-height: 1.1; margin: 0 0 .9rem; }
.label dl { margin: 0; }
.label .row { display: grid; grid-template-columns: 7.2rem 1fr; gap: .8rem; padding: .55rem 0; border-top: 1px solid var(--line); }
.label dt { font-family: var(--cond); color: var(--steel); font-size: 1rem; }
@media (max-width: 30rem) { .label .row { grid-template-columns: 5.8rem 1fr; } .label-body { padding: 1.1rem 1rem 1rem; } }
.label dd { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
.label .issuer { border-top: 2px solid var(--ink); margin-top: .5rem; padding-top: .75rem; font-family: var(--cond); font-size: .95rem; line-height: 1.4; color: var(--ink-soft); }
.label .issuer strong { display: block; font-size: 1.05rem; color: var(--ink); }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; border-top: 1px solid var(--line); }
.section h2 {
  font-family: var(--cond); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.02; margin: 0 0 1rem; max-width: 22ch; color: var(--petrol);
}
.section .intro { max-width: 40rem; margin: 0 0 2.5rem; font-size: 1.12rem; }
.section h3 { font-family: var(--cond); font-weight: 700; font-size: 1.35rem; line-height: 1.15; margin: 0 0 .6rem; }

/* Ankauf-Listen */
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 44rem) { .cols { grid-template-columns: 1fr; } }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { padding: .6rem 0; border-top: 1px solid var(--line); }
.plain li:last-child { border-bottom: 1px solid var(--line); }
.aside-note { margin-top: 1.2rem; color: var(--steel); font-style: italic; }

/* Ablauf – echte Reihenfolge, daher nummeriert */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 60rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps li::before {
  content: counter(step); display: block;
  font-family: var(--cond); font-weight: 700; font-size: 2.6rem; line-height: 1; margin-bottom: .6rem;
  color: var(--ink);
}
.steps p { margin: 0; }

/* Zusagen */
.promises { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(2rem, 5vw, 4rem); }
@media (max-width: 52rem) { .promises { grid-template-columns: 1fr; } }
.promises p { margin: 0; max-width: 32rem; }

/* ---------- Angebotsformular ---------- */
.offer { background: var(--petrol); color: var(--white); border-top: 0; }
.offer h2 { color: var(--white); }
.offer a { color: var(--white); }
.offer .wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 56rem) { .offer .wrap { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
@media (max-width: 36rem) { .form { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--cond); font-size: 1.05rem; color: var(--white); }
.offer .hint { font-family: var(--cond); font-size: .95rem; color: #C2DDE0; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 2px solid var(--white); border-radius: 2px; padding: .7rem .8rem; width: 100%;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--signal); outline-offset: 0; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4rem 1fr; gap: .6rem; align-items: start; font-size: .98rem; }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--signal); }
.form .submit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form .submit .btn { border-color: var(--signal); }
.req { color: var(--signal); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { grid-column: 1 / -1; background: #3B1F1F; border-left: 4px solid #FF8A80; padding: .8rem 1rem; color: var(--white); }
.notice[hidden] { display: none; }

.direct { border-top: 2px solid var(--signal); padding-top: 1rem; align-self: start; }
.direct h3 { color: var(--white); }
.direct p { margin: 0 0 1rem; }
.direct .big { font-family: var(--cond); font-weight: 700; font-size: 1.45rem; line-height: 1.25; }
.direct .big a { text-decoration: none; }
.direct .big a:hover { text-decoration: underline; }

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); }
@media (max-width: 52rem) { .about { grid-template-columns: 1fr; } }
.person { display: flex; gap: 1.2rem; align-items: center; margin-top: 2rem; }
.person .photo {
  width: 5.5rem; height: 5.5rem; flex: none; border: 2px solid var(--ink); background: var(--white);
  display: grid; place-items: center; font-family: var(--cond); font-weight: 700; font-size: 1.8rem;
}
.person img.photo { object-fit: cover; }
.person strong { display: block; font-family: var(--cond); font-size: 1.3rem; }
.facts { margin: 0; border-top: 2px solid var(--ink); }
.facts .row { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--cond); color: var(--steel); }
.facts dd { margin: 0; }

/* ---------- Fußzeile ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; font-size: .98rem; color: var(--ink-soft); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.site-foot nav { display: flex; gap: 1.4rem; font-family: var(--cond); font-size: 1.05rem; }
.site-foot address { font-style: normal; }

/* ---------- Rechtstexte ---------- */
.legal { padding: clamp(3rem, 7vw, 5rem) 0; }
.legal .wrap > * { max-width: 46rem; }
.legal h1 { color: var(--petrol); font-family: var(--cond); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; margin: 0 0 2rem; }
.legal h2 { font-family: var(--cond); font-weight: 700; font-size: 1.45rem; margin: 2.2rem 0 .5rem; }
.legal h3 { font-family: var(--cond); font-weight: 700; font-size: 1.15rem; margin: 1.4rem 0 .3rem; }
.legal p, .legal li { max-width: 40rem; }
.legal .stand { color: var(--steel); font-style: italic; margin-top: 2.5rem; }

/* Platzhalter – vor dem Livegang ersetzen */
.todo { background: #FFF1B8; color: var(--ink); outline: 1px dashed #B58900; padding: 0 .2em; }
.nowrap { white-space: nowrap; }

/* Einstieg mit Hafenfoto (Foto ist bereits weichgezeichnet gespeichert) */
.hero-photo { position: relative; isolation: isolate; color: var(--white); padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero-photo .wrap { align-items: end; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,42,49,.86) 0%, rgba(7,42,49,.66) 55%, rgba(7,42,49,.45) 100%); }
.hero-photo h1 { color: var(--white); }
.hero-photo .lead { color: #DCEBEC; }
.hero-photo .btn { border-color: var(--signal); }
.hero-photo .btn-quiet { color: var(--white); border-color: var(--white); }
.hero-photo .btn-quiet:hover { background: rgba(255,255,255,.12); }
.hero-photo .label { color: var(--ink); position: relative; top: clamp(5rem, 9vw, 8rem); box-shadow: 0 18px 40px -24px rgba(7,42,49,.55); }
.hero-photo + .section { padding-top: calc(clamp(3.5rem, 8vw, 6rem) + clamp(5rem, 9vw, 8rem)); border-top: 0; }
@media (max-width: 52rem) {
  .hero-photo .label { top: 0; margin-top: 1rem; }
  .hero-photo + .section { padding-top: clamp(3.5rem, 8vw, 6rem); }
}
