/* Firmenregister Eintrag – modernes, sachliches Verzeichnis-Layout. */
:root {
  --navy: #1b3a6b;
  --navy-dark: #142c52;
  --navy-deep: #0e2140;
  --gold: #b59b3b;
  --gold-dark: #a48a31;
  --line: #e6e8ee;
  --bg: #f6f7fa;
  --card: #ffffff;
  --text: #1c2230;
  --muted: #657084;
  --radius: 0;
  --schatten: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
  --schatten-hover: 0 8px 22px rgba(16, 24, 40, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Kopf */
.kopf {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 28px;
}
.kopf table { width: 100%; border: 0; border-collapse: collapse; }
.kopf .logo img { height: 46px; width: auto; display: block; }
.kopf .logo a { display: inline-block; }
.kopf .logo span { font-size: 10.5px; display: block; letter-spacing: 2.4px;
                   color: var(--muted); margin-top: 6px; text-transform: uppercase; }
.kopf .rechts { text-align: right; font-size: 12.5px; color: var(--muted);
                vertical-align: bottom; }

/* Navigation */
.nav {
  background: var(--navy);
  padding: 6px 20px;
  font-size: 13.5px;
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 10px rgba(14, 33, 64, .25);
}
.nav a {
  display: inline-block; margin: 4px 2px; padding: 8px 14px;
  color: #ccd8ee; border-radius: 0; font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.12); text-decoration: none; }

/* Hero (Foto + Navy-Overlay) */
.hero {
  background:
    linear-gradient(105deg, rgba(11, 26, 51, .93) 0%, rgba(17, 38, 72, .82) 52%, rgba(11, 26, 51, .55) 100%),
    url("/static/img/hero.jpg") center 35% / cover no-repeat;
  color: #fff; padding: 96px 24px 104px;
}
.hero .hero-inner { max-width: 1000px; margin: 0 auto; }
.hero .badge {
  display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: #e8d9a0;
  border: 1px solid rgba(232, 217, 160, .45); border-radius: 0;
  padding: 6px 14px; margin-bottom: 22px; background: rgba(181, 155, 59, .14);
}
.hero h1 {
  font-size: 44px; font-weight: 750; color: #fff; border: 0;
  margin: 0 0 18px; max-width: 720px; padding: 0;
  line-height: 1.14; letter-spacing: -.8px;
}
.hero p { max-width: 600px; margin: 0 0 8px; color: #d4def1; font-size: 17px; }
.hero .knoepfe { margin-top: 32px; }
.hero .fakten {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px;
  font-size: 13.5px; color: #c4d2ea; font-weight: 500;
}
.hero .fakten span::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 8px; }
.hero .knopf { margin: 0 7px 10px; padding: 13px 30px; font-size: 15.5px; border-radius: 0; }
.hero .knopf-gold { background: var(--gold); border-color: var(--gold); color: #fff;
  box-shadow: 0 6px 18px rgba(181,155,59,.35); }
.hero .knopf-gold:hover { background: var(--gold-dark); transform: translateY(-1px); }
.hero .knopf-hell { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); color: #fff; }
.hero .knopf-hell:hover { background: rgba(255,255,255,.16); }

/* Inhalt */
.inhalt { padding: 36px 24px 64px; max-width: 1000px; margin: 0 auto; }
h1 { font-size: 26px; font-weight: 700; margin: 0 0 20px; letter-spacing: -.3px;
     padding-bottom: 12px; border-bottom: 1px solid var(--line); }
h2 { font-size: 17px; font-weight: 650; margin: 26px 0 10px; }
h2.abschnitt {
  font-size: 22px; font-weight: 700; letter-spacing: -.3px;
  margin: 44px 0 18px; padding: 0; border: 0;
}
h2.abschnitt:first-child { margin-top: 6px; }

/* Buttons */
input[type=submit], .knopf {
  font: inherit; font-size: 14.5px; font-weight: 600;
  background: var(--navy); color: #fff;
  border: 1px solid var(--navy); border-radius: 0;
  padding: 10px 20px; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
input[type=submit]:hover, .knopf:hover {
  background: var(--navy-dark); text-decoration: none; transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 44, 82, .25);
}
a.knopf { background: var(--navy); color: #fff; }
.knopf-gold { background: var(--gold); border-color: var(--gold); }
.knopf-gold:hover { background: var(--gold-dark); }

/* Suche */
.suchkasten {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 20px;
  margin-bottom: 22px;
  box-shadow: var(--schatten);
}
.suchkasten label { font-size: 13px; color: var(--muted); font-weight: 500; }
.suchzeile { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; align-items: center; }
.suchkasten input[type=text] {
  font: inherit; font-size: 15px;
  border: 1px solid #d4d8e1; border-radius: 0; padding: 10px 13px;
  flex: 1 1 260px; max-width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.suchkasten select {
  font: inherit; font-size: 14.5px; color: var(--text);
  border: 1px solid #d4d8e1; border-radius: 0; padding: 10px 12px;
  background: #fff; cursor: pointer; max-width: 220px;
}
.suchkasten input[type=text]:focus, .suchkasten select:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(27,58,107,.10);
}

/* Tabellen */
table.liste { border-collapse: separate; border-spacing: 0; width: 100%; background: var(--card);
  border: 1px solid var(--line); border-radius: 0; overflow: hidden;
  box-shadow: var(--schatten); }
table.liste th, table.liste td {
  border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left;
  vertical-align: top; font-size: 14px;
}
table.liste th { background: var(--navy); color: #fff; font-weight: 600;
                 font-size: 11.5px; letter-spacing: .6px; text-transform: uppercase; border-bottom: 0; }
table.liste tr:last-child td { border-bottom: 0; }
table.liste tbody tr { transition: background .12s ease; }
table.liste tbody tr:hover td, table.liste tr:hover td { background: #f1f4fa; }
table.liste tr.gerade td { background: #fafbfd; }

table.daten { border-collapse: separate; border-spacing: 0; background: var(--card); width: 100%;
  border: 1px solid var(--line); border-radius: 0; overflow: hidden;
  box-shadow: var(--schatten); }
table.daten th, table.daten td { border-bottom: 1px solid var(--line);
  padding: 12px 16px; text-align: left; vertical-align: top; }
table.daten tr:last-child th, table.daten tr:last-child td { border-bottom: 0; }
table.daten th { background: #f6f7fa; width: 190px; font-weight: 600; color: var(--muted);
  font-size: 13.5px; }

.blaettern { margin: 18px 0; font-size: 13px; color: var(--muted); }
.blaettern a { font-weight: 500; }
.hinweis { font-size: 13px; color: var(--muted); }
.fehler { color: #b3261e; font-weight: 600; }

/* Formulare */
.formzeile { margin-bottom: 16px; }
.formzeile label { display: block; font-size: 13px; color: var(--muted);
  margin-bottom: 6px; font-weight: 500; }
.formzeile input[type=text], .formzeile textarea {
  font: inherit; font-size: 15px;
  border: 1px solid #d4d8e1; border-radius: 0; padding: 10px 13px;
  width: 460px; max-width: 100%; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.formzeile input[type=text]:focus, .formzeile textarea:focus { outline: none;
  border-color: var(--navy); box-shadow: 0 0 0 4px rgba(27,58,107,.10); }
.formzeile input::placeholder, .formzeile textarea::placeholder { color: #a6adbd; }

/* CTA-Box */
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 0; padding: 18px 22px; margin-bottom: 22px;
  box-shadow: var(--schatten);
}
.cta .knopf { background: var(--navy); color: #fff; }
.cta .knopf:hover { background: var(--navy-dark); }

/* Vorteils-Karten */
.vorteile {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px; margin: 0 0 10px;
}
.vorteile .v {
  background: var(--card); border: 1px solid var(--line); border-radius: 0;
  padding: 18px 19px; box-shadow: var(--schatten);
  transition: transform .15s ease, box-shadow .15s ease;
}
.vorteile .v:hover { transform: translateY(-3px); box-shadow: var(--schatten-hover); }
.vorteile .v b { display: block; margin-bottom: 5px; font-size: 15px; }
.vorteile .v b::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 9px; }
.vorteile .v span { font-size: 13.5px; color: var(--muted); }

/* Schritte */
.schritte {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px; margin: 20px 0 8px;
}
.schritte .s {
  background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: 0; padding: 18px 19px; box-shadow: var(--schatten);
  transition: transform .15s ease, box-shadow .15s ease;
}
.schritte .s:hover { transform: translateY(-3px); box-shadow: var(--schatten-hover); }
.schritte .s b { display: block; margin-bottom: 6px; font-size: 15px; }
.schritte .s b i {
  font-style: normal; display: inline-block; width: 24px; height: 24px;
  line-height: 24px; text-align: center; border-radius: 0;
  background: var(--navy); color: #fff; font-size: 12.5px; margin-right: 9px; font-weight: 600;
}
.schritte .s span { font-size: 13.5px; color: var(--muted); }

/* Bild-Text-Split */
.split {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px;
  align-items: center; margin: 18px 0 10px;
}
.split img {
  width: 100%; height: auto; display: block;
  box-shadow: var(--schatten-hover);
}
.split p { margin-top: 0; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* Zwei Panels (Unternehmen / Auftraggeber) */
.zwei {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px; margin: 18px 0 6px;
}
.zwei .panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 0;
  padding: 26px 26px 24px; box-shadow: var(--schatten);
}
.zwei .panel.foto { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.zwei .panel.foto img {
  width: 100%; height: auto; display: block;
}
.zwei .panel.foto .panel-text { padding: 22px 26px 24px; flex: 1; display: flex;
  flex-direction: column; align-items: flex-start; }
.zwei .panel.foto .panel-text p { flex: 1; }
.zwei .panel b { display: block; font-size: 18px; margin-bottom: 8px; letter-spacing: -.2px; }
.zwei .panel p { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.zwei .panel-navy {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-color: var(--navy-deep); color: #fff;
}
.zwei .panel-navy b { color: #fff; }
.zwei .panel-navy p { color: #cfdaef; }

/* Leistungen / Konditionen */
ul.leistungen { list-style: none; padding: 0; margin: 12px 0 6px; }
ul.leistungen li { position: relative; padding: 6px 0 6px 28px; font-size: 15px; }
ul.leistungen li::before {
  content: "✓"; position: absolute; left: 0; top: 5px;
  color: var(--gold); font-weight: 700;
}

.konditionen {
  background: #fbfaf6; border: 1px solid var(--line); border-radius: 0;
  padding: 16px 20px; margin: 20px 0;
}
.konditionen .kond-zeile {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line);
}
.konditionen .kond-zeile span { color: var(--muted); }
.konditionen p { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.konditionen .kond-check {
  display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5;
}
.konditionen .kond-check input { margin-top: 3px; }

/* Fuß */
.fuss {
  margin-top: 56px; border-top: 1px solid var(--line); padding: 22px 24px;
  font-size: 12.5px; color: var(--muted); background: #fff; text-align: center;
}
.fuss a { color: var(--muted); text-decoration: underline; }

/* Treffer-Liste auf der Anfrage-Seite */
.treffer-kasten {
  background: #f3f6fc; border: 1px solid #d8e0ef; border-radius: 0;
  padding: 16px 20px; margin: 14px 0 20px;
}
.treffer-kasten b { font-size: 14px; }
.treffer-kasten ul { margin: 10px 0 0; padding-left: 20px; font-size: 14px; }
.treffer-kasten li { margin-bottom: 4px; }

@media (max-width: 640px) {
  .hero { padding: 56px 18px 60px; }
  .hero h1 { font-size: 30px; }
  .inhalt { padding: 26px 16px 48px; }
  .kopf { padding: 12px 16px; }
}
