/* =========================================================
   0) BASE / RESET (global)
========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background:#fff;          /* Standard-Hintergrund */
  color:#111;
}

img { max-width: 100%; display:block; }
a { color: inherit; }

/* =========================================================
   1) TOKENS / VARIABLEN (global)
========================================================= */
:root{
  --green:#2F5C34;
  --dark:#1a2e1b;
  --accent:#F4D03F;

  --muted:#666;
  --line: rgba(17,24,39,0.12);
  --border: rgba(0,0,0,0.08);

  --shadow: 0 20px 55px rgba(0,0,0,0.10);
  --radius: 20px;
  --container: 1120px;
}

/* =========================================================
   2) LAYOUT / WRAPPER
   HTML: .container, .section, .bg-light
========================================================= */
.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section{ padding: 90px 0; }
.bg-light{ background: #f6f7f8; }

.section-title{
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin: 0 0 10px 0;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-align: center;
}
.section-subtitle{
  margin: 0 auto 45px auto;
  max-width: 800px;
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}
.section-subtitle-narrow{ max-width: 600px; }

.muted{ color: var(--muted); line-height: 1.6; }

/* =========================================================
   3) HEADER / NAVIGATION
   HTML: header.header -> .header-content, .logo-area, .nav-links
========================================================= */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-content{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.logo-area{
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-wrap{
  width: 100px;
  height: 100px;
}

.logo-img{
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.brand-name{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 1.4rem;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-link{
  text-decoration: none;
  font-weight: 700;
  color: #222;
  padding: 10px 10px;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-link:hover{
  background: rgba(47,92,52,0.08);
  color: var(--green);
}
.nav-link.is-active{
  background: rgba(244,208,63,0.25);
  color: #111;
}

/* Mobile Nav */
.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
}
.nav-toggle span{
  display: block;
  height: 2px;
  width: 18px;
  background: #111;
  margin: 4px auto;
  border-radius: 2px;
}
.mobile-nav{
  display: none;
  border-top: 1px solid var(--border);
  padding: 10px 0 14px 0;
}
.mobile-nav a{
  display:block;
  margin: 6px 0;
}
.mobile-nav.is-open{ display:block; }

.mobile-nav{ display:none; }
.mobile-nav.is-open{ display:block; }

/* ==============================
   IMPRESSUM im Nachlass-Style
============================== */
.impressum-page{
  background:#f4f7f5;           /* wie nachlass-section */
  padding: 90px 0;
}

.impressum-head{
  margin-bottom: 18px;
}

.impressum-title{
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.06;
  font-weight: 900;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.impressum-sub{
  margin: 0;
  color: #111827;
  opacity: .75;
  line-height: 1.6;
}

/* Card wie process-card / content-box */
.impressum-card{
  background:#fff;
  border-radius: 20px;
  padding: 34px 28px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.10);
  border: 1px solid rgba(17,24,39,0.08);
}

.impressum-h2{
  margin: 0 0 18px 0;
  font-size: 1.25rem;
  font-weight: 900;
}

.impressum-h3{
  margin: 22px 0 8px 0;
  font-size: 1rem;
  font-weight: 900;
}

.impressum-card p{
  margin: 0;
  line-height: 1.7;
  color: #111827;
}

.impressum-block p{
  line-height: 1.7;
}

.impressum-divider{
  border: 0;
  height: 1px;
  background: rgba(17,24,39,0.10);
  margin: 22px 0;
}

/* Hinweisbox im grünen Stil wie section-closing */
.impressum-note{
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(22,101,52,0.10);
  border: 1px solid rgba(22,101,52,0.18);
  color: #166534;
  font-weight: 700;
  line-height: 1.6;
}

/* Link im Grün */
.impressum-link{
  color: #166534;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px dashed rgba(22,101,52,0.5);
}
.impressum-link:hover{
  border-bottom-style: solid;
}

/* Zurück-Button im gelb (Accent) */
.impressum-back{
  display:inline-block;
  margin-top: 16px;
  background: rgba(244,208,63,0.30);
  border: 1px solid rgba(244,208,63,0.60);
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 900;
  text-decoration: none;
  color: #111827;
  transition: transform .15s ease, background .15s ease;
}
.impressum-back:hover{
  transform: translateY(-2px);
  background: rgba(244,208,63,0.40);
}

.impressum-page{
background:#f4f7f5;
padding:90px 0;
}

.impressum-page .nachlass-wrapper{
max-width:1120px;
margin:0 auto;
padding:0 16px;
}

@media (max-width: 520px){
  .impressum-card{ padding: 22px 16px; }
}