/* ==========================================================================
   KRK – Kundler Ringeisen Klein
   Stylesheet des Themes. Aufbau:

   01 Schriften          08 Rechtsgebiete (03)
   02 Design-Tokens      09 Team (04)
   03 Grundlagen         10 Ablauf (05)
   04 Bausteine          11 Bewertungen (06)
   05 Kopf & Fuss        12 Online-Akte (07)
   06 Hero               13 Region
   07 Schwerpunkte (01)  14 Karriere (08)
   15 Aktuelles (09)     18 Fusszeile
   16 Fragen (10)        19 Responsive
   17 Kontakt (11)

   Die Klassennamen folgen BEM: Block, Block__element, Block--modifier.
   Bewusst ohne !important - die Kaskade ist so geordnet, dass es nicht
   gebraucht wird.
   ========================================================================== */

/* ==========================================================================
   01 Schriften – DM Sans als Variable Font, lokal ausgeliefert
   Vier Regeln mit Gewichts-BEREICH (100-1000), damit echte Schnitte
   interpoliert werden statt synthetisch berechnet zu werden.
   Keine Anfrage an fonts.googleapis.com.
   ========================================================================== */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(../fonts/dmsans-var-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(../fonts/dmsans-var-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url(../fonts/dmsans-var-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url(../fonts/dmsans-var-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   02 Design-Tokens
   Werte wörtlich aus dem Design-Export (style.css Z. 1-29).
   ========================================================================== */
:root {
  /* Schrift */
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Farben */
  --primary-green: #007A00;
  --dark-green: #005F00;
  --light-green: #EAF7EA;
  --background-light: #F4F7F5;
  --text-dark: #1F2A24;
  --text-muted: #66716B;
  --border-color: #E3EAE5;
  --star-gold: #E8A33D;
  --star-muted: #C9CFCB;

  /* Radien */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --r-pill: 999px;

  /* Schatten */
  --sh-1: 0 1px 2px rgba(31, 42, 36, .04), 0 4px 14px rgba(31, 42, 36, .05);
  --sh-2: 0 2px 6px rgba(31, 42, 36, .05), 0 14px 34px rgba(31, 42, 36, .09);

  /* Bewegung */
  --dur-fast: 140ms;
  --dur: 220ms;
  --ease: cubic-bezier(.2, .7, .3, 1);

  /* Mass */
  --h-topbar: 34px;
  --h-header: 72px;
  --container-width: 1250px;
  --container-pad: 24px;
}

/* ==========================================================================
   03 Grundlagen
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

/* height: auto gehört zwingend zu max-width: 100%.
   WordPress schreibt an jedes Bild aus der Mediathek width und height als
   Attribut. Ohne height: auto gilt die Attributhöhe weiter, während die
   Breite gedeckelt wird – das Bild wird gestaucht und die Sektion bekommt
   die falsche Höhe. In der Vorschau ohne WordPress fiel das nicht auf, weil
   dort keine Attribute geschrieben werden. */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-green); text-decoration: none; }
a:hover { color: #006300; }
p { margin: 0; }
/* Beide Listenarten zurücksetzen. Nur ul zu behandeln war ein Fehler: die
   Ablaufschritte stehen in einer ol und bekamen dadurch Browser-Einzug und
   einen zusätzlichen Abstand nach unten. */
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 500;
  color: var(--text-dark);
}

/* Der hervorgehobene Schluss jeder Überschrift. Im Design kursiv und fett;
   in der H1 zusätzlich grün. */
h1 em { font-weight: 800; color: var(--primary-green); }
h2 em,
h3 em { font-weight: 800; }

/* In Fliesstext, der aus dem Editor kommt, sollen Listen wieder normal
   aussehen – dort ist der Zurücksetzer von oben unerwünscht. */
.focus-card__text :is(ul, ol),
.intro__text :is(ul, ol),
.faq-item__text :is(ul, ol) {
  margin: 1em 0;
  padding-left: 1.4em;
  list-style: revert;
}

/* Tastaturbedienung sichtbar machen – im Export fehlte das komplett. */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--primary-green);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--primary-green);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms;
    animation-iteration-count: 1;
    transition-duration: .01ms;
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   04 Bausteine – Layout, Abschnitte, Typo, Karten, Schaltflächen
   ========================================================================== */
