/* =========================================================
   Rechtsanwältin Sylvia Frommhold – statische Website
   Maße 1:1 aus den Masterlayouts (FireShot 140–146, 1920 px)
   ========================================================= */

:root {
  --gruen: #97bb23;
  --gruen-hell: #ecf2d6;
  --gruen-footer: #d5e415;
  --text: #666666;
  --grau-band: #ededed;
  --linie: #e8e8e8;
  --fliesstext: 13px;          /* Vorgabe: Fließtext Desktop 13 px */
  --zeilenhoehe: 1.85;
  --box: 1040px;
  --rand: 45px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: Arial, "Helvetica Neue", Helvetica, "Liberation Sans", sans-serif;
  font-size: var(--fliesstext);
  line-height: var(--zeilenhoehe);
  color: var(--text);
  background-color: #98bb23;
  background-image: repeating-linear-gradient(45deg,
      #98bb23 0, #98bb23 8px, #93b521 8px, #93b521 10px);
  padding-bottom: 130px;
}

a { color: var(--gruen); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; border: 0; }
p { margin: 0 0 9px; }
strong, b { font-weight: bold; }

.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 999; }
.skip:focus { left: 8px; }

/* ---------- Box-Layout ---------- */
.wrap {
  width: var(--box);
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
}
.container { padding: 0 var(--rand); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 3px solid var(--gruen);
  height: 107px;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
  padding-left: 43px;
  padding-right: 52px;
}
.logo { display: block; width: 377px; height: 104px; margin-top: 1px; }
.logo img { width: 377px; height: 104px; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav li { position: relative; }
.nav a {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: #000;
  padding: 0 11px;
  margin-top: 3px;
}
.nav a:hover, .nav a:focus { color: var(--gruen); text-decoration: none; }
.nav a[aria-current="page"] { color: #000; }
.nav li:last-child a { padding-right: 0; }

.search-toggle {
  background: none; border: 0; cursor: pointer; padding: 0 0 0 11px; margin-top: 3px;
  display: flex; align-items: center; color: #000;
}
.search-toggle svg { width: 11px; height: 11px; }
.search-box {
  display: none;
  position: absolute; right: -10px; top: 38px;
  width: 300px; background: #fff; border: 1px solid #e1e1e1;
  box-shadow: 0 3px 10px rgba(0,0,0,.08); padding: 10px; z-index: 60;
}
.search-box.open { display: block; }
.search-box input {
  width: 100%; border: 1px solid #e1e1e1; padding: 8px 10px;
  font: inherit; font-size: 13px; color: #444;
}
.search-box ul { display: block; margin-top: 8px; }
.search-box li a { padding: 6px 2px; margin: 0; font-size: 13px; line-height: 1.4; color: #444; border-top: 1px solid #f0f0f0; }
.search-box li a small { display: block; color: #999; font-size: 11px; }
.search-box .leer { font-size: 12px; color: #999; padding: 6px 2px 0; }

.burger { display: none; }

/* ---------- Headerbild ---------- */
.hero { padding-top: 13px; }
.hero img { width: 100%; height: auto; aspect-ratio: 1180 / 437; object-fit: cover; }

/* ---------- Inhalt ---------- */
.content { padding-top: 46px; padding-bottom: 40px; }

h1, .h1 {
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: 1px;
  font-weight: bold;
  color: var(--gruen);
  text-align: center;
  margin: 0 0 6px;
}
.untertitel {
  text-align: center;
  color: var(--gruen);
  font-size: 17px;
  line-height: 1.4;
  margin: 0 0 22px;
}
.zentriert { text-align: center; }
.gruen { color: var(--gruen); }
.gruen-fett { color: var(--gruen); font-weight: bold; }

.trenner {
  border: 0;
  height: 2px;
  background: radial-gradient(circle at 1px 1px, var(--gruen) 1px, transparent 1.3px) 0 0 / 6px 2px repeat-x;
  margin: 30px 0;
}

/* ---------- Startseite ---------- */
.intro > p { text-align: center; }
.intro > p.gruen-fett { margin-top: 12px; }

.bewertung { text-align: center; padding: 47px 0 20px; }
.bewertung h2 {
  font-size: 27px; font-weight: normal; letter-spacing: 1px;
  color: var(--gruen); margin: 0 0 18px; line-height: 1.3;
}
.bewertung .werte { font-size: 21px; line-height: 1.4; color: #666; margin: 0 0 12px; }
.sterne { display: flex; justify-content: center; gap: 11px; }
.sterne svg { width: 41px; height: 40px; fill: #f6c55f; }

.stimmen {
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: 0; padding: 90px 0 70px;
}
.stimmen .spalte + .spalte { padding-left: 0; }
.stimme {
  display: grid; grid-template-columns: 87px 1fr;
  padding: 0 20px 22px 17px;
  margin-bottom: 22px;
  border-bottom: 1px solid #f2f2f2;
}
.spalte .stimme:last-child { border-bottom: 0; }
.avatar {
  width: 66px; height: 66px; border-radius: 50%;
  color: #fff; font-size: 44px; line-height: 66px; text-align: center;
  font-family: "Segoe UI", "Open Sans", Arial, sans-serif;
}
.avatar.k { background: #18229e; }
.avatar.s { background: #cd3379; }
.stimme h3 { margin: 0; font-size: 15px; line-height: 22px; color: var(--gruen); font-weight: bold; }
.stimme .mini {
  display: flex; gap: 1px; margin: 13px 0 18px; height: 12px;
}
.stimme .mini svg { width: 13px; height: 12px; fill: #f6c55f; }
.stimme p { line-height: 26px; margin: 0; }

.dw-band {
  background: var(--grau-band);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  padding: 36px 45px 36px 39px; min-height: 191px;
}
.dw-band img { width: 440px; }
.dw-band p { text-align: center; margin: 0; padding-left: 40px; }

.info-band { background: var(--gruen-hell); padding: 86px var(--rand) 92px; }
.info-band .spalten { display: grid; grid-template-columns: repeat(3, 1fr); }
.info { text-align: center; color: var(--gruen); }
.info svg { height: 56px; width: auto; fill: var(--gruen); display: block; margin: 0 auto 10px; }
.info h2 { font-size: 26px; line-height: 1.2; margin: 0 0 0; font-weight: bold; color: var(--gruen); letter-spacing: .2px; }
.info hr { width: 186px; border: 0; border-top: 1px solid var(--gruen); margin: 30px auto 18px; }
.info p { margin: 0; line-height: 26px; }
.info a { text-decoration: underline; }

.karte { position: relative; height: 352px; overflow: hidden; background: #e5e3df; }
.karte img { width: 100%; height: 100%; object-fit: cover; }
.karte iframe { width: 100%; height: 100%; border: 0; display: block; }
.karte button {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: transparent; border: 0; cursor: pointer; padding: 0;
}
.karte .hinweis {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  background: rgba(255,255,255,.92); color: #555; font-size: 12px; line-height: 1.4;
  padding: 6px 12px; border-radius: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.15);
  opacity: 0; transition: opacity .2s; white-space: nowrap;
}
.karte button:hover .hinweis, .karte button:focus .hinweis { opacity: 1; }

/* ---------- Zur Person ---------- */
.person { display: grid; grid-template-columns: 1fr 265px; column-gap: 85px; align-items: start; margin-top: 18px; }
.person img { width: 265px; height: 265px; margin-top: -8px; }
.zwischen { font-size: 26px; font-weight: normal; color: var(--gruen); letter-spacing: .5px; margin: 0 0 40px; line-height: 1.3; text-align: left; }
.logos { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; margin-bottom: 40px; }
.logos a { display: block; }
.logos img { width: 300px; margin: 0 auto; }
.mitglied { display: grid; grid-template-columns: 1fr 280px; column-gap: 40px; }
.mitglied p { margin: 0; }
.mitglied ul { list-style: none; margin: 0; padding: 0; }
.mitglied li { line-height: 26px; }

.schritte { background: var(--gruen-hell); padding: 35px var(--rand) 32px; }
.schritte .spalten { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.schritte img { width: 64px; height: 64px; margin: 0 auto 10px; }
.schritte p { margin: 0; line-height: 26px; }

/* ---------- Tätigkeitsschwerpunkte ---------- */
.content .text-links h1 { margin-bottom: 20px; }
.liste { list-style: none; margin: 22px 0 24px; padding: 0; }
.liste li { position: relative; padding-left: 22px; margin-bottom: 9px; line-height: 26px; }
.liste li::before {
  content: ""; position: absolute; left: 7px; top: 9px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--gruen);
}
.liste li span { display: block; }
.dw-klein { width: 200px; margin: 16px 0 20px; }
.flaggen { display: flex; gap: 8px; margin: 14px 0 16px 2px; }
.flaggen img { height: 46px; width: auto; }

/* ---------- Bürozeiten ---------- */
.zeiten { text-align: center; padding-bottom: 6px; }
.zeiten .name { color: var(--gruen); font-weight: bold; font-size: 17px; line-height: 25px; margin: 16px 0 14px; }
.zeiten .tel { color: var(--gruen); font-weight: bold; font-size: 14px; margin: 0 0 14px; }
.zeiten dl { margin: 0; }
.zeiten dt { color: var(--gruen); font-weight: bold; line-height: 26px; }
.zeiten dd { margin: 0 0 14px; line-height: 26px; }

/* ---------- Kontakt ---------- */
.kontakt-titel {
  background: var(--gruen); position: relative;
  height: 145px; display: flex; align-items: center; justify-content: center; text-align: center;
}
.kontakt-titel h1 { color: #fff; margin: 0; }
.kontakt-titel::after {
  content: ""; position: absolute; left: 50%; bottom: -18px; margin-left: -18px;
  border: 18px solid transparent; border-bottom: 0; border-top-color: var(--gruen);
  z-index: 2;
}
.kontakt-raster { display: grid; grid-template-columns: 260px 1fr; height: 575px; }
.kontakt-text {
  background: var(--gruen-hell); text-align: center;
  padding: 92px 30px 40px; font-size: var(--fliesstext); line-height: 27px;
}
.kontakt-text p { margin: 0 0 15px; }
.kontakt-bild { position: relative; overflow: hidden; }
.kontakt-bild img { position: absolute; left: 0; top: -15px; width: 1051px; max-width: none; height: auto; }

/* ---------- Impressum / Datenschutz ---------- */
.rechtstext h1 { margin-bottom: 8px; }
.rechtstext h2, .rechtstext h3 {
  font-size: var(--fliesstext); line-height: var(--zeilenhoehe);
  color: var(--gruen); font-weight: bold; margin: 0;
}
.impressum p { margin: 0; }
.impressum .absatz { margin-bottom: 9px; }
.impressum .leerzeile { height: 24px; }
.datenschutz h2 { margin: 6px 0 9px; }
.datenschutz ul { margin: 0 0 18px; padding-left: 17px; }
.datenschutz li { margin-bottom: 0; line-height: 24px; padding-left: 0; }
.datenschutz li::marker { color: #666; font-size: 11px; }
.datenschutz a { text-decoration: underline; word-break: break-word; }
.bildnachweis p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  height: 53px;
  background: linear-gradient(90deg, #97bb23 0%, #d5e415 39%, #d5e415 65%, #97bb23 100%);
  color: #fff; font-size: 11px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 var(--rand) 0 var(--rand);
}
.site-footer a { color: #fff; }
.site-footer nav a + a::before {
  content: ""; display: inline-block; width: 1px; height: 9px;
  background: rgba(255,255,255,.7); margin: 0 7px; vertical-align: -1px;
}
.site-footer .copy { margin-top: 3px; }
.site-footer nav { margin-top: -3px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1060px) {
  :root { --box: 100%; }
  body { padding-bottom: 0; }
  .wrap { width: 100%; }
}

@media (max-width: 989px) {
  .site-header .container { padding-left: 20px; padding-right: 20px; height: 90px; }
  .site-header { height: 93px; }
  .logo, .logo img { width: auto; height: 80px; }
  .burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px;
  }
  .burger span { display: block; height: 2px; background: #333; border-radius: 1px; transition: transform .2s, opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 93px;
    background: #fff; border-bottom: 3px solid var(--gruen); box-shadow: 0 6px 12px rgba(0,0,0,.08);
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav a { padding: 13px 20px; margin: 0; font-size: 16px; border-top: 1px solid #eee; }
  .nav li.suche { padding: 12px 20px; border-top: 1px solid #eee; }
  .search-toggle { display: none; }
  .search-box { display: block; position: static; width: 100%; box-shadow: none; border: 0; padding: 0; }
}

@media (max-width: 767px) {
  :root { --fliesstext: 14px; --rand: 20px; }
  h1, .h1 { font-size: 28px; }
  .content { padding-top: 28px; padding-bottom: 28px; }
  .bewertung h2 { font-size: 21px; }
  .bewertung .werte { font-size: 16px; }
  .sterne svg { width: 32px; height: 31px; }
  .stimmen { grid-template-columns: 1fr; padding: 40px 0 20px; }
  .stimme { grid-template-columns: 70px 1fr; padding: 0 0 20px 0; }
  .avatar { width: 54px; height: 54px; line-height: 54px; font-size: 34px; }
  .spalte .stimme:last-child { border-bottom: 1px solid #f2f2f2; }
  .dw-band { grid-template-columns: 1fr; padding: 30px 20px; gap: 18px; }
  .dw-band img { width: 260px; margin: 0 auto; }
  .dw-band p { padding: 0; }
  .info-band { padding: 40px 20px; }
  .info-band .spalten, .schritte .spalten { grid-template-columns: 1fr; gap: 34px; }
  .info hr { margin: 16px auto 12px; }
  .karte { height: 260px; }
  .person { grid-template-columns: 1fr; }
  .person img { width: 220px; height: 220px; margin: 10px auto 0; order: -1; }
  .logos { grid-template-columns: 1fr; gap: 10px; }
  .logos img { width: 260px; }
  .mitglied { grid-template-columns: 1fr; gap: 14px; }
  .kontakt-raster { grid-template-columns: 1fr; height: auto; }
  .kontakt-bild img { position: static; width: 100%; }
  .kontakt-titel { height: 100px; }
  .kontakt-text { padding: 46px 20px 30px; }
  .site-footer { height: auto; flex-direction: column; gap: 6px; padding: 14px 20px; text-align: center; }
  .site-footer nav, .site-footer .copy { margin: 0; }
  .zeiten .name { font-size: 16px; }
}

@media print {
  body { background: #fff; padding: 0; }
  .site-header { position: static; }
  .nav, .burger, .karte, .site-footer nav { display: none; }
  .wrap { width: 100%; }
}
