@charset "UTF-8";

/* Shared responsive skin for the established content pages. */
:root {
  --legacy-forest: #173c31;
  --legacy-deep: #0d2b23;
  --legacy-leaf: #6f8d54;
  --legacy-lime: #e3e36d;
  --legacy-paper: #fbfaf6;
  --legacy-cream: #f1eee3;
  --legacy-ink: #193229;
  --legacy-muted: #5c6b65;
  --legacy-line: rgba(25, 50, 41, .15);
  --legacy-serif: Georgia, "Times New Roman", serif;
  --legacy-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--legacy-cream); color: var(--legacy-ink); font-family: var(--legacy-sans); font-size: 16px; line-height: 1.65; }
body * { box-sizing: border-box; }
body #wrapper { position: relative; left: auto; top: auto; width: min(1180px, calc(100% - 40px)); min-height: 100vh; margin: 0 auto; background: var(--legacy-paper); box-shadow: 0 20px 60px rgba(19, 45, 36, .10); }

body #head { width: 100%; height: auto; min-height: 205px; position: relative; overflow: hidden; padding-top: 93px; background: radial-gradient(circle at 78% 0, rgba(227, 227, 109, .2), transparent 33%), linear-gradient(125deg, var(--legacy-deep), var(--legacy-forest)); }
body #head::before { content: "Am Hechtgraben e.V."; position: absolute; top: 23px; left: clamp(24px, 4vw, 52px); color: white; font-family: var(--legacy-serif); font-size: clamp(1.35rem, 2.5vw, 2rem); letter-spacing: -.035em; }
body #head::after { content: "Kleingartenverein · Berlin-Hohenschönhausen"; position: absolute; top: 60px; left: clamp(24px, 4vw, 52px); color: rgba(255,255,255,.58); font-size: .63rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
html.legacy-enhanced body #head::before, html.legacy-enhanced body #head::after { display: none; }
.legacy-brand { position: absolute; z-index: 3; top: 21px; left: clamp(24px, 4vw, 52px); display: inline-flex; align-items: center; gap: .75rem; color: white; text-decoration: none; }
.legacy-brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; }
.legacy-brand-mark svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.legacy-brand-mark circle { fill: var(--legacy-lime); stroke: var(--legacy-lime); }
.legacy-brand strong { display: block; font-family: var(--legacy-serif); font-size: clamp(1.25rem, 2.5vw, 2rem); font-weight: 400; letter-spacing: -.035em; line-height: 1; }
.legacy-brand small { display: block; margin-top: .34rem; color: rgba(255,255,255,.58); font-size: .59rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
body #navigation { width: 100%; height: auto; min-height: 112px; position: relative; top: auto; left: auto; display: grid; grid-template-columns: .67fr 1.13fr 1fr 1.05fr 1.3fr 1.15fr; gap: 0; padding: 17px clamp(20px, 3vw, 38px) 20px; background: rgba(4, 30, 23, .25); }
body #navigation ul, body #navigation ul[class] { width: auto !important; float: none; min-width: 0; padding: 0 clamp(.65rem, 1.4vw, 1.35rem); margin: 0; border-left: 1px solid rgba(255,255,255,.14); list-style: none; }
body #navigation ul:first-child { padding-left: 0; border-left: 0; }
body #navigation li { margin: 0; color: rgba(255,255,255,.55); font-size: .68rem; line-height: 1.5; }
body #navigation li:first-child { margin-bottom: .35rem; color: var(--legacy-lime); font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
body #navigation li a, body #navigation li.on { height: auto; min-height: 0; display: block; padding: .1rem 0; color: rgba(255,255,255,.85); background: transparent; font-size: .76rem; line-height: 1.55; text-indent: 0; text-decoration: none; }
body #navigation li a:hover, body #navigation li a:focus-visible { color: var(--legacy-lime); background: transparent; outline: 0; }
body #navigation li.on { color: var(--legacy-lime); font-weight: 750; }

body #content { width: 100%; min-height: 460px; position: relative; left: auto; top: auto; display: flow-root; padding: 0 clamp(24px, 4.5vw, 64px) clamp(3.5rem, 7vw, 6rem); background: var(--legacy-paper); }
body #headline { width: 100%; height: auto; position: relative; left: auto; top: auto; float: none; padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2.2rem, 4vw, 3.6rem); }
body #headline h1 { margin: 0; padding: 0; color: var(--legacy-ink); font-family: var(--legacy-serif); font-size: clamp(2.6rem, 5.3vw, 5rem); font-weight: 400; letter-spacing: -.055em; line-height: .95; }
body #headline h1 span { color: var(--legacy-leaf); font-family: var(--legacy-serif) !important; font-size: .48em; font-weight: 400; }
html.legacy-enhanced body #headline h1 img { display: none; }

body #links, body #linksff, body #rechts, body #rechtsff { width: calc(50% - 1.25rem); position: relative; left: auto; right: auto; top: auto; min-height: 0; }
body #links, body #linksff { float: left; }
body #rechts, body #rechtsff { float: right; }
body #breit { width: 100%; position: relative; left: auto; top: auto; float: none; padding: 0; }
body .box, body .boxo { width: 100%; position: relative; right: auto; top: auto; padding: 0; background: none; }
body .box { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--legacy-line); }
body .boxo { margin-bottom: 2rem; }
body #content p, body #breit p { max-width: 73ch; padding: 0; margin: 0 0 1.2rem; color: var(--legacy-muted); line-height: 1.75; }
body #content a, body #breit a { color: var(--legacy-forest); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(23,60,49,.35); text-underline-offset: 3px; }
body #content a:hover, body #breit a:hover { color: var(--legacy-leaf); text-decoration-color: currentColor; }
body #content h2, body #breit h2 { margin: clamp(2.5rem, 5vw, 4rem) 0 1.1rem; padding: 0; color: var(--legacy-ink); font-family: var(--legacy-serif); font-size: clamp(1.75rem, 3vw, 2.55rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.1; }
body #content h3, body #breit h3 { margin: 2.2rem 0 .8rem; padding: 0; color: var(--legacy-forest); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
body #content ul, body #breit ul { margin: 0 0 1.4rem 1.2rem; padding: 0; }
body #content li, body #breit li { padding: .25rem 0; line-height: 1.65; }
body #content img { max-width: 100%; height: auto; padding: 0; }
body img.rahmen { border: 8px solid white; border-radius: .5rem; box-shadow: 0 17px 35px rgba(23, 50, 41, .16); }
body #content fieldset { max-width: 760px; margin: 1.4rem 0 2rem; padding: 1.3rem 1.4rem .7rem; background: #edf0d9; border: 0; border-left: 4px solid var(--legacy-leaf); }