.site-wrapper { width: 100%; overflow-x: hidden; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Abschnitte.
   Zwei Ebenen, wie im Hausstil der Agentur: die Modifier --flow-top und
   --flow-bottom entscheiden, OB oben bzw. unten Abstand entsteht; die Custom
   Property --flow entscheidet, WIEVIEL. Dadurch braucht ein Abschnitt mit
   anderem Rhythmus nur eine geänderte Zahl, und die Umbruchpunkte weiter unten
   setzen den Wert an einer einzigen Stelle neu. */
.section {
  --flow: 96px;
  padding: 0;
  background: #fff;
}
.section--flow-top { padding-top: var(--flow); }
.section--flow-bottom { padding-bottom: var(--flow); }

/* Die drei Abweichungen vom Grundrhythmus im Entwurf. */
.section--wide { --flow: 104px; }
.section--snug { --flow: 84px; }
.section--tight { --flow: 64px; }

/* Grundfarben. */
.section--grey { background: var(--background-light); }
.section--mint { background: var(--light-green); }

/* Kleine Kennzeichnung über der Überschrift („01 · Unsere Schwerpunkte"). */
.eyebrow {
  color: var(--primary-green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow--icon {
  display: flex;
  align-items: center;
  gap: 9px;
}

/* Schriftgrade der Überschriften, benannt nach Rang.
   Wichtig zu verstehen: .h1 bis .h4 sind KLASSEN, nicht die Elemente h1 bis h4.
   Damit folgt die HTML-Ebene der Gliederung und die Klasse dem Aussehen – im
   Entwurf steht etwa ein h2 im Grad .h3. Für die Elemente h3 und h4 gibt es
   absichtlich keine globale Grössenregel; ihr Aussehen kommt aus den
   Komponentenklassen (focus-card__title, team-card__name …). */
.h1 { font-size: 52px; line-height: 1.1; letter-spacing: -.015em; }
.h2 { font-size: 40px; line-height: 1.15; letter-spacing: -.01em; }
.h3 { font-size: 38px; line-height: 1.15; letter-spacing: -.01em; }
.h4 { font-size: 36px; line-height: 1.18; letter-spacing: -.01em; }

/* Überschrift direkt unter der Beschriftung, ohne Abschnittskopf daneben. */
.section-title { margin-top: 16px; }

/* Abschnittskopf: Überschrift links, Zusatz (Link, Text, Bewertung) rechts. */
.section-head {
  margin-top: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.section-head--wide { gap: 48px; }
.section-head__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--primary-green);
  white-space: nowrap;
}
.section-head__text {
  max-width: 400px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Karte – gemeinsame Grundlage aller Kacheln. */
.card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--sh-1);
}
.card--roomy { padding: 40px; }
.card--flow { display: flex; flex-direction: column; }

/* Quadratisches Symbolfeld in hellem Grün, in vielen Karten oben. */
.icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--light-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  flex: none;
}
.icon-tile--sm { width: 48px; height: 48px; border-radius: var(--r-md); }
.icon-tile--solid { background: var(--primary-green); color: #fff; }

/* Schaltflächen
 *
 * ⚠️ NACHTRAG 14.08.2026: Die Farbregeln stehen absichtlich als
 * `.btn.btn--primary` und nicht als `.btn--primary`.
 *
 * In derselben Installation liegt Methode A mit Elementor. Dessen Global-Kit
 * schreibt `.elementor-kit-9 a { color: #007A00 }` — dasselbe Grün wie unser
 * Knopf-Hintergrund. Diese Regel hat die Spezifität 0,1,1 und schlug unsere
 * einfache Klasse (0,1,0). Ergebnis: grüne Schrift auf grünem Grund, der
 * Knopf sah leer aus. Der Text war im HTML da, nur unsichtbar.
 *
 * Auf unseren eigenen Seiten wird Elementors CSS abgeschaltet (siehe
 * inc/enqueue.php). Auf der Elementor-Seite selbst geht das aber nicht — dort
 * rendert unsere Kopfzeile, und Elementors Kit muss laden. Deshalb die
 * doppelte Klasse: 0,2,0 gewinnt, ohne dass irgendwo `!important` nötig ist.
 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.btn.btn--primary { background: var(--primary-green); color: #fff; }
.btn.btn--primary:hover { opacity: .9; color: #fff; }

.btn.btn--quiet {
  background: #fff;
  border-color: var(--border-color);
  color: var(--text-dark);
  font-weight: 500;
}
.btn.btn--quiet:hover { border-color: var(--primary-green); color: var(--primary-green); }

.btn.btn--on-dark { background: #fff; border-color: #fff; color: var(--text-dark); }
.btn.btn--on-dark:hover { color: var(--primary-green); }

.btn.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn.btn--outline-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }

.btn--sm { height: 48px; padding: 0 26px; font-size: 15px; }
.btn--lg { height: 56px; }

/* Weiterführender Textlink mit Pfeil, unten in Karten. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--primary-green);
}

/* Sterne-Reihe */
.stars { color: var(--star-gold); font-size: 15px; letter-spacing: 2px; }
.stars--muted { color: var(--star-muted); }

/* ==========================================================================
   05 Kopf & Fuss – Infoleiste, Kopfzeile, Navigation, Mobilmenü
   ========================================================================== */
.topbar {
  background: var(--background-light);
  border-bottom: 1px solid var(--border-color);
}
.topbar__inner {
  min-height: var(--h-topbar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}
.topbar__hours {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar__contact {
  display: flex;
  align-items: center;
  gap: 26px;
}
.topbar__link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}
.topbar__link:hover { color: var(--primary-green); }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
}
.site-header__inner {
  min-height: var(--h-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-dark);
}
.site-logo__mark { width: 30px; height: 46px; object-fit: contain; }
.site-logo__text { display: block; }
.site-logo__name {
  display: block;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1.2;
}
.site-logo__tagline {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .13em;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 16px;
}
.main-nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav__link { color: var(--text-dark); }
.main-nav__link:hover { color: var(--primary-green); }
.main-nav__item--current > .main-nav__link { color: var(--primary-green); font-weight: 600; }

/* Quadratische Symbolschaltfläche (Suche, Menü). */
.icon-button {
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.icon-button:hover { border-color: var(--primary-green); color: var(--primary-green); }

.nav-toggle { display: none; }

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border-color);
}
.mobile-menu--open { display: block; }
.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.mobile-menu__link {
  color: var(--text-dark);
  font-size: 17px;
}
.mobile-menu__link:hover { color: var(--primary-green); }

