/* =========================================================
   SCHRIFTART
   ========================================================= */


/* Urbanist lokal laden */
@font-face {
    font-family: 'Urbanist';
    src: url('./fonts/Urbanist-VariableFont_wght.ttf') format('truetype');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

/* =========================================================
   GRUNDEINSTELLUNGEN UND FARBEN
   ========================================================= */

:root {
    --green: #004b32;
    --lime: #9ac836;
    --pale: #e3ebe8;
	--pale-light: #f1f5f3;
    --blue: #7c99cb;
    --ink: #242424;

    --gap: 28px;
    --tile: 700px;
    --navh: 96px;
    --top: 22px;
	--topcolor: #004b32;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Urbanist, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
}


/* =========================================================
   OBERER BALKEN
   ========================================================= */

.topbar {
    height: var(--top);
    background: var(--topcolor);
}


/* =========================================================
   NAVIGATION UND LOGO
   ========================================================= */

.nav {
    height: var(--navh);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 14px clamp(20px, 4vw, 72px);
    gap: 30px;
    background: #fff;
    position: relative;
    z-index: 5;
}

.logo img {
    display: block;
    max-height: 58px;
    max-width: 220px;
}

.nav nav {
    display: flex;
    gap: clamp(15px, 2.2vw, 38px);
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav a {
    color: var(--green);
    text-decoration: none;
    font-weight: 700;
}

.nav nav a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.menu-toggle {
    display: none;
}

/* =========================================================
   TITELBILD / HERO
   ========================================================= */

.hero {
    height: calc(100vh - var(--top) - var(--navh));
    min-height: 460px;
    background-image: var(--hero);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}


/* =========================================================
   TEXTBOX AUF DEM TITELBILD
   ========================================================= */

.overlay {
    position: absolute;
	background: rgb(227 235 232 / .9);
    color: #004b32;
    padding:
        clamp(20px, 2.2vw, 32px)
        clamp(26px, 3.3vw, 48px);
    max-width: min(760px, 78vw);
}

.overlay h1 {
    font-size: clamp(38px, 5vw, 76px);
    line-height: .98;
    margin: 0;
    font-weight: 800;
}

.overlay p {
    font-size: clamp(20px, 2.1vw, 34px);
    line-height: 1.12;
    margin: 14px 0 0;
    font-weight: 500;
}


/* Positionen der Textbox */

.pos-links-oben {
    left: 5%;
    top: 7%;
}

.pos-mitte-oben {
    left: 50%;
    top: 7%;
    transform: translateX(-50%);
}

.pos-rechts-oben {
    right: 5%;
    top: 7%;
}

.pos-links-mitte {
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.pos-mitte-mitte {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.pos-rechts-mitte {
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.pos-links-unten {
    left: 5%;
    bottom: auto;
    top: calc(var(--normal-hero-height) * 0.93);
    transform: translateY(-100%);
}

.pos-mitte-unten {
    left: 50%;
    bottom: auto;
    top: calc(var(--normal-hero-height) * 0.93);
    transform: translate(-50%, -100%);
}

.pos-rechts-unten {
    right: 5%;
    bottom: auto;
    top: calc(var(--normal-hero-height) * 0.93);
    transform: translateY(-100%);
}


/* =========================================================
   ALLGEMEINE ABSCHNITTE
   ========================================================= */

.section {
    padding:
        clamp(35px, 4vw, 65px)
        clamp(18px, 3vw, 54px);
    scroll-margin-top: 20px;
}

.section h2 {
    text-align: center;
    color: var(--green);
    font-size: clamp(38px, 4vw, 64px);
    margin: 0 0 48px;
    font-weight: 800;
}


/* =========================================================
   KACHELRASTER
   ========================================================= */

.grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(min(600px, 100%), 750px));
    justify-content: center;
    gap: var(--gap);
    align-items: start;
}


/* =========================================================
   ALLGEMEINE KACHELN
   ========================================================= */

.card {
    margin: 0;
    background: var(--pale-light);
    border: none;
    overflow: hidden;
}

.card-image {
    display: block;
    width: 100%;
    height: auto;
}

.news-grid .card-image {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.card-body {
    padding: 28px 30px 32px;
}

.card h3 {
    color: var(--green);
    font-size: clamp(25px, 2vw, 34px);
    line-height: 1.08;
    margin: 0 0 10px;
	hyphens: auto;
    overflow-wrap: break-word;
}

.date {
    font-weight: 700;
    margin-bottom: 18px;
}

.text {
    font-size: 19px;
    line-height: 1.48;
	hyphens: auto;
    overflow-wrap: break-word;
}

.text p:first-child {
    margin-top: 0;
}

.text h3 + h4,
.card h3 + .text h4:first-child {
    margin-top: 36px;
}

.text h4 {
    color: var(--green);
    font-size: 23px;
    line-height: 1.2;
    margin: 28px 0 10px;
    font-weight: 800;
}

.text h4:first-child {
    margin-top: 0;
}

.text ul,
.text ol {
    padding-left: 24px;
    margin: 10px 0 20px;
}

.text li {
    margin-bottom: 6px;
}

/* =========================================================
   ZITATE
   ========================================================= */

.quote-section {
    padding: 65px 24px 60px;
    text-align: center;
}

.quote-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.quote-text {
    color: var(--green);
    font-size: clamp(22px, 2.5vw, 34px);
    font-weight: 400;
    line-height: 1.45;
}

.quote-text::before {
    content: "«";
}

.quote-text::after {
    content: "»";
}

.quote-author {
    margin-top: 20px;
    font-size: 16px;
    color: var(--ink);
}

.quote-author a,
.quote-author a:visited {
    color: var(--green);
    text-decoration: none;
}

.quote-author a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .quote-section {
        padding: 45px 20px;
    }

    .quote-author {
        font-size: 14px;
    }
}

/* =========================================================
   AKTUELLES UND Angebot
   ========================================================= */

/* Texte werden standardmässig vollständig angezeigt. */

/* Kacheln innerhalb derselben Grid-Zeile gleich hoch */

.news-grid,
#angebote .grid {
    align-items: stretch;
    grid-auto-rows: auto;
}

.news-grid .card,
#angebote .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-grid .card-body,
#angebote .card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.news-grid .text,
#angebote .text {
    margin-bottom: 30px;
}

/* Unterer Balken */

.more {
    display: block;
    width: calc(100% + 60px);
    border: 0;
    background: var(--pale);
    color: var(--green);
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    margin: 24px -30px -32px;
    padding: 14px;
}


/* Balken immer an der Unterkante der Kachel */

.news-grid .more,
#angebote .more {
    margin-top: auto;
}


