@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
}

:root {
  /* ALSO e.V. – Waldgrün + Orange */
  --color-accent:      #2d6a4f;
  --color-accent-dark: #1e4d38;
  --color-cta:         #e8650a;
  --color-cta-dark:    #c4540a;
  --color-black:       #1a1a1a;
  --color-white:       #fff;
  --color-grey:        #5a6b64;
  --color-light:       #f0e9e0;
  --color-border:      #d4c4b5;
  --color-background:  #fdf8f3;

  --color-text:        var(--color-black);
  --color-text-grey:   var(--color-grey);

  --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;

  --radius: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
  --padding: 1.5rem;
}

html {
  font-family: var(--font-family-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-background);
  -webkit-font-smoothing: antialiased;
}
img {
  width: 100%;
  display: block;
}
body {
  padding: 0;
  max-width: 100%;
}

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 var(--padding);
}
li {
  list-style: none;
}
a {
  color: currentColor;
  text-decoration: none;
}
button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}
strong, b {
  font-weight: 600;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}

.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: .5rem var(--padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  min-width: 0;
}
.header-tools {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex-shrink: 0;
}

.logo {
  flex-shrink: 0;
}
.logo-img {
  height: 8rem;
  width: auto;
  display: block;
}

.header-nav-group {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  min-width: 0;
}

.header-tagline {
  display: block;
  font-size: .65rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  padding-left: .5rem;
}

@media screen and (min-width: 60rem) {
  .header-tagline {
    font-size: .85rem;
    padding: .5rem 0 0 .4rem;
    border-top: 2px solid var(--color-accent);
    margin-top: .25rem;
  }
}

.menu {
  display: flex;
  gap: .125rem;
  flex-wrap: wrap;
}
.menu a {
  padding: .4rem .6rem;
  border-radius: var(--radius);
  font-size: .875rem;
  color: var(--color-grey);
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.menu a:hover {
  color: var(--color-text);
  background: var(--color-light);
}
.menu a[aria-current] {
  color: var(--color-accent);
  font-weight: 600;
  background: none;
}

.social {
  display: flex;
  padding: 0 .5rem;
}
.social a {
  padding: 1rem .5rem;
}

.section {
  padding: 3rem 0;
}

.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid > .column {
  margin-bottom: var(--gutter);
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.text {
  line-height: 1.5em;
}
.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}
.text ul,
.text ol {
  padding-left: 1.5rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  list-style: disc;
}
.text ol > li {
  list-style: decimal;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}
.text h1,
.h1,
.intro {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.2;
  margin-bottom: 2rem;
}
.text h2,
.h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: normal;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.text h3,
.h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: .75rem;
}
.text .codeblock {
  display: grid;
}
.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 .5rem;
  display: inline-block;
  color: var(--color-black);
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-black);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
}
.text figure {
  margin: 3rem 0;
}
.text figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}
.text figure ul {
  line-height: 0;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.text figure ul li {
  list-style: none;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

.align-center {
  text-align: center;
}

.intro {
  max-width: 40rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  padding-top: .75rem;
  line-height: 1.5em;
}

.footer {
  padding: 9rem 0 6rem;
  line-height: 1.5em;
}
.footer:before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-black);
  margin-bottom: 1.5rem;
}

.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
}
.footer ul,
.footer p {
  color: var(--color-text-grey);
}
.footer p {
  max-width: 15rem;
}
.footer a:hover {
  color: var(--color-text);
}


.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}
.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: .75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 4.5rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}


@media screen and (min-width: 60rem) {
  :root {
    --padding: 3rem;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span 12;
    margin-bottom: 0;
  }

  .grid > .col-1  { grid-column: span 1; }
  .grid > .col-2  { grid-column: span 2; }
  .grid > .col-3  { grid-column: span 3; }
  .grid > .col-4  { grid-column: span 4; }
  .grid > .col-5  { grid-column: span 5; }
  .grid > .col-6  { grid-column: span 6; }
  .grid > .col-7  { grid-column: span 7; }
  .grid > .col-8  { grid-column: span 8; }
  .grid > .col-9  { grid-column: span 9; }
  .grid > .col-10 { grid-column: span 10; }
  .grid > .col-11 { grid-column: span 11; }
  .grid > .col-12 { grid-column: span 12; }

}