.header-search {
  display: none;
  padding-bottom: 18px;
}
.header-search--open { display: block; }
.header-search__form {
  display: flex;
  gap: 12px;
}
.header-search__field {
  flex: 1;
  height: 48px;
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
  color: var(--text-dark);
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}
.header-search__field:focus-visible {
  outline: 3px solid var(--primary-green);
  outline-offset: 1px;
}

/* ==========================================================================
   06 Hero
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #EAF7EB 0%, #F4FBF4 42%, #ffffff 88%);
  padding: 94px 0 100px;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 490px;
  gap: 30px;
  align-items: start;
}
.hero__title { margin-top: 22px; }
.hero__lead {
  margin-top: 30px;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.72;
  color: var(--text-muted);
}
.hero__actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__trust {
  margin-top: 46px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 700px;
}
.hero__trust-item {
  display: flex;
  gap: 11px;
  color: var(--primary-green);
}
.hero__trust-icon { flex: none; margin-top: 2px; }
.hero__trust-value {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-dark);
}
.hero__trust-label {
  margin-top: 3px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.hero__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #ECEFF0;
}
.hero__image { width: 100%; height: auto; object-fit: cover; }

/* Bilder sind entfernbar (Nachtrag 14.08.2026).
 *
 * Diese drei Raster haben eine feste Bildspalte. Nimmt die Kanzlei das Bild
 * heraus, blieb sonst eine leere Spalte stehen — der Text hätte weiter auf
 * halber Breite gestanden und rechts wäre ein Loch gewesen. Deshalb fallen sie
 * ohne Bild auf eine Spalte zurück.
 */
.hero__inner--kein-bild,
.intro__inner--kein-bild,
.career-card--kein-bild { grid-template-columns: 1fr; }

/* Der Text darf dann nicht über die ganze Breite laufen — das liest sich
 * schlecht. Dieselbe Zeilenlänge wie im Zweispalter. */