/* Schaltfläche "mehr Aktualitäten ansehen" */

.button {
    display: inline-block;
	background: var(--green);
	color: #fff;
    font-weight: 800;
    text-decoration: none;
    padding: 15px 24px;
}

.center {
    text-align: center;
    margin-top: 34px;
}

/* =========================================================
   VIDEO UND EXTERNE INHALTE
   ========================================================= */

.video {
    aspect-ratio: 3 / 2;
    position: relative;
}

.video iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

.external-card {
    min-height: 220px;
    display: grid;
    place-items: center;
    background: var(--pale);
}

.external-card a {
    color: var(--green);
    font-weight: 800;
}


/* =========================================================
   ÜBER MICH
   ========================================================= */

.about-grid {
    grid-template-columns:
        repeat(2, minmax(min(600px, 100%), 750px));
}

.text-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.text-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.text-card .more {
    margin-top: auto;
}

.linkedin-info {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.linkedin-icon {
    color: var(--lime);
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    flex-shrink: 0;
}

.linkedin-info p {
    margin: 8px 0 0;
}

/* =========================================================
   BILDUNTERSCHRIFTEN
   ========================================================= */

figcaption,
#angebote .politics-caption,
#aktuelles .news-caption {
    font-size: 15px;
    padding: 12px 16px;
}

#angebote .politics-caption,
#aktuelles .news-caption {
    min-height: calc(1em + 24px);
}



/* =========================================================
   KONTAKT
   ========================================================= */

.contact-grid {
    align-items: stretch;
}

.contact-grid .card {
    height: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form label {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--green);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--green);
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 18px;
}

.contact-form textarea {
    resize: vertical;
    line-height: 1.4;
    min-height: 170px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--green);
    outline-offset: 1px;
}

.contact-form button {
    align-self: flex-start;
    margin-top: 14px;
    border: 0;
    background: var(--green);
    color: #fff;
    font: inherit;
    font-weight: 800;
    padding: 13px 24px;
    cursor: pointer;
}

