/*
Theme Name: Grüne Welle Kommunikation
Theme URI: https://www.gruenewellepr.de
Author: Frank Brodmerkel
Author URI: https://www.gruenewellepr.de
Description: Individuelles WordPress-Theme für Grüne Welle Kommunikation – Kommunikationsberatung für grüne Transformation und Nachhaltigkeit.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: gruene-welle
*/

/* ======================================================
   IMPORTS & RESETS
   ====================================================== */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700;800&display=swap');

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

/* ======================================================
   CSS CUSTOM PROPERTIES (Farbschema)
   ====================================================== */
:root {
    --gruen: #c6e31b;
    --gruen-hell: #dff04e;
    --gruen-dunkel: #8aab00;
    --gruen-tief: #4d6600;
    --slate: #3d4f38;
    --mid: #7a9070;
    --fog: #e8f0e4;
    --off-white: #f7faf4;
    --charcoal: #1e2a1a;
    --white: #ffffff;
}

/* ======================================================
   GRUNDLAGEN
   ====================================================== */
body {
    font-family: 'Nunito Sans', sans-serif;
    background: var(--off-white);
    color: var(--slate);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ======================================================
   LAYOUT – Wrapper
   ====================================================== */
.wrapper {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 64px 24px;
}

.section-inner {
    max-width: 1060px;
    margin: 0 auto;
}

.section--fog {
    background: var(--fog);
}

.section--white {
    background: var(--off-white);
}

.section--gruen {
    background: var(--gruen);
}

.section--dunkel {
    background: var(--gruen-tief);
}

.section--charcoal {
    background: var(--charcoal);
}

/* ======================================================
   GRID SYSTEM
   ====================================================== */
.g2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.g3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 22px;
}

.g4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* ======================================================
   TYPOGRAFIE
   ====================================================== */
.sl {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gruen-dunkel);
    margin-bottom: 10px;
}

.hr-accent {
    border: none;
    border-top: 3px solid var(--gruen);
    width: 44px;
    margin: 14px 0 22px;
}

h1, h2, h3 {
    color: var(--gruen-tief);
    line-height: 1.2;
}

/* ======================================================
   NAVIGATION – Header
   ====================================================== */
.site-header {
    background: var(--gruen-tief);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
}

.site-header .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 0;
}

.site-header .site-logo {
    padding: 10px 0;
}

.site-header .site-logo img {
    height: 44px;
    display: block;
}

/* Hauptnavigation */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav .menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav .menu > li {
    position: relative;
}

.main-nav .menu > li > a {
    display: block;
    padding: 22px 13px;
    color: rgba(255,255,255,.82);
    font-size: 13.5px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all .2s;
    white-space: nowrap;
}

.main-nav .menu > li > a:hover,
.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li.current-menu-parent > a,
.main-nav .menu > li.current-menu-ancestor > a {
    color: var(--gruen);
    border-bottom-color: var(--gruen);
}

/* Dropdown */
.main-nav .menu > li > .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--fog);
    border-radius: 4px;
    min-width: 230px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 200;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav .menu > li:hover > .sub-menu {
    display: block;
}

.main-nav .sub-menu li a {
    display: block;
    width: 100%;
    padding: 11px 20px;
    font-size: 14px;
    color: var(--slate);
    transition: background .15s;
}

.main-nav .sub-menu li a:hover {
    background: var(--fog);
    color: var(--gruen-tief);
}

/* CTA-Button in der Navigation */
.nav-cta {
    margin-left: 14px;
}

.nav-cta a {
    display: inline-block;
    background: var(--gruen);
    color: var(--gruen-tief);
    padding: 9px 18px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 13px;
    transition: background .2s;
}

.nav-cta a:hover {
    background: var(--gruen-hell);
}

/* Mobile Navigation Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

/* ======================================================
   BUTTONS
   ====================================================== */
.btn-primary {
    display: inline-block;
    background: var(--gruen);
    color: var(--gruen-tief);
    border: none;
    padding: 11px 24px;
    border-radius: 3px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background .2s;
    text-align: center;
}

.btn-primary:hover {
    background: var(--gruen-hell);
}

.btn-primary--dark {
    background: var(--gruen-tief);
    color: var(--gruen);
}

.btn-primary--dark:hover {
    background: #3d5500;
}

.btn-primary--large {
    padding: 14px 32px;
    font-size: 15px;
}

.btn-primary--full {
    width: 100%;
    padding: 13px;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--gruen-tief);
    border: 2px solid var(--gruen);
    padding: 10px 22px;
    border-radius: 3px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all .2s;
}

.btn-outline:hover {
    background: var(--fog);
}

.btn-hero-outline {
    display: inline-block;
    background: rgba(255,255,255,.45);
    color: #fff;
    border: 2px solid rgba(255,255,255,.9);
    padding: 14px 28px;
    font-size: 15px;
    border-radius: 3px;
    cursor: pointer;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    transition: all .2s;
}

