/* Kontakt: drei Wege, Formular auf Schiefer, Standort wie auf der Startseite */

.k-bild { position: relative; margin: 0; }
.k-bild img { width: 100%; height: clamp(11rem, 22vw, 18rem); object-fit: cover; object-position: 50% 50%; background: var(--grund); }

/* Drei Anliegen-Wege als Zeilen mit Linien */
.k-wege { padding: clamp(3rem, 6vw, 5rem) var(--rand) clamp(2.5rem, 5vw, 4rem); }
.k-wege > h2 { font-size: var(--t-h2); line-height: 1.1;  font-weight: 600; }
.k-wege__einl { margin-top: .9rem; max-width: 36rem; color: var(--tinte-2); font-size: var(--t-text); }
.k-liste { list-style: none; margin: clamp(1.75rem, 4vw, 3rem) 0 0; padding: 0; counter-reset: weg; }
.k-weg { display: grid; grid-template-columns: 3rem minmax(0, 5fr) minmax(0, 6fr); gap: 1rem clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0; border-top: 1px solid var(--tinte); counter-increment: weg; }
.k-weg:last-child { border-bottom: 1px solid var(--tinte); }
.k-weg::before { content: "0" counter(weg); font-size: var(--t-klein); font-variant-numeric: tabular-nums; color: var(--tinte-2); padding-top: .55rem; font-weight: 500; }
.k-weg h3 { font-size: var(--t-h3); line-height: 1.1;  font-weight: 600; }
.k-weg__text p { margin-top: .6rem; max-width: 30rem; color: var(--tinte-2); }
.k-weg__links { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.75rem; align-self: center; }
.k-weg__mehr { }

/* Formular und Kontaktdaten nebeneinander */
.k-form { background: var(--schiefer); color: var(--tinte-2); padding: clamp(3rem, 6vw, 4.5rem) var(--rand); scroll-margin-top: var(--kopf-h); }
.k-form__raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: start; }
.k-form h2 { font-size: var(--t-h2); line-height: 1.1;  font-weight: 600; max-width: 16ch; }
.k-form__einl { margin-top: 1.25rem; max-width: 34rem; color: var(--tinte-2); }
.k-form .kform { max-width: none; }
.k-daten { margin: 0; padding-top: .5rem; display: grid; align-content: start; }
.k-daten > div { padding: 1rem 0; border-top: 1px solid rgb(255 255 255 / .25); }
.k-daten dt { font-size: var(--t-klein); color: var(--tinte-2); margin-bottom: .25rem; font-weight: 500; }
.k-daten dd { margin: 0; font-style: normal; line-height: 1.5; }
.k-daten a { }

@media (max-width: 960px) {
  .k-form__raster { grid-template-columns: 1fr; }
  .k-weg { grid-template-columns: 2.25rem minmax(0, 1fr); }
  .k-weg__links { grid-column: 2; }
}
@media (max-width: 720px) {
  .k-bild img { height: 10rem; }
}
.k-daten address { font-style: normal; }

/* Welle 6: Anliegen-Tabelle */
.k-tab { margin-top: clamp(1.5rem, 3vw, 2.25rem); max-width: 60rem; overflow-x: auto; }
.k-tab table { width: 100%; border-collapse: collapse; font-size: var(--t-text); }
.k-tab th, .k-tab td { text-align: left; padding: .9rem 1.5rem .9rem 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.k-tab thead th { font-size: var(--t-klein); font-weight: 500; color: var(--tinte-2); border-bottom-color: var(--tinte); }
.k-tab tbody th { width: 45%; }
.k-tab td { color: var(--tinte-2); }
@media (max-width: 640px) {
  .k-tab thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .k-tab tbody tr { display: block; padding: .85rem 0; border-bottom: 1px solid var(--linie); }
  .k-tab tbody th, .k-tab tbody td { display: block; width: auto; padding: 0; border: 0; }
  .k-tab tbody td { margin-top: .25rem; }
}
.k-tab tbody th a { color: inherit; }
.k-tab tbody th a:hover { color: var(--tinte-2); }