.hero__inner--kein-bild .hero__content,
.intro__inner--kein-bild .intro__content,
.career-card--kein-bild .career-card__body { max-width: 760px; }

/* ==========================================================================
   07 Schwerpunkte (01) – vier grosse Karten
   ========================================================================== */
.focus-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.focus-card__title { margin-top: 26px; font-size: 21px; font-weight: 600; }
.focus-card__text {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--text-muted);
}
.focus-card__text p + p { margin-top: 1em; }
.focus-card__link { margin-top: auto; padding-top: 30px; }

/* ==========================================================================
   08 Die Kanzlei (02) – Bild links, Vorteilsliste rechts
   ========================================================================== */
.intro__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 130px;
  align-items: center;
}
.intro__media { position: relative; }
.intro__image { width: 100%; border-radius: var(--r-lg); }
.intro__badge {
  position: absolute;
  left: -20px;
  bottom: 56px;
  background: var(--primary-green);
  color: #fff;
  border-radius: var(--r-md);
  padding: 24px 28px;
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.55;
}
.intro__title { margin-top: 16px; }
.intro__text {
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.72;
  color: var(--text-muted);
}
.intro__text p + p { margin-top: 1em; }
.intro__cta { margin-top: 34px; }

.benefits { margin-top: 34px; }
.benefits__item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--border-color);
}
.benefits__item:last-child { border-bottom: 1px solid var(--border-color); }
.benefits__icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--primary-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefits__title { display: block; font-size: 16.5px; font-weight: 700; }
.benefits__text {
  display: block;
  margin-top: 5px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==========================================================================
   09 Rechtsgebiete (03) – acht schmale Karten
   ========================================================================== */
.practice-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}
.practice-card { min-height: 330px; }
.practice-card__title { margin-top: 26px; font-size: 19.5px; font-weight: 600; }
.practice-card__text {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.66;
  color: var(--text-muted);
}
.practice-card__link {
  margin-top: auto;
  padding-top: 26px;
  color: var(--primary-green);
  align-self: flex-start;
}

/* ==========================================================================
   10 Ihre Ansprechpartner (04) – vier Personenkarten
   ========================================================================== */
.team-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}
.team-card__photo {
  width: 100%;
  aspect-ratio: 217 / 288;
  object-fit: cover;
  border-radius: 8px;
  background: #E9ECEA;
}
.team-card__name { margin-top: 24px; font-size: 20px; font-weight: 600; }
.team-card__role {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.6;
}
.team-card__badges {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.team-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light-green);
  color: var(--primary-green);
  border-radius: var(--r-sm);
  padding: 7px 12px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}
.team-card__badge-icon { flex: none; }
.team-card__focus {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.team-note {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16.5px;
  color: var(--text-muted);
  text-align: center;
}
.team-note__icon { flex: none; color: var(--primary-green); }
.team-note__name { color: var(--text-dark); font-weight: 700; }

/* ==========================================================================
   11 In drei Schritten (05)
   ========================================================================== */
.process-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 27px;
}
.process-card__number {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--primary-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 700;
}
.process-card__title {
  margin-top: 26px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}
.process-card__text {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ==========================================================================
   12 Was Mandanten sagen (06)
   ========================================================================== */
.review-source {
  display: flex;
  align-items: center;
  gap: 16px;
}
.review-source__label {
  margin-top: 4px;
  font-size: 15.5px;
  color: var(--text-muted);
}
.review-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 27px;
}
.review-card {
  position: relative;
  padding: 34px;
  overflow: hidden;
}
.review-card--placeholder {
  background: transparent;
  box-shadow: none;
}
.review-card__mark {
  position: absolute;
  top: 14px;
  right: 26px;
  font-size: 56px;
  line-height: 1;
  color: var(--border-color);
  font-weight: 800;
}
.review-card__quote {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.62;
  color: var(--text-dark);
}
.review-card__author {
  margin-top: 26px;
  font-size: 14.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   13 Digitale Kanzlei (07) – breite Karte auf mintgrünem Grund
   ========================================================================== */
.portal__card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
}
.portal__body { max-width: 760px; }
.portal__title { margin-top: 16px; }
.portal__text {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.72;
  color: var(--text-muted);
}
.portal__cta { flex: none; }

/* ==========================================================================
   14 Region – Saarland-Umriss im Hintergrund, Ortskacheln rechts
   ========================================================================== */