.btn-hero-outline:hover {
    background: rgba(255,255,255,.3);
}

/* ======================================================
   HERO-BEREICHE
   ====================================================== */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, var(--gruen-tief) 0%, #2d5000 100%);
    padding: 72px 24px 64px;
}

.hero--home {
    background: #1a2a30;
    padding: 96px 24px 80px;
}

.hero--center {
    padding: 88px 24px 64px;
}

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

.hero--center .hero-inner h1 {
    margin: 0 auto;
}

.hero--center .hero-inner p {
    margin: 18px auto 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .18;
    filter: grayscale(60%);
}

.hero--home .hero-bg {
    opacity: 1;
    filter: none;
    object-position: center 80%;
}

.hero-inner {
    position: relative;
    max-width: 1060px;
    margin: 0 auto;
}

.hero-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gruen);
    margin-bottom: 14px;
}

.hero--home .hero-label {
    color: var(--gruen-tief);
    background: rgba(255,255,255,.25);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.hero h1 {
	text-shadow: 0 2px 16px rgba(0,0,0,.7);
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.18;
    max-width: 680px;
}

.hero--home h1 {
    font-size: 50px;
    line-height: 1.12;
    max-width: 780px;
    margin-bottom: 20px;
}

.hero-sub {
    color: rgba(255,255,255,.72);
    font-size: 18px;
    margin-top: 18px;
    max-width: 600px;
    line-height: 1.7;
}

.hero--home .hero-sub {
	text-shadow: 0 1px 8px rgba(0,0,0,.5);
    color: #ffffff;
    font-size: 20px;
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ======================================================
   STATISTIK-LEISTE (unter Hero Startseite)
   ====================================================== */
.stats-bar {
    background: var(--gruen);
    padding: 22px 24px;
}

.stats-bar .g4 {
    max-width: 1060px;
    margin: 0 auto;
}

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

.stat-number {
    font-size: 30px;
    font-weight: 800;
    color: var(--gruen-dunkel);
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    color: var(--gruen-tief);
    margin-top: 4px;
    font-weight: 600;
    letter-spacing: .5px;
}

/* ======================================================
   CARDS
   ====================================================== */
.card {
    background: #fff;
    border-radius: 6px;
    padding: 28px;
    border: 1px solid var(--fog);
}

.card--accent-top {
    border-top: 3px solid var(--gruen);
}

.card--accent-left {
    border-left: 4px solid var(--gruen);
    border-radius: 0 6px 6px 0;
}

.card--dark {
    background: var(--gruen-tief);
    border: none;
}

.card--fog {
    background: var(--fog);
    border: none;
}

/* Pillar Cards (Startseite) */
.pillar-card {
    cursor: pointer;
}	
.pillar-card {
    background: var(--gruen-hell) !important;
    transition: transform .3s ease, box-shadow .3s ease;
}

.pillar-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 36px rgba(0,0,0,.15);
    z-index: 10;
    position: relative;
}
.pillar-card .pillar-icon {
    margin-bottom: 14px;
    font-size: 28px;
}

.pillar-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

.pillar-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--mid);
    margin-bottom: 18px;
}

.pillar-card .card-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--gruen-tief);
}

/* Expertise Cards (Übersichtsseite) */
.expertise-card {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--fog);
    background: #fff;
}

.expertise-card-img {
    height: 180px;
    overflow: hidden;
}

.expertise-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
}

.expertise-card-body {
    padding: 24px;
    border-left: 4px solid var(--gruen);
}

.expertise-card-body .pillar-icon {
    margin-bottom: 10px;
    font-size: 28px;
}

.expertise-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.expertise-card-body p {
    font-size: 14px;
    color: var(--mid);
    line-height: 1.7;
    margin-bottom: 14px;
}

/* News Cards */
.news-card {
    cursor: pointer;
}

.news-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    align-items: center;
}

.news-tag {
    background: var(--fog);
    color: var(--gruen-tief);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 18px;
}

.news-date {
    font-size: 12px;
    color: var(--mid);
}

.news-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-card p {
    font-size: 13px;
    color: var(--mid);
    line-height: 1.65;
}

/* ======================================================
   TAG-LISTEN (Leistungen mit Pfeil)
   ====================================================== */
.tag-item {
    display: flex;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--fog);
    font-size: 14px;
    align-items: flex-start;
}

.tag-arrow {
    color: var(--gruen);
    font-weight: 800;
    margin-right: 10px;
}

/* ======================================================
   PROFIL-BEREICH
   ====================================================== */
.portrait-box {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4/5;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 12px 40px rgba(0,0,0,.15);
    overflow: hidden;
}

.portrait-caption {
    margin-top: 18px;
    font-size: 13px;
    color: var(--mid);
    line-height: 1.7;
    text-align: center;
}