.contact-form button:hover {
    text-decoration: underline;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-errors {
    margin-bottom: 18px;
    padding: 14px 18px;
    background: var(--pale);
}

.form-errors ul {
    margin: 0;
    padding-left: 20px;
}

.form-success {
    margin-bottom: 18px;
    padding: 14px 18px;
    background: var(--pale);
    color: var(--green);
    font-weight: 700;
}

/* =========================================================
   LINKS IM NORMALEN TEXT
   ========================================================= */

.section .text a,
.section .text a:visited,
.linkedin-info a,
.linkedin-info a:visited,
.section figcaption a,
.section figcaption a:visited,
.section .news-caption a,
.section .news-caption a:visited,
.section .politics-caption a,
.section .politics-caption a:visited {
    color: var(--green);
    text-decoration: underline;
}

.section .text a:hover,
.section .text a:focus-visible,
.linkedin-info a:hover,
.linkedin-info a:focus-visible,
.section figcaption a:hover,
.section figcaption a:focus-visible,
.section .news-caption a:hover,
.section .news-caption a:focus-visible,
.section .politics-caption a:hover,
.section .politics-caption a:focus-visible {
    color: var(--lime);
}



/* =========================================================
   IMPRESSUM / FOOTER
   ========================================================= */

footer {
    background: var(--green);
    color: #fff;
    min-height: 57px;
    padding: 20px 24px;
    font-size: 14px;
}

.footer-inner {
    max-width: 2250px;
    margin: auto;
    text-align: center;
    line-height: 1.5;
}

footer a,
footer a:visited {
    color: #ffffff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Aufklappbarer Datenschutz im Footer */

.footer-datenschutz {
    margin-top: 8px;
}

.footer-datenschutz summary {
    cursor: pointer;
    display: list-item;
    width: fit-content;
    margin: 0 auto;
}

.footer-datenschutz summary:hover {
    text-decoration: underline;
}

.footer-datenschutz summary:focus-visible {
    outline: 2px solid white;
    outline-offset: 4px;
}

.footer-datenschutz-text {
    max-width: 900px;
    margin: 12px auto 0;
    line-height: 1.6;
    text-align: left;
}

/* =========================================================
   TABLET / KLEINERE BILDSCHIRME
   ========================================================= */
@media (max-width: 1250px) {
    .about-grid {
        grid-template-columns: minmax(0, 750px);
    }

    /* Aktuelles und Politik:
       bei einer Kachel pro Zeile minimale Kachelhöhe */

    .news-grid,
    #angebote .grid {
        grid-auto-rows: auto;
        align-items: start;
    }

    .news-grid .card,
    #angebote .card {
        height: auto;
    }

    .news-grid .card-body,
    #angebote .card-body {
        flex: 0 1 auto;
    }

    .nav {
        height: auto;
        min-height: var(--navh);
    }

    .hero {
        height: calc(100vh - var(--top) - 120px);
    }

	    /* Kontaktformular */
	
	.contact-grid {
    align-items: start;
	}

	.contact-grid .card {
   		height: auto;
	}
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 1000px) {

    .js .nav {
        position: relative;
    }

    .js .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 48px;
        height: 48px;
        padding: 10px;
        margin-left: auto;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .js .menu-toggle span {
        display: block;
        width: 28px;
        height: 3px;
        background: var(--green);
    }

    .js .nav nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        width: 280px;
        padding: 20px 24px;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        z-index: 20;
    }

    .js .nav.menu-open nav {
        display: flex;
    }
}


@media (max-width: 760px) {

    :root {
        --navh: 82px;
    }

    .nav {
        padding: 10px 16px;
        align-items: flex-start;
    }

    .logo img {
        max-width: 145px;
        max-height: 48px;
    }

    .nav nav {
        font-size: 14px;
        gap: 8px 14px;
    }

    .hero {
        height: calc(100svh - 140px);
        min-height: 430px;
    }

    .overlay {
        max-width: 88vw;
    }

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

    .section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .card-body {
        padding: 22px 20px 26px;
    }

    .more {
        margin-left: -20px;
        margin-right: -20px;
        margin-bottom: -26px;
    }
}

/* Volle runde Aufzählungszeichen auch in Unterlisten */
ul ul {
    list-style-type: disc;
}

/* =========================================================
   BLOG: GRAUE KACHEL IM BEREICH AKTUELLES
   ========================================================= */

[hidden] { display: none !important; }

.news-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

:where(a, button, input, textarea, summary, [tabindex]):focus-visible {
    outline: 3px solid #004b32;
    outline-offset: 4px;
}

footer :where(a, button, summary):focus-visible {
    outline-color: #fff;
}

.blog-panel {
    max-width: 1528px;
    margin: 34px auto 0;
    padding: 18px;
    border: 1px solid #e3e3e3;
    border-radius: 22px;
    background: #fff;
    color: #242424;
    scroll-margin-top: 24px;
    overflow-wrap: anywhere;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
}

.blog-header h3 {
    margin: 0;
    color: #242424;
    font-size: 25px;
}