.pagination {
  display: flex;
  padding-top: 6rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.note-excerpt {
  line-height: 1.5em;
}
.note-excerpt header {
  margin-bottom: 1.5rem;
}
.note-excerpt figure {
  margin-bottom: .5rem;
}
.note-excerpt-title {
  font-weight: 600;
}
.note-excerpt-date {
  color: var(--color-text-grey);
}

/* Hero – volle Breite */
.hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  background: var(--color-light);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px);
  scale: 1.05;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem var(--padding);
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 100%);
  width: 100%;
  color: #fff;
}
.hero-content-inner {
  max-width: 72rem;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: .75rem;
}
.hero-content p {
  font-size: 1.1rem;
  opacity: .9;
  margin-bottom: 1.5rem;
  max-width: 40rem;
}
.hero-content .button {
  background: #fff;
  color: var(--color-accent);
}
.hero-content .button:hover {
  background: rgba(255,255,255,.85);
}

/* Ohne Hero-Bild */
.hero:not(:has(img)) .hero-content {
  background: none;
  color: var(--color-text);
  padding: 3rem 2.5rem;
}
.hero:not(:has(img)) .hero-content h1 {
  color: var(--color-text);
}
.hero:not(:has(img)) .hero-content p {
  opacity: 1;
  color: var(--color-grey);
}
.hero:not(:has(img)) .hero-content .button {
  background: var(--color-accent);
  color: var(--color-white);
}

/* Seitenintro */
.intro {
  margin-bottom: 3rem;
}
.intro h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.2;
  margin-bottom: .75rem;
}
.intro p {
  font-size: 1.1rem;
  color: var(--color-grey);
  max-width: 42rem;
}

/* Teaser-Abschnitt */
.teaser {
  background: var(--color-light);
  border-radius: var(--radius);
  padding: 3rem;
  margin: 3rem 0;
}
.teaser h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.teaser p {
  color: var(--color-grey);
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

/* Leistungen */
.leistungen-liste {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin-top: 1rem;
}
.leistung {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.leistung img {
  width: 3rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.leistung h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}
.leistung p {
  color: var(--color-grey);
  font-size: .95rem;
  line-height: 1.6;
}

/* Referenzen */
.referenzen-liste {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}
.referenz {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow);
}
.referenz img {
  height: 12rem;
  object-fit: cover;
}
.referenz h2,
.referenz p {
  padding: 0 1.5rem;
}
.referenz h2 {
  font-size: 1.05rem;
  font-weight: 700;
  padding-top: 1.25rem;
  padding-bottom: .25rem;
}
.referenz p {
  color: var(--color-grey);
  font-size: .9rem;
  padding-bottom: 1.25rem;
}

/* OpenStreetMap */
.osm-karte {
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.osm-karte iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}
.osm-karte a {
  display: block;
  padding: .5rem .75rem;
  font-size: .85rem;
  color: var(--color-grey);
  text-align: right;
  background: var(--color-light);
}
.osm-karte a:hover {
  color: var(--color-accent);
}

/* Footer */
.footer {
  margin-top: 6rem;
  border-top: 1px solid var(--color-border);
  font-size: .9rem;
  color: var(--color-grey);
}
.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem var(--padding) 2rem;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.footer-col {
  min-width: 10rem;
}
.footer-brand {
  margin-left: auto;
}
.footer h2 {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-grey);
  margin-bottom: 1rem;
}
.footer ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer strong {
  display: block;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: .5rem;
}
.footer p {
  max-width: 14rem;
}
.footer a:hover {
  color: var(--color-accent);
}