.portrait-caption strong {
    color: var(--gruen-tief);
    display: block;
    font-size: 15px;
}

/* ======================================================
   ZITAT-BOX
   ====================================================== */
.quote-box {
    padding: 36px;
}

.quote-mark {
    color: rgba(255,255,255,.25);
    font-size: 48px;
    font-weight: 800;
    line-height: .8;
    margin-bottom: 8px;
}

.quote-text {
    color: rgba(255,255,255,.88);
    font-size: 16px;
    line-height: 1.85;
    font-style: italic;
}

.quote-author {
    margin-top: 20px;
    font-size: 13px;
    color: var(--gruen);
    font-weight: 700;
}

/* ======================================================
   KUNDENSTIMMEN
   ====================================================== */
.testimonial-card {
    display: flex;
    flex-direction: column;
}

.testimonial-card .quote-mark {
    color: rgba(77,102,0,.2);
    font-size: 42px;
    font-family: Georgia, serif;
}

.testimonial-card .testimonial-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--slate);
    flex: 1;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .testimonial-author {
    border-top: 1px solid var(--fog);
    padding-top: 16px;
}

.testimonial-card .testimonial-author strong {
    font-weight: 700;
    color: var(--gruen-tief);
    font-size: 15px;
    display: block;
}

.testimonial-card .testimonial-author span {
    font-size: 12px;
    color: var(--mid);
    margin-top: 3px;
    line-height: 1.5;
    display: block;
}

/* ======================================================
   TIMELINE (Werdegang)
   ====================================================== */
.timeline-item {
    display: flex;
    gap: 22px;
    margin-bottom: 28px;
    padding-left: 20px;
    border-left: 3px solid var(--fog);
}

.timeline-item:first-child {
    border-left-color: var(--gruen);
}

.timeline-year {
    min-width: 90px;
}

.timeline-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--gruen-tief);
    background: var(--gruen);
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.timeline-title {
    font-weight: 700;
    color: var(--gruen-tief);
    font-size: 14px;
    margin-bottom: 4px;
}

.timeline-desc {
    font-size: 13px;
    color: var(--mid);
    line-height: 1.65;
}

/* ======================================================
   NEWS / AKTUELLES (Filterleiste + Listenansicht)
   ====================================================== */
.news-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.news-filter-btn {
    padding: 7px 18px;
    border-radius: 24px;
    border: 1px solid var(--fog);
    background: transparent;
    color: var(--slate);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Nunito Sans', sans-serif;
    transition: all .15s;
}

.news-filter-btn:hover,
.news-filter-btn--active {
    border-color: var(--gruen);
    background: var(--gruen);
    color: var(--gruen-tief);
}

.news-list-item {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
}

/* ======================================================
   KONTAKT
   ====================================================== */
.contact-item {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--fog);
    align-items: center;
}

.contact-icon {
    font-size: 18px;
    width: 28px;
}

.contact-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--gruen-dunkel);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 14px;
    color: var(--slate);
    font-weight: 600;
    margin-top: 2px;
}

/* ======================================================
   FORMULARE
   ====================================================== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--gruen-tief);
    margin-bottom: 6px;
}

.inp {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--fog);
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Nunito Sans', sans-serif;
    color: var(--slate);
    outline: none;
    transition: border .2s;
    background: #fff;
}

.inp:focus {
    border-color: var(--gruen);
}

textarea.inp {
    resize: vertical;
}

select.inp {
    background: #fff;
}

/* ======================================================
   CTA-LEISTEN
   ====================================================== */
.cta-bar {
    padding: 52px 24px;
    text-align: center;
}

.cta-bar h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.cta-bar p {
    opacity: .75;
    margin-bottom: 28px;
}

.cta-bar--gruen {
    background: var(--gruen);
}

.cta-bar--gruen h2,
.cta-bar--gruen p {
    color: var(--gruen-tief);
}

/* ======================================================
   FOOTER
   ====================================================== */
.site-footer {
    background: var(--charcoal);
    color: rgba(255,255,255,.55);
    padding: 48px 24px 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 36px;
}

.footer-logo {
    height: 36px;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.75;
    color: var(--gruen);
}

.footer-heading {
    color: var(--gruen);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.footer-nav a {
    display: block;
    color: rgba(255,255,255,.5);
    font-size: 13px;
    padding: 4px 0;
    transition: color .2s;
}

.footer-nav a:hover {
    color: var(--gruen);
}

.footer-contact {
    font-size: 13px;
    line-height: 2;
    color: rgba(255,255,255,.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-legal {
    display: flex;
    gap: 16px;
}

.footer-legal a {
    color: rgba(255,255,255,.55);
    transition: color .2s;
}

.footer-legal a:hover {
    color: var(--gruen);
}

/* ======================================================
   LEGAL PAGES (Impressum, Datenschutz)
   ====================================================== */
.legal-section {
    margin-bottom: 36px;
}

.legal-section h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gruen-tief);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--fog);
}