body #breit table, body #content table { width: 100% !important; max-width: 100%; margin: 1.5rem 0 2.7rem; padding: 0; border-collapse: collapse; border-spacing: 0; font-size: .88rem; }
body #breit th, body #content th { padding: .8rem 1rem; color: var(--legacy-paper); border: 0; background: var(--legacy-forest); font-size: .66rem; font-weight: 800; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; text-align: left; }
body #breit td, body #content td { padding: .85rem 1rem; color: var(--legacy-muted); border: 0; border-bottom: 1px solid var(--legacy-line); line-height: 1.5; vertical-align: top; }
body #breit tr:nth-child(even) td, body #content tr:nth-child(even) td { background: rgba(111,141,84,.06); }
body #breit tr:hover td, body #content tr:hover td { background: rgba(227,227,109,.24); }
body #lage img { float: none; }

body #footer { width: 100%; height: auto; min-height: 0; position: relative; left: auto; top: auto; float: none; padding: 3.4rem 2rem 2rem; color: rgba(255,255,255,.7); background: var(--legacy-deep); }
body #footer p { margin: 0 0 .75rem; padding: 0; font-size: .73rem; line-height: 1.6; text-align: center; }
body #footer a { margin: 0 .6rem; color: rgba(255,255,255,.82); text-decoration: none; }
body #footer a:hover { color: var(--legacy-lime); }

.legacy-menu-toggle { display: none; }

@media (max-width: 920px) {
  body #wrapper { width: min(100%, 760px); }
  body #navigation { grid-template-columns: repeat(3, 1fr); row-gap: 1.1rem; }
  body #navigation ul:nth-child(4) { border-left: 0; padding-left: 0; }
}

@media (max-width: 620px) {
  body #wrapper { width: 100%; }
  body #head { min-height: 85px; padding-top: 85px; }
  body #head::before { top: 21px; left: 24px; font-size: 1.4rem; }
  body #head::after { display: none; }
  .legacy-brand { top: 22px; left: 24px; }
  .legacy-brand-mark { width: 37px; height: 37px; }
  .legacy-brand strong { font-size: 1.27rem; }
  .legacy-brand small { display: none; }
  .legacy-menu-toggle { width: 43px; height: 43px; display: grid; place-items: center; position: absolute; z-index: 3; top: 19px; right: 20px; padding: 0; color: white; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; cursor: pointer; }
  .legacy-menu-toggle span { width: 17px; height: 1px; display: block; margin: 3px 0; background: currentColor; transition: transform .2s, opacity .2s; }
  body #navigation { display: none; grid-template-columns: 1fr 1fr; gap: 1.1rem 0; padding: 1.4rem 24px 1.8rem; background: var(--legacy-deep); }
  body.nav-open #navigation { display: grid; }
  body #navigation ul, body #navigation ul[class] { padding: 0 .7rem; border-left: 1px solid rgba(255,255,255,.14); }
  body #navigation ul:nth-child(odd) { padding-left: 0; border-left: 0; }
  body.nav-open .legacy-menu-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  body.nav-open .legacy-menu-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .legacy-menu-toggle span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  body #content { padding: 0 24px 3.7rem; }
  body #headline { padding: 3.25rem 0 2.4rem; }
  body #headline h1 { font-size: clamp(2.45rem, 12.5vw, 4rem); }
  body #links, body #linksff, body #rechts, body #rechtsff { width: 100%; float: none; }
  body #breit { overflow-x: auto; }
  body #breit table, body #content table { min-width: 560px; }
  body #content p, body #breit p { font-size: .96rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