/* Dark Mode – automatisch per OS-Einstellung */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-accent:      #4a9970;
    --color-accent-dark: #3d8060;
    --color-cta:         #e8650a;
    --color-cta-dark:    #c4540a;
    --color-black:       #f0ede8;
    --color-white:       #1a2420;
    --color-grey:        #9ab3a8;
    --color-light:       #243028;
    --color-border:      #3a4e46;
    --color-background:  #1a2420;
    --color-text:        #f0ede8;
    --color-text-grey:   #9ab3a8;
    --shadow: 0 1px 3px rgba(0,0,0,.3), 0 4px 12px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}

/* Dark Mode – manuell per Toggle */
:root[data-theme="dark"] {
  --color-accent:      #4a9970;
  --color-accent-dark: #3d8060;
  --color-cta:         #e8650a;
  --color-cta-dark:    #c4540a;
  --color-black:       #f0ede8;
  --color-white:       #1a2420;
  --color-grey:        #9ab3a8;
  --color-light:       #243028;
  --color-border:      #3a4e46;
  --color-background:  #1a2420;
  --color-text:        #f0ede8;
  --color-text-grey:   #9ab3a8;
  --shadow: 0 1px 3px rgba(0,0,0,.3), 0 4px 12px rgba(0,0,0,.25);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]),
  :root[data-theme="dark"] {
    .form-field input,
    .form-field textarea,
    .form-field select {
      color: var(--color-text);
      background: var(--color-light);
      border-color: var(--color-border);
    }
    .alert--success {
      background: #0d3320;
      color: #6ee7a0;
    }
    .alert--error {
      background: #3a1219;
      color: #fca5a5;
    }
  }
}
:root[data-theme="dark"] {
  .form-field input,
  .form-field textarea,
  .form-field select {
    color: var(--color-text);
    background: var(--color-light);
    border-color: var(--color-border);
  }
  .alert--success {
    background: #0d3320;
    color: #6ee7a0;
  }
  .alert--error {
    background: #3a1219;
    color: #fca5a5;
  }
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.4rem;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  font-family: inherit;
  transition: background .15s, transform .1s;
  text-decoration: none;
}
.button:hover {
  background: var(--color-accent-dark);
  color: var(--color-white);
}

/* CTA-Button (Orange) */
.button-cta {
  background: var(--color-cta);
  color: #fff;
}
.button-cta:hover {
  background: var(--color-cta-dark);
  color: #fff;
}

/* Dark Mode Toggle */
.darkmode-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-grey);
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.darkmode-toggle:hover {
  background: var(--color-light);
  color: var(--color-text);
}
.darkmode-toggle svg {
  width: 1.1rem;
  height: 1.1rem;
  pointer-events: none;
}
.darkmode-toggle .icon-sun { display: none; }
.darkmode-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .darkmode-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .darkmode-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .darkmode-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .darkmode-toggle .icon-moon { display: none; }
}

/* Sprachumschalter */
.lang-switcher {
  position: relative;
}
.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .6rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  font-size: .875rem;
  font-weight: 500;
  color: var(--color-grey);
  transition: background .15s, color .15s;
  cursor: pointer;
}
.lang-switcher-btn:hover {
  background: var(--color-light);
  color: var(--color-text);
}
.lang-switcher-btn svg {
  width: .9rem;
  height: .9rem;
  opacity: .6;
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 12rem;
  z-index: 200;
  padding: .375rem 0;
}
.lang-dropdown.is-open {
  display: block;
}
.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  font-size: .9rem;
  color: var(--color-grey);
  transition: background .1s, color .1s;
}
.lang-dropdown a:hover,
.lang-dropdown a[aria-current] {
  background: var(--color-light);
  color: var(--color-text);
}
.lang-dropdown a[aria-current] {
  font-weight: 600;
  color: var(--color-accent);
}
.lang-code {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-grey);
  min-width: 1.75rem;
}