.legal-section p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--slate);
}

/* ======================================================
   ABGRENZUNG-ITEMS (Methoden)
   ====================================================== */
.abgrenzung-item {
    padding: 14px 16px;
    border-left: 3px solid var(--gruen-dunkel);
    background: #fff;
    border-radius: 0 6px 6px 0;
    border: 1px solid var(--fog);
    border-left: 3px solid var(--gruen-dunkel);
}

.abgrenzung-item strong {
    font-weight: 700;
    color: var(--gruen-tief);
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.abgrenzung-item p {
    font-size: 13px;
    color: var(--mid);
    line-height: 1.65;
}

/* Schwerpunkt-Items */
.schwerpunkt-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px 14px;
    background: var(--fog);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--slate);
}

.schwerpunkt-item .arrow {
    color: var(--gruen);
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
}

/* Branchen-Grid (Greentech) */
.branche-item {
    display: flex;
    gap: 8px;
    font-size: 13px;
    padding: 8px 12px;
    background: var(--fog);
    border-radius: 4px;
    align-items: center;
}

.branche-check {
    color: var(--gruen-dunkel);
    font-weight: 800;
    font-size: 14px;
}

/* Prinzipien-Cards (Methoden) */
.prinzip-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--fog);
    line-height: 1;
    margin-bottom: 14px;
}

/* ======================================================
   LOGO-TICKER / KUNDENLOGOS
   ====================================================== */
.logo-ticker {
    background: #ffffff;
    padding: 32px 0;
    overflow: hidden;
    position: relative;
}

.logo-ticker-label {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 20px;
}

.logo-ticker-track {
    display: flex;
    animation: ticker-scroll 100s linear infinite;
    width: max-content;
}

.logo-ticker-track:hover {
    animation-play-state: paused;
}

.logo-ticker-set {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 0 24px;
}

.logo-ticker-item {
    flex-shrink: 0;
    height: 36px;
    filter: grayscale(100%);
    opacity: .45;
    transition: all .3s ease;
    position: relative;
    cursor: pointer;
}

.logo-ticker-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(2);
    z-index: 10;
}

/* Text-basierte Logo-Platzhalter (bis echte Logos hochgeladen sind) */
.logo-ticker-text {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--slate);
    opacity: .35;
    white-space: nowrap;
    transition: opacity .3s;
    padding: 0 8px;
}

.logo-ticker-text:hover {
    opacity: .7;
}

/* Fade-Kanten links und rechts */
.logo-ticker::before,
.logo-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.logo-ticker::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, transparent 100%);
}

.logo-ticker::after {
    right: 0;
    background: linear-gradient(-90deg, #ffffff 0%, transparent 100%);
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ======================================================
   WORDPRESS STANDARD-KLASSEN
   ====================================================== */
.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 13px;
    color: var(--mid);
    padding-top: 8px;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* WordPress Block Editor Inhalte */
.entry-content p {
    margin-bottom: 1.2em;
    line-height: 1.85;
}

.entry-content h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 32px 0 16px;
}

.entry-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 12px;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.2em 1.5em;
}

.entry-content li {
    margin-bottom: .5em;
    line-height: 1.7;
}

.entry-content blockquote {
    border-left: 4px solid var(--gruen);
    padding: 12px 24px;
    margin: 24px 0;
    background: var(--fog);
    border-radius: 0 6px 6px 0;
    font-style: italic;
    color: var(--mid);
}

.entry-content img {
    border-radius: 6px;
}

/* Pagination */
.pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.pagination .current {
    background: var(--gruen);
    color: var(--gruen-tief);
}

.pagination a {
    background: var(--fog);
    color: var(--slate);
    transition: all .2s;
}

.pagination a:hover {
    background: var(--gruen);
    color: var(--gruen-tief);
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .news-list-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

@media (max-width: 760px) {
    .g2,
    .g3 {
        grid-template-columns: 1fr;
    }

    .g4 {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero--home h1 {
        font-size: 32px;
    }

    .hero-sub {
        font-size: 16px;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--gruen-tief);
        flex-direction: column;
        padding: 16px 0;
        box-shadow: 0 8px 24px rgba(0,0,0,.2);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav .menu {
        flex-direction: column;
        width: 100%;
    }

    .main-nav .menu > li > a {
        padding: 12px 24px;
        font-size: 14px;
    }

    .main-nav .menu > li > .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: rgba(0,0,0,.15);
        border-radius: 0;
    }

    .main-nav .sub-menu li a {
        color: rgba(255,255,255,.7);
        padding: 10px 36px;
    }

    .nav-cta {
        margin: 12px 24px;
    }

    .nav-cta a {
        display: block;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}
