/* Auffrischung 2026 – liegt über dem bisherigen YOOtheme-Stil (theme.9.css, custom.css) */

@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --wne-gruen: #95c11f;
  --wne-gruen-dunkel: #4c6b0a;
  --wne-text: #1f2a1c;
  --wne-hell: #f1f6e3;
}

/* Schrift und Überschriften */
html { font-family: 'Manrope', Roboto, sans-serif; color: var(--wne-text); }
h1, h2, h3, h4, h5, h6,
.uk-h1, .uk-h2, .uk-h3, .uk-h4,
.uk-heading-medium, .uk-article-title, .uk-text-lead, .uk-navbar-nav > li > a, .uk-nav a {
  font-family: 'Manrope', Roboto, sans-serif;
  text-transform: none;
}
h1, h2, h3, .uk-h1, .uk-h2, .uk-h3, .uk-article-title { font-weight: 750; letter-spacing: -0.02em; }
h4, .uk-h4 { font-weight: 700; letter-spacing: -0.01em; }
.uk-text-lead { font-weight: 500; line-height: 1.6; }
.uk-text-lead h4 { margin-top: 1.4em; }
#tm-main .el-content p, #tm-main .uk-text-lead p, #tm-main .uk-text-lead li { max-width: 68ch; }
.el-meta.uk-text-meta { text-transform: none; letter-spacing: 0; font-size: 18px; }

/* Knöpfe */
.wne-knopf,
.uk-button-primary {
  display: inline-block;
  padding: 0 26px;
  line-height: 50px;
  border: 0;
  border-image: none;
  border-radius: 999px;
  background: var(--wne-gruen);
  color: #18210c !important;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none !important;
  transition: background-color .15s, transform .15s;
}
.wne-knopf:hover, .uk-button-primary:hover { background: #a6d42a; transform: translateY(-1px); }
.wne-knopf--hell { background: rgba(255, 255, 255, .16); color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); backdrop-filter: blur(6px); }
.wne-knopf--hell:hover { background: rgba(255, 255, 255, .28); }

/* Kopfzeile: Login als Knopf rechts */
.tm-header .uk-navbar-center { position: static; transform: none; flex: 1; margin-left: 24px; }
.tm-header .uk-navbar-left { width: auto; }
.tm-header .uk-navbar-nav { width: 100%; }
.tm-header .uk-navbar-nav > li { width: auto; }
.tm-header .uk-navbar-nav > li > a { width: auto; font-weight: 600; }
.tm-header .uk-navbar-nav > li.wne-login { order: 1; margin-left: auto; align-self: center; }
.tm-header .uk-navbar-nav > li.wne-login > a {
  min-height: 0;
  line-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--wne-gruen);
  color: #18210c !important;
  font-weight: 700;
}
.tm-header .uk-navbar-nav > li.wne-login > a::before { display: none; }
.tm-header .uk-navbar-nav > li.wne-login > a:hover { background: #a6d42a; }

/* Titelbild */
.wne-hero { position: relative; min-height: min(100vh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
.wne-hero picture, .wne-hero-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wne-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 8, .45) 0%, rgba(10, 20, 8, 0) 30%, rgba(10, 20, 8, .15) 50%, rgba(10, 20, 8, .78) 100%); }
.wne-hero-inhalt { position: relative; z-index: 1; width: 100%; padding-top: 180px; padding-bottom: 72px; }
.wne-hero h1 { margin: 0; max-width: 14ch; font-size: clamp(40px, 6.2vw, 84px); line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.wne-hero-text { max-width: 54ch; margin: 22px 0 30px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: rgba(255, 255, 255, .92); }
.wne-hero-knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }

/* Kennzahlen */
.wne-zahlen { background: var(--wne-text); color: #fff; }
.wne-zahlen dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 38px 0; }
.wne-zahlen dl > div { border-left: 3px solid var(--wne-gruen); padding-left: 20px; }
.wne-zahlen dt { font-size: clamp(34px, 4vw, 54px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.wne-zahlen dd { margin: 4px 0 0; font-size: 17px; color: rgba(255, 255, 255, .75); }
@media (max-width: 640px) {
  .wne-zahlen dl { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
}

/* Ruhigere Flächen: heller Abschnitt statt Vollgrün, Bilder ohne harten Schatten */
.wne-hell { background: var(--wne-hell); }
.uk-box-shadow-bottom::after { display: none; }
#tm-main .el-image.uk-border-rounded { border-radius: 20px; box-shadow: 0 28px 50px -28px rgba(31, 42, 28, .45); }
.wne-hell h3.el-title::before { content: ""; display: block; width: 56px; height: 4px; margin-bottom: 18px; border-radius: 2px; background: var(--wne-gruen); }

/* Karte */
#page\#4 .leaflet-tile-pane { filter: grayscale(.55) brightness(1.03); }
#page\#4 img.leaflet-marker-icon { content: url('/images/karte/marker.svg'); }
#page\#4 .leaflet-popup-content-wrapper { border-radius: 16px; box-shadow: 0 18px 40px -16px rgba(31, 42, 28, .45); }
#page\#4 .leaflet-popup-content { margin: 18px 22px; font-family: 'Manrope', Roboto, sans-serif; font-size: 15px; line-height: 1.6; color: var(--wne-text); }
#page\#4 .leaflet-popup-content h4 { margin: 0; font-size: 20px; font-weight: 800; color: var(--wne-gruen-dunkel); }
#page\#4 .leaflet-popup-content .el-title { margin: 0; }
#page\#4 .leaflet-popup-content .el-content { margin-top: 8px !important; }
#page\#4 .leaflet-popup-content p { margin: 0; }
#page\#4 .leaflet-popup-content strong { font-weight: 600; color: #5c6658; }

/* Schmale Bildschirme */
@media (max-width: 480px) {
  .wne-hero-inhalt { padding-bottom: 44px; }
  .wne-hero h1 { font-size: 40px !important; }
}