/* RTL-Unterstützung */
[dir="rtl"] .header {
  flex-direction: row-reverse;
}
[dir="rtl"] .menu {
  flex-direction: row-reverse;
}
[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}
[dir="rtl"] .text blockquote {
  border-left: 0;
  border-right: 2px solid var(--color-black);
  padding-left: 0;
  padding-right: 1rem;
}

/* Skip Navigation (Barrierefreiheit) */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-accent);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  z-index: 999;
  transition: top .15s;
}
.skip-nav:focus {
  top: 0;
}

/* Beratungszeiten-Karte – volle Breite */
.beratungszeiten {
  background: var(--color-accent);
  color: #fff;
  padding: 3rem var(--padding);
  margin: 0;
}
.beratungszeiten-inner {
  max-width: 72rem;
  margin: 0 auto;
}
.beratungszeiten h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  opacity: .85;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .8rem;
}
.beratungszeiten p {
  font-size: 1.1rem;
  line-height: 1.6;
}
.beratungszeiten .button {
  margin-top: 1.5rem;
  background: #fff;
  color: var(--color-accent);
}
.beratungszeiten .button:hover {
  background: var(--color-light);
}

/* Termine-Vorschau auf Homepage */
.termine-vorschau {
  margin: 4rem auto;
}
.termine-vorschau .termin-liste {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0 0;
}
@media screen and (min-width: 48rem) {
  .termine-vorschau .termin-liste {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Blog-Vorschau (3 Beiträge) */
.blog-preview {
  margin: 4rem auto;
}
.blog-preview-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.blog-preview-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.blog-preview-header a {
  font-size: .9rem;
  color: var(--color-accent);
  text-decoration: underline;
}
.blog-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}
.blog-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow);
  transition: box-shadow .15s, transform .15s;
}
.blog-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  transform: translateY(-2px);
}
.blog-card-body {
  padding: 1.5rem;
}
.blog-card-date {
  font-size: .8rem;
  color: var(--color-grey);
  margin-bottom: .5rem;
}
.blog-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--color-text);
  letter-spacing: -.01em;
}
.blog-card-excerpt {
  font-size: .9rem;
  color: var(--color-grey);
  line-height: 1.6;
}
.blog-card-img {
  height: 11rem;
  object-fit: cover;
}

/* Termine */
.termin-liste {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}
.termin {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  background: var(--color-white);
}
.termin-datum {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.5rem;
  color: var(--color-accent);
  font-weight: 700;
}
.termin-datum .tag {
  font-size: 1.75rem;
  line-height: 1;
}
.termin-datum .monat {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.termin-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .25rem;
}
.termin-info p {
  font-size: .9rem;
  color: var(--color-grey);
}


/* Seiten-Intro */
.page-intro {
  padding: 4rem 0 3rem;
}
.page-intro h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: .75rem;
}
.page-lead {
  font-size: 1.15rem;
  color: var(--color-grey);
  max-width: 44rem;
  line-height: 1.6;
}
.hinweis-sprache {
  margin-top: .75rem;
  font-size: .9rem;
  color: var(--color-grey);
  font-style: italic;
}

/* Info-Kästen */
.info-kasten {
  background: var(--color-light);
  border-radius: var(--radius);
  padding: 2rem;
}
.info-kasten h2 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .8rem;
  color: var(--color-grey);
  margin-bottom: 1rem;
}
.info-kasten--gruen {
  background: color-mix(in srgb, var(--color-accent) 12%, transparent);
  border-left: 3px solid var(--color-accent);
}