.blog-panel a, .blog-panel a:visited { color: #004b32; }
.blog-close {
    padding: 8px 18px;
    border: 1px solid #ccc;
    border-radius: 24px;
    color: #555 !important;
    font-size: 18px;
    text-decoration: none;
}
.blog-close::after { content: '⌃'; margin-left: 10px; }
.blog-close:hover { background: #f2f2f2; }

.blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    background: #f5f5f5;
    border-radius: 18px;
    align-items: stretch;
}

.blog-search-open .blog-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.blog-overview, .blog-article {
    min-width: 0;
    min-height: 420px;
    padding: clamp(18px, 2vw, 28px);
    border: 1px solid #e5e5e5;
    border-radius: 18px;
    background: #fff;
}
.blog-overview-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
.blog-overview h4, .blog-article > h4 {
    margin: 0;
    color: #242424;
    font-size: 24px;
    line-height: 1.25;
}

.blog-article {
    scroll-margin-top: 24px;
}
.blog-article > h4 {
    font-size: clamp(28px, 3vw, 40px);
    border-bottom: 1px solid #eee;
    padding-bottom: 28px;
    margin-bottom: 28px;
}
.blog-article > .date { margin: 0 0 18px; font-size: 19px; font-weight: 400; color: #666; }

.blog-placeholder { margin-top: 0; line-height: 1.5; }
.blog-panel button, .blog-search input { font: inherit; font-size: 18px; }
.blog-panel button {
    min-height: 44px;
    border: 1px solid #004b32;
    padding: 10px 16px;
    background: #fff;
    color: #004b32;
    cursor: pointer;
    font-weight: 700;
}

.blog-panel .blog-search-toggle { border: 0; padding: 4px; color: #595959; font-weight: 400; }
.blog-search-toggle::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23595959' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='m15 15 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
    vertical-align: -4px;
}
.blog-search-toggle[aria-expanded="true"] { font-weight: 700; }
.blog-panel button:hover { background: #ddd; }
.blog-search {
    margin-top: 12px;
    padding: 18px;
    background: #f2f2f2;
    border-radius: 12px;
}
.blog-search label { display: block; margin-bottom: 10px; font-weight: 700; line-height: 1.4; }
.blog-search input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    border: 1px solid #555;
    padding: 12px;
    background: #fff;
    color: #242424;
}
.blog-search input::placeholder { color: #595959; opacity: 1; }
.blog-search button { margin-top: 12px; }
#blog-status { margin: 14px 0; line-height: 1.5; color: #595959; font-size: 15px; }
.blog-list { list-style: none; padding: 0; margin: 0; }
.blog-list li { margin: 0 0 12px; }
.blog-list a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 30px 16px 12px;
    min-height: 48px;
    position: relative;
    border-radius: 8px;
    text-decoration: none;
    line-height: 1.4;
}
.blog-list a::after { content: '›'; position: absolute; right: 12px; top: 26px; color: #666; font-size: 28px; }
.blog-list time { color: #666; font-size: 15px; }
.blog-list span { font-size: 20px; font-weight: 600; color: #242424; }
.blog-list a:hover, .blog-list a[aria-current="true"] { background: #f1f1f1; }
.blog-list a:hover span, .blog-list a[aria-current="true"] span { text-decoration: underline; }
.blog-list a[aria-current="true"] { border-left: 4px solid #004b32; }
.blog-panel .text a:hover { color: #004b32; text-decoration-thickness: 2px; }
.blog-panel .external-card { background: #ddd; }
.blog-article .news-caption { min-height: 0 !important; padding: 12px 0 !important; }
.blog-article img, .blog-article iframe, .blog-article video { max-width: 100%; }
.blog-article .text { margin-top: 20px; }
.blog-article .text table { display: block; max-width: 100%; overflow-x: auto; }
.blog-article .text pre { white-space: pre-wrap; }

@media (max-width: 760px) {
    .blog-layout, .blog-search-open .blog-layout { grid-template-columns: minmax(0, 1fr); }
    .blog-panel { padding: 12px; }
    .blog-layout { padding: 10px; gap: 12px; }
    .blog-overview, .blog-article { padding: 18px; min-height: 0; }
    .blog-overview h4 { font-size: 23px; }
    .blog-article > h4 { font-size: 28px; }
}

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

/* Tastaturhilfe und Alternativtexte: ohne Änderung der sichtbaren Gestaltung. */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:absolute; left:16px; top:0; transform:translateY(-150%);
  z-index:100; padding:12px 18px; background:#fff; color:#004b32; font-weight:700; }
.skip-link:focus { transform:translateY(0); }
html:not(.js) .more { display:none; }
.field-error { margin:0 0 8px; font-size:16px; }

/* Feldlinks der Fehlerübersicht verwenden die bestehenden Websitefarben. */
.form-errors a,
.form-errors a:visited {
    color: var(--green);
    text-decoration: underline;
}
.form-errors a:hover {
    color: var(--lime);
}


/* =========================================================
   ABGESTIMMTE TYPOGRAFIE INNERHALB DER KACHELN
   Testversion 18.10.2026
   ========================================================= */

/* Rückfall für Browser ohne Container-Einheiten; rem berücksichtigt
   die im Browser eingestellte Grundschriftgrösse. */
.card {
    --card-title-size: 1.5625rem;
    --card-subtitle-size: 1.4375rem;
    --card-text-size: 1.1875rem;
    --card-date-size: 1rem;
    --card-caption-size: .9375rem;
    --card-linkedin-size: 1.875rem;
    --card-linkedin-gap: 1.125rem;
}

/* Zwischen etwa 350 und 750 px Kachelbreite gleichmässig skalieren.
   Die Einheiten beziehen sich auf die Kachel, nicht auf das Fenster. */
@supports (container-type: inline-size) and (font-size: 1cqi) {
    .card {
        container-type: inline-size;
        --card-title-size: clamp(1.5625rem, calc(1.0703125rem + 2.25cqi), 2.125rem);
        --card-subtitle-size: clamp(1.4375rem, calc(1.1640625rem + 1.25cqi), 1.75rem);
        --card-text-size: clamp(1.1875rem, calc(1.078125rem + .5cqi), 1.3125rem);
        --card-date-size: clamp(1rem, calc(.890625rem + .5cqi), 1.125rem);
        --card-caption-size: clamp(.9375rem, calc(.828125rem + .5cqi), 1.0625rem);
        --card-linkedin-size: clamp(1.875rem, calc(1.546875rem + 1.5cqi), 2.25rem);
        --card-linkedin-gap: clamp(.875rem, calc(.65625rem + 1cqi), 1.125rem);
    }
}

.card h3 {
    font-size: var(--card-title-size);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: .4em;
}

.card .text {
    font-size: var(--card-text-size);
    font-weight: 400;
    line-height: 1.5;
}

.card .text h4 {
    font-size: var(--card-subtitle-size);
    font-weight: 700;
    line-height: 1.2;
    margin: 1.2em 0 .45em;
}

.card .text h4:first-child {
    margin-top: 0;
}

.card .text h3 + h4,
.card h3 + .text h4:first-child {
    margin-top: 1.5em;
}

.card .date {
    font-size: var(--card-date-size);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1em;
}

.card figcaption,
.card .news-caption,
.card .politics-caption,
#aktuelles .card .news-caption,
#angebote .card .politics-caption {
    font-size: var(--card-caption-size);
    font-weight: 400;
    line-height: 1.45;
}

.card .linkedin-info {
    font-size: var(--card-text-size);
    font-weight: 400;
    line-height: 1.5;
    gap: var(--card-linkedin-gap);
}

.card .linkedin-icon {
    font-family: Arial, sans-serif;
    font-size: var(--card-linkedin-size);
    font-weight: 900;
    line-height: 1;
}

/* Aufklappbare Abschnitte im Kacheltext. Der native Marker und die
   Tastaturbedienung von details/summary bleiben erhalten. */
.card .text details {
    margin-block: .75em;
}

.card .text details > summary {
    display: list-item;
    list-style-position: outside;
    margin-inline-start: 1.2em;
    cursor: pointer;
    color: var(--green);
    font-size: var(--card-text-size);
    font-weight: 700;
    line-height: 1.5;
    min-block-size: 2.75rem;
    padding-block: .5rem;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Geöffnet: derselbe Text erhält die Grösse und Zeilenhöhe von h4. */
.card .text details[open] > summary {
    font-size: var(--card-subtitle-size);
    line-height: 1.2;
}

/* Vorhandene b/strong-Elemente im summary nicht zusätzlich verfetten. */
.card .text details > summary :is(b, strong) {
    font-weight: inherit;
}

.card .text details > summary:hover {
    text-decoration: underline;
    text-underline-offset: .15em;
}

.card .text details > summary:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 3px;
}

.card .text details[open] > summary + h4 {
    margin-top: .6em;
}

/* Die Regeln sind auf .card beschränkt. Abschnittsüberschriften,
   Titelbild-Overlay, Navigation, Footer und Blog behalten ihre Regeln. */
