/* ============================================================
   Rechtsanwaltskanzlei Benecke & Knoth – temporäre statische Seite
   Branding der alten Site: Senfgelb #a39232, Navy #223856,
   Dunkelblau #153a6d, Arvo-Bold (Headlines), Open Sans (Fließtext)
   Mobile-first, keine Abhängigkeiten.
   ============================================================ */

:root {
  --gold: #a39232;
  --gold-light: #d8d2ab;
  --navy: #223856;
  --navy-dark: #153a6d;
  --blue-mid: #3f5a84;
  --ink: #333333;
  --ink-soft: #555f6e;
  --bg-light: #f2f5fa;
  --white: #ffffff;
  --border: #dde1eb;
  --font-head: "Arvo", Georgia, serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;
}

@font-face {
  font-family: "Arvo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Arvo-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/OpenSans-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/OpenSans-Bold.woff2") format("woff2");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px; /* Platz für sticky Header */
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

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

a { color: var(--navy-dark); text-decoration: none; }
a:hover { color: var(--gold); }

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* ---------- Banner „in Überarbeitung“ ---------- */
.banner {
  background: var(--gold);
  color: var(--white);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 400;
  padding: 8px 16px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 6px rgba(21, 58, 109, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.header__logo img { height: 46px; width: auto; }

.nav { display: none; }

.nav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.nav__list a {
  display: block;
  padding: 8px 12px;
  font-size: 0.95rem;
  color: var(--navy);
  border-radius: 4px;
}

.nav__list a:hover {
  color: var(--gold);
  background: var(--bg-light);
}

.header__phone {
  display: none;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-dark);
  font-size: 1.05rem;
  white-space: nowrap;
}

.header__phone:hover { color: var(--gold); }

@media (min-width: 900px) {
  .nav { display: block; }
  .header__phone { display: block; }
}

/* Hamburger (Mobile) */
.hamburger__input { display: none; }

.hamburger__label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger__line {
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
}

@media (min-width: 900px) {
  .hamburger__label { display: none; }
}

.nav--mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 16px rgba(21, 58, 109, 0.12);
  display: none;
}

.nav--mobile .nav__list {
  flex-direction: column;
  padding: 8px 0;
}

.nav--mobile .nav__list a { padding: 12px 6%; font-size: 1.05rem; }

.hamburger__input:checked ~ .nav--mobile { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("images/hero.jpg") center/cover no-repeat;
  opacity: 0.35;
}

.hero__inner {
  position: relative;
  text-align: center;
  padding: 64px 0 72px;
}

.hero__logo img {
  height: 92px;
  width: auto;
  margin: 0 auto 28px;
}

.hero__quote {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.hero__quote-author {
  font-size: 0.95rem;
  color: var(--white);
  opacity: 0.85;
  margin-bottom: 28px;
}

.hero__text {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.95;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 400;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s;
}

.button--gold {
  background: var(--gold);
  color: var(--white);
}

.button--gold:hover {
  background: #8f812b;
  color: var(--white);
}

.button--outline {
  border-color: var(--white);
  color: var(--white);
}

.button--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* ---------- Sektionen ---------- */
.section { padding: 56px 0; }
.section--light { background: var(--bg-light); }
.section--navy { background: var(--navy); color: var(--white); }

.section__title {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--navy-dark);
  text-align: center;
  margin-bottom: 10px;
}

.section--navy .section__title { color: var(--white); }

.section__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--gold);
  margin: 14px auto 0;
  border-radius: 2px;
}

.section__intro {
  max-width: 720px;
  margin: 22px auto 0;
  text-align: center;
  color: var(--ink-soft);
}

.section--navy .section__intro { color: rgba(255, 255, 255, 0.85); }

/* ---------- Kanzlei / Welcome ---------- */
.section__body {
  max-width: 820px;
  margin: 24px auto 0;
  text-align: center;
  color: var(--ink-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}

@media (min-width: 700px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 0 0 6px 6px;
  padding: 24px 28px;
}

.feature h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.feature p { color: var(--ink-soft); }

/* ---------- Rechtsanwälte ---------- */
.lawyer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 44px;
}