/* Beitrag */
.beitrag-header {
  padding: 4rem 0 2rem;
  max-width: 48rem;
}
.beitrag-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  margin: .5rem 0 1rem;
}
.beitrag-cover {
  margin: 0 0 3rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.beitrag-text {
  max-width: 48rem;
}
.beitrag-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.zurueck {
  color: var(--color-accent);
  font-weight: 500;
}
.zurueck:hover {
  text-decoration: underline;
}

/* Downloads */
.download-liste {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.download-item a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color .15s, background .15s;
}
.download-item a:hover {
  border-color: var(--color-accent);
  background: var(--color-light);
}
.download-icon {
  font-size: 1.1rem;
  color: var(--color-cta);
  font-weight: 700;
}

/* Kontakt-Layout */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
}
@media screen and (min-width: 48rem) {
  .kontakt-grid {
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
  }
}
.kontakt-liste {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.kontakt-liste li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.kontakt-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.kontakt-liste strong {
  display: block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-grey);
  margin-bottom: .2rem;
}
.kontakt-liste a {
  color: var(--color-text);
  text-decoration: none;
}
.kontakt-liste a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}
.oeffnungszeiten {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.oeffnungszeiten td {
  padding: .375rem 0;
  vertical-align: top;
}
.oeffnungszeiten td:first-child {
  color: var(--color-grey);
  padding-right: 1.5rem;
  white-space: nowrap;
}
.osm-karte {
  margin: 0 0 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.osm-karte iframe {
  display: block;
  width: 100%;
  height: 18rem;
  border: none;
}
.osm-karte a {
  display: block;
  padding: .6rem 1rem;
  font-size: .85rem;
  color: var(--color-grey);
  border-top: 1px solid var(--color-border);
  text-decoration: none;
}
.osm-karte a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Formular */
.kontakt-formular {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}
.form-field label {
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-text);
}
.form-field input,
.form-field textarea,
.form-field select {
  padding: .625rem .875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-background);
  color: var(--color-text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .15s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 15%, transparent);
}
.form-field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: .625rem;
}
.form-field--checkbox input[type="checkbox"] {
  margin-top: .2rem;
  flex-shrink: 0;
  accent-color: var(--color-accent);
  width: 1rem;
  height: 1rem;
}
.form-field--checkbox label {
  font-size: .875rem;
  font-weight: 400;
  color: var(--color-grey);
  line-height: 1.5;
}
.form-field--checkbox label a {
  color: var(--color-accent);
  text-decoration: underline;
}
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: .95rem;
}
.alert--success {
  background: color-mix(in srgb, var(--color-accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-accent) 30%, transparent);
  color: var(--color-accent);
}
.alert--error {
  background: color-mix(in srgb, #c0392b 8%, transparent);
  border: 1px solid color-mix(in srgb, #c0392b 25%, transparent);
  color: #c0392b;
}
.alert ul {
  list-style: disc;
  padding-left: 1.25rem;
}
.alert ul li + li {
  margin-top: .25rem;
}

/* Hamburger-Button */
.hamburger {
  display: none;
  background: none;
  border: none;
  padding: .375rem;
  cursor: pointer;
  color: var(--color-text);
  border-radius: var(--radius);
  transition: background .15s;
}
.hamburger:hover {
  background: var(--color-light);
}
.hamburger svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}
.hamburger .hamburger-close { display: none; }
.hamburger[aria-expanded="true"] .hamburger-open  { display: none; }
.hamburger[aria-expanded="true"] .hamburger-close { display: block; }

/* Mobile Navigation + Header */
@media screen and (max-width: 59.99rem) {
  .logo-img {
    height: 5rem;
  }
  .hamburger {
    display: flex;
    order: 3;
  }

  .header-left {
    flex: 1;
  }

  .menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: var(--color-background);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem var(--padding) 2rem;
    gap: .25rem;
    overflow-y: auto;
  }
  .menu.menu--open {
    display: flex;
  }
  .menu a {
    font-size: 1.2rem;
    padding: .625rem .75rem;
    width: 100%;
    border-radius: var(--radius);
  }
  .menu a:hover {
    background: var(--color-light);
  }

  /* Sprachswitcher und Darkmode bleiben sichtbar, aber kompakt */
  .lang-switcher-btn span:not(.lang-code) { display: none; }
}

[dir="rtl"] .menu.menu--open {
  text-align: right;
}