.region {
  position: relative;
  overflow: hidden;
}
.region__map {
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 32%;
  max-width: 520px;
  height: auto;
  max-height: 88%;
  color: #D5DED8;
  pointer-events: none;
  user-select: none;
}
.region__inner {
  position: relative;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 70px;
  align-items: center;
}
.region__title {
  margin-top: 22px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
}
.region__text {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-muted);
}
.region__chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.region-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  padding: 14px 16px;
  color: var(--text-dark);
  transition: border-color var(--dur) var(--ease);
}
.region-chip:hover { border-color: var(--primary-green); color: var(--text-dark); }
.region-chip__icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--light-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
}
.region-chip__body { flex: 1; }
.region-chip__place { display: block; font-size: 16px; font-weight: 600; }
.region-chip__note {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.region-chip__arrow { flex: none; color: var(--text-muted); }

/* ==========================================================================
   15 Karriere (08) – Bild links, Text rechts, in einer Karte
   ========================================================================== */
.career-card {
  display: grid;
  grid-template-columns: 513px 1fr;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.career-card__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #E9ECEA;
}
.career-card__body { padding: 56px 60px; }
.career-card__title { margin-top: 16px; }
.career-card__text {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.72;
  color: var(--text-muted);
}
.career-card__tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.career-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 14.5px;
  font-weight: 500;
}
.career-tag__icon { flex: none; color: var(--primary-green); }
.career-card__cta { margin-top: 32px; }

/* ==========================================================================
   16 Aktuelles (09) – echte Beiträge
   ========================================================================== */
.blog-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 27px;
}
.blog-card__date {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.blog-card__title {
  margin-top: 16px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
}
.blog-card__excerpt {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}
.blog-card__link { margin-top: auto; padding-top: 28px; }

/* ==========================================================================
   17 Häufige Fragen (10) – Akkordeon
   ========================================================================== */
.faq__inner {
  display: grid;
  grid-template-columns: 470px 1fr;
  gap: 56px;
  align-items: start;
}
.faq__title { margin-top: 16px; }
.faq__text {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
}
.faq__phone {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-green);
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 32px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 17.5px;
  font-weight: 600;
  color: var(--text-dark);
}
.faq-item__question:hover { background: #FAFCFA; }
.faq-item__icon {
  flex: none;
  color: var(--text-muted);
  transition: transform var(--dur-fast) linear;
}
.faq-item__question[aria-expanded="true"] .faq-item__icon { transform: rotate(180deg); }
.faq-item__answer { display: none; }
.faq-item__answer--open { display: block; }
.faq-item__text {
  padding: 0 32px 26px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-muted);
}
.faq-item__text p + p { margin-top: 1em; }

/* ==========================================================================
   18 Kontakt (11) und Abschluss-Banner
   ========================================================================== */
.contact-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 27px;
}
.contact-card__title { margin-top: 26px; font-size: 20px; font-weight: 600; }
.contact-card__text {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.82;
  color: var(--text-muted);
}
.contact-card__note {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-muted);
}
.contact-card__phone {
  margin-top: 16px;
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
}
/* Die Nummer ist hier ein Link (auf dem Telefon anwählbar), sieht aber wie
   im Entwurf nach Text aus. */
.contact-card__phone a { color: inherit; }
.contact-card__phone a:hover { color: var(--primary-green); }

/* Die Öffnungszeiten stehen in einer Definitionsliste; ohne das Zurücksetzen
   hätte dd den Browser-Einzug. */
.hours dd { margin: 0; }

/* Die Ablaufschritte sind eine Liste, sollen aber keine Zählzeichen zeigen –
   die Nummer steht sichtbar in der Karte. */
.process-grid,
.career-card__tags,
.faq__list { list-style: none; }

/* Die Fragen sitzen in einer h3, damit die Gliederung stimmt; das Aussehen
   bestimmt die Schaltfläche darin. */
.faq-item h3 { margin: 0; font-size: inherit; font-weight: inherit; }
.contact-card__mail {
  margin-top: 12px;
  display: inline-block;
  font-size: 17px;
  color: var(--primary-green);
  text-decoration: underline;
}
.contact-card__link { margin-top: auto; padding-top: 26px; }

