/* site.css — pro-dukt.de. Keine Frameworks, keine Skripte, druckbar. */

:root {
  --farbe-text: #1c2733;
  --farbe-schwach: #5a6b7c;
  --farbe-linie: #d5dde5;
  --farbe-flaeche: #f4f7fa;
  --farbe-akzent: #14507a;
  --farbe-akzent-dunkel: #0e3a58;
  --abstand: 1.25rem;
  --breite: 62rem;
}

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--farbe-text);
  background: #fff;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.4rem;
  margin-top: 1.5em;
}

h3 {
  font-size: 1.1rem;
}

p,
ul,
ol,
table {
  margin: 0 0 1em;
}

a {
  color: var(--farbe-akzent);
}

a:hover,
a:focus {
  color: var(--farbe-akzent-dunkel);
}

img {
  max-width: 100%;
  height: auto;
}

/* Grundraster */

.huelle {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 1rem;
}

.sprung {
  position: absolute;
  left: -9999px;
}

.sprung:focus {
  left: 0;
  top: 0;
  background: #fff;
  padding: 0.5rem 1rem;
  z-index: 10;
}

/* Kopf und Navigation */

.kopf {
  border-bottom: 1px solid var(--farbe-linie);
  background: #fff;
}

.kopf-zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.marke {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--farbe-akzent-dunkel);
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

.nav a {
  text-decoration: none;
  padding: 0.25rem 0;
}

.nav .aktiv {
  font-weight: 600;
  border-bottom: 2px solid var(--farbe-akzent);
}

.untermenu {
  flex-basis: 100%;
  font-size: 0.9rem;
}

.untermenu a {
  color: var(--farbe-schwach);
}

/* Inhalt */

main {
  display: block;
}

.hero {
  background: var(--farbe-flaeche);
  padding: 2.5rem 0;
  margin-bottom: 2rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--farbe-schwach);
}

.abschnitt {
  padding-bottom: 1.5rem;
}

.text {
  padding-top: 1.5rem;
}

.krume {
  color: var(--farbe-schwach);
  font-size: 0.9rem;
}

.krume a {
  color: inherit;
}

/* Karten */

.karten {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--abstand);
}

.karte {
  border: 1px solid var(--farbe-linie);
  border-radius: 6px;
  padding: var(--abstand);
  background: #fff;
}

.karte > :last-child {
  margin-bottom: 0;
}

.preis,
.preisliste {
  color: var(--farbe-schwach);
}

.preisliste {
  list-style: none;
  padding: 0;
}

.preisliste li {
  border-top: 1px solid var(--farbe-linie);
  padding: 0.25rem 0;
}

/* Tabellen */

table {
  width: 100%;
  border-collapse: collapse;
}

/* Preisangaben sind unteilbar: „1.800–“ darf nicht von „3.500 €“ getrennt
   werden. Auf sehr schmalen Geräten scrollt die Tabelle selbst, nicht die
   Seite (#15). */
.tabelle {
  overflow-x: auto;
}

.preise td,
.preis-teil {
  white-space: nowrap;
}

/* Auf schmalen Geräten enger: die Preistabelle soll ohne Scrollen passen. */
@media (max-width: 26rem) {
  .preise th,
  .preise td {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }
}

caption {
  text-align: left;
  color: var(--farbe-schwach);
  padding-bottom: 0.5rem;
}

th,
td {
  text-align: left;
  padding: 0.5rem;
  border-bottom: 1px solid var(--farbe-linie);
  vertical-align: top;
}

thead th {
  border-bottom-width: 2px;
}

/* Hinweise und Spalten */

.hinweis {
  background: var(--farbe-flaeche);
  border-left: 4px solid var(--farbe-akzent);
  padding: 0.75rem 1rem;
}

.fakten {
  font-weight: 600;
}

.spalten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--abstand);
}

/* CTA */

.cta {
  background: var(--farbe-akzent-dunkel);
  color: #fff;
  padding: 2rem 0;
  margin-top: 2rem;
}

.cta h2 {
  margin-top: 0;
}

/* Links im CTA-Block sind weiß. Schaltflächen bringen ihre eigene Schriftfarbe
   mit — `.cta a` setzte sonst weiße Schrift auf den weißen Knopf (#15). */
.cta a:not(.schaltflaeche) {
  color: #fff;
}

.schaltflaeche {
  display: inline-block;
  background: #fff;
  color: var(--farbe-akzent-dunkel);
  font-weight: 600;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
}

.schaltflaeche:hover,
.schaltflaeche:focus {
  background: var(--farbe-flaeche);
  color: var(--farbe-akzent-dunkel);
}

.schaltflaechen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.schaltflaeche.zweit {
  background: none;
  border: 1px solid #fff;
  color: #fff;
}

.schaltflaeche.zweit:hover,
.schaltflaeche.zweit:focus {
  background: none;
  color: var(--farbe-flaeche);
}

/* Anfrageformular (#7) */

.anfrage {
  max-width: 40rem;
}

.feld {
  margin-bottom: 1rem;
}

.feld label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feld input,
.feld select,
.feld textarea {
  width: 100%;
  padding: 0.5rem;
  font: inherit;
  color: var(--farbe-text);
  background: #fff;
  border: 1px solid var(--farbe-linie);
  border-radius: 4px;
}

.haken {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.haken input {
  width: auto;
  margin-top: 0.3rem;
}

.haken label {
  font-weight: 400;
  margin-bottom: 0;
}

/* Honeypot: für Menschen unsichtbar, Bots füllen ihn aus. */

.honig {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.funnel-status {
  background: var(--farbe-flaeche);
  border-left: 4px solid var(--farbe-akzent);
  padding: 0.6rem 0.8rem;
}

.funnel-status[data-art="erfolg"] {
  border-color: #2e7d32;
}

.funnel-status[data-art="fehler"] {
  border-color: #b3261e;
}

.kontaktwege {
  list-style: none;
  padding: 0;
}

.kontaktwege li {
  margin-bottom: 0.4rem;
}

/* Fuß */

.fuss {
  border-top: 1px solid var(--farbe-linie);
  padding: 1.5rem 0 2rem;
  color: var(--farbe-schwach);
  font-size: 0.9rem;
}

.fuss nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

/* Druck */

@media print {
  .kopf,
  .cta,
  .sprung {
    display: none;
  }

  body {
    color: #000;
    font-size: 11pt;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .karte,
  .hero {
    border: 0;
    background: none;
  }
}