@media (min-width: 860px) {
  .lawyer-grid { grid-template-columns: 1fr 1fr; }
}

.lawyer {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lawyer__photo {
  width: 100%;
  aspect-ratio: 235 / 340;
  object-fit: cover;
  object-position: top center;
}

.lawyer__body { padding: 24px 26px 30px; }

.lawyer__title {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.lawyer__name {
  font-family: var(--font-head);
  font-size: 1.45rem;
  color: var(--navy-dark);
  margin-bottom: 14px;
}

.lawyer__areas-head {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
}

.lawyer__areas {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 18px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

@media (min-width: 860px) {
  .lawyer__areas { grid-template-columns: 1fr 1fr; }
}

.lawyer__areas li {
  padding-left: 18px;
  position: relative;
}

.lawyer__areas li::before {
  content: "›";
  position: absolute;
  left: 2px;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Leistungen ---------- */
.services {
  max-width: 860px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.service h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--navy-dark);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gold-light);
}

.service p { color: var(--ink-soft); }
.service p + p { margin-top: 10px; }

.service ul {
  margin: 12px 0 0 20px;
  color: var(--ink-soft);
}

.service li { margin-bottom: 4px; }
.service li ul { margin-top: 6px; }

/* ---------- Infocenter ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 800px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 30px;
}

.info-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.info-card__text { color: var(--ink-soft); margin-bottom: 16px; }

.info-card__cats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.info-card__cats li {
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--navy);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.85rem;
}

/* ---------- Nützliche Links ---------- */
.links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 40px;
}

@media (min-width: 700px) {
  .links-grid { grid-template-columns: 1fr 1fr; }
}

.links-group h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.links-group ul { list-style: none; }

.links-group li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.links-group a {
  color: var(--blue-mid);
}

.links-group a:hover { color: var(--gold); text-decoration: underline; }

/* ---------- Kontakt ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 40px;
  align-items: start;
}

@media (min-width: 860px) {
  .contact__grid { grid-template-columns: 5fr 7fr; }
}

.contact__address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-bottom: 12px;
  font-size: 1rem;
}

.contact__row .label {
  opacity: 0.8;
  min-width: 74px;
}

.contact__phone {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--gold-light);
  font-weight: 700;
}

.contact__phone:hover { color: var(--gold); }

.contact__cta { margin-top: 24px; }

.contact__info a:not(.button) {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--gold-light);
}

.contact__info a:not(.button):hover { color: var(--gold-light); }

.contact__map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 6px;
  display: block;
}

/* ---------- Impressum / Datenschutz ---------- */
.legal { padding: 56px 0; }

.legal__inner {
  max-width: 820px;
  margin: 0 auto;
}

.legal h1 {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.legal h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--gold);
  margin-top: 14px;
  border-radius: 2px;
}

.legal h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--navy-dark);
  margin: 34px 0 10px;
}

.legal h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 22px 0 8px;
  font-family: var(--font-body);
  font-weight: 700;
}

.legal p { color: var(--ink-soft); margin-bottom: 12px; }
.legal a { color: var(--blue-mid); text-decoration: underline; }
.legal ul { margin: 8px 0 14px 22px; color: var(--ink-soft); }
.legal li { margin-bottom: 4px; }

.legal__addr { line-height: 1.9; }

.legal__note {
  background: var(--bg-light);
  border-left: 4px solid var(--gold);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--ink);
  margin: 24px 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 40px 0 28px;
  font-size: 0.95rem;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 24px;
}

.footer__contact a {
  color: var(--white);
  margin-right: 20px;
}

.footer__contact a:hover { color: var(--gold-light); }

.footer__nav a {
  color: rgba(255, 255, 255, 0.85);
  margin-left: 20px;
}

.footer__nav a:hover { color: var(--gold-light); }

.footer__name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 4px;
}

.footer__address { line-height: 1.7; font-size: 0.9rem; opacity: 0.8; }

.footer__legal {
  margin-top: 18px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer__legal a { color: rgba(255, 255, 255, 0.7); }
.footer__legal a:hover { color: var(--gold-light); }