.hours {
  margin-top: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 24px;
  font-size: 16.5px;
}
.hours__day { font-weight: 700; }
.hours__time { color: var(--text-muted); }

.cta-banner {
  margin-top: 52px;
  position: relative;
  background: var(--dark-green);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.cta-banner__glow {
  position: absolute;
  right: -60px;
  bottom: -150px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}
.cta-banner__inner {
  position: relative;
  padding: 78px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-banner__title {
  font-size: 34px;
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
}
.cta-banner__text {
  margin-top: 20px;
  max-width: 700px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
}
.cta-banner__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ==========================================================================
   19 Fusszeile
   ========================================================================== */
.site-footer {
  background: var(--background-light);
  border-top: 1px solid var(--border-color);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 400px 300px 210px 1fr;
  gap: 32px;
}
.footer-brand__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.footer-brand__mark { width: 30px; height: 46px; object-fit: contain; }
.footer-brand__name { font-size: 18px; font-weight: 700; letter-spacing: .015em; }
.footer-brand__tagline {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .13em;
  color: var(--text-muted);
}
.footer-brand__former {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.footer-brand__address {
  margin-top: 26px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-muted);
}
.footer-social {
  margin-top: 26px;
  display: flex;
  gap: 12px;
}
.footer-social__link {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.footer-social__link:hover { border-color: var(--primary-green); color: var(--primary-green); }

.footer-col__title { font-size: 18px; font-weight: 600; }
.footer-col__list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-col__link { font-size: 16.5px; color: var(--text-muted); }
.footer-col__link:hover { color: var(--primary-green); }
.footer-col__link--icon {
  display: flex;
  align-items: center;
  gap: 11px;
}
.footer-col__link-icon { flex: none; color: var(--primary-green); }
.footer-col__text {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-bottom {
  margin-top: 56px;
  padding: 26px 0;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-bottom__copy { font-size: 14.5px; color: var(--text-muted); }
.footer-bottom__legal { display: flex; gap: 36px; }
.footer-bottom__link { font-size: 14.5px; color: var(--text-muted); }
.footer-bottom__link:hover { color: var(--primary-green); }

/* ==========================================================================
   20 Responsive – Umbruchpunkte 1199 / 999 / 767 wie im Design-Export
   ========================================================================== */
@media (max-width: 1199px) {
  .container { padding: 0 32px; }

  .hero { padding: 56px 0 64px; }
  .hero__inner,
  .intro__inner,
  .career-card,
  .faq__inner,
  .region__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__media { max-width: 520px; }

  .practice-grid,
  .team-grid,
  .region__chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Ein Wert für alle Abschnitte. Zwei behalten ihren eigenen Rhythmus, weil
     sie im Entwurf an dieser Stelle ebenfalls nicht schrumpfen: die Online-Akte
     (84 px) und die Region (64 px). */
  .section { --flow: 72px; }
  .section--snug { --flow: 84px; }
  .section--tight { --flow: 64px; }

  .h1 { font-size: 44px; }
  .h2,
  .h3,
  .h4 { font-size: 34px; }

  .career-card__media { height: 340px; }

  .portal__card {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 40px;
  }

  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 44px; }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .section-head__text { max-width: none; text-align: left; }
}

@media (max-width: 999px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 767px) {
  .container { padding: 0 20px; }

  .topbar__inner {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    padding: 8px 0;
  }
  .topbar__contact { gap: 18px; flex-wrap: wrap; }

  .focus-grid,
  .practice-grid,
  .team-grid,
  .process-grid,
  .review-grid,
  .blog-grid,
  .contact-grid,
  .region__chips,
  .footer-grid { grid-template-columns: 1fr; }

  .h1 { font-size: 32px; }
  .h2,
  .h3,
  .h4 { font-size: 27px; }

  .section { --flow: 56px; }
  .section--snug { --flow: 84px; }
  .section--tight { --flow: 64px; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__trust { grid-template-columns: 1fr; gap: 18px; }

  .btn { width: 100%; justify-content: center; }
  .portal__cta,
  .cta-banner__actions .btn { width: auto; }

  .card,
  .card--roomy { padding: 26px; }
  .portal__card { padding: 28px; }
  .career-card__body { padding: 28px; }
  .cta-banner__inner { padding: 52px 22px; }

  .region__map { width: 56%; left: -40px; opacity: .7; }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}
