/* ==========================================================
   MICHAELA TELTSCHIK - WEBSITE DESIGN
   Datei: layout.css
   Mobile-First, responsive und am Plakatdesign orientiert
   ========================================================== */

/* ---------- Schrift ---------- */
@font-face {
    font-family: "DM Sans";
    src: url("../fonts/DMSans-VariableFont_opsz,wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
}

/* ---------- Design-Variablen ---------- */
:root {
    --color-primary: rgb(172,108,124);
    --color-primary-dark: #966473;
    --color-primary-light: #d9c1c8;
    --color-text: #292631;
    --color-text-soft: #625c65;
    --color-background: #f7f4f2;
    --color-surface: #ffffff;
    --color-border: rgba(41, 38, 49, 0.14);
    --color-overlay-light: rgba(255, 255, 255, 0.84);
    --color-overlay-primary: rgba(172,108,124, 0.94);

    --font-family: "DM Sans", Arial, Helvetica, sans-serif;
    --container-width: 1220px;
    --header-height: 96px;
    --radius-small: 4px;
    --radius-medium: 10px;
    --shadow-soft: 0 14px 38px rgba(41, 38, 49, 0.12);
    --transition: 180ms ease;
}

/* ---------- Reset und Grundlayout ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 132px;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-family);
    font-size: 17px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

main {
    display: block;
}

img,
video {
    display: block;
    max-width: 100%;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: var(--color-primary-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
    transition: color var(--transition), opacity var(--transition);
}

a:hover {
    color: var(--color-text);
}

a:focus-visible,
button:focus-visible,
video:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3,
.custom-font {
    font-family: var(--font-family);
}

h2 {
    margin-bottom: 1.75rem;
    color: var(--color-primary);
    font-size: clamp(2.2rem, 4.2vw, 4rem);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

p {
    margin-bottom: 1.25rem;
}

strong {
    font-weight: 750;
}

/* Die vorhandenen li-Elemente liegen teilweise direkt im p-Element.
   Diese Regeln sorgen trotzdem fuer eine saubere Darstellung. */
li {
    position: relative;
    margin: 0 0 0.85rem;
    padding-left: 0.35rem;
}

::selection {
    background: var(--color-primary);
    color: #ffffff;
}

.container {
    width: min(calc(100% - 40px), var(--container-width));
    margin-inline: auto;
}

/* ---------- Kopfbereich ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-top: 6px solid var(--color-text);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 0 var(--color-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.topbar__inner {
    position: relative;
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    max-width: calc(100% - 70px);
    align-items: center;
    color: var(--color-text);
    text-decoration: none;
}

.brand > span {
    display: block;
}

.brand strong {
    color: var(--color-primary);
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 760;
    letter-spacing: -0.025em;
}

.brand small {
    display: inline-block;
    margin-top: 0.25rem;
    color: var(--color-text-soft);
    font-size: clamp(0.78rem, 1.3vw, 1rem);
    line-height: 1.35;
}

.brand small strong {
    font-size: inherit;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* ---------- Navigation ---------- */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.nav-desktop a,
.nav-mobile a {
    color: var(--color-text);
    font-weight: 650;
    text-decoration: none;
}

.nav-desktop a:hover,
.nav-mobile a:hover {
    color: var(--color-primary-dark);
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 11px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
    background: var(--color-surface);
    cursor: pointer;
}

.nav-toggle__line {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--color-text);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    z-index: 1010;
    flex-direction: column;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 0 0 var(--radius-medium) var(--radius-medium);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.nav-mobile:not([hidden]) {
    display: flex;
}

.nav-mobile a {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--color-border);
}

.nav-mobile a:last-child {
    border-bottom: 0;
}

/* ---------- Ticker ---------- */
.ticker {
    overflow: hidden;
    background: var(--color-primary);
    color: #ffffff;
}

.ticker__viewport {
    overflow: hidden;
}

.ticker__track {
    display: flex;
    width: max-content;
    min-width: 100%;
    align-items: center;
    justify-content: center;
    padding: 0.68rem 1.25rem;
}

.ticker__item {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-align: center;
    text-transform: uppercase;
}

/* ==========================================================
   PLAKAT-HERO
   Erforderliche HTML-Klassen:
   hero, hero_content, hero-image, hero-claim,
   hero-name, hero-location, hero-election
   ========================================================== */
.hero {
    position: relative;
    padding: 0;
    background: var(--color-text);
}

.hero .container,
.hero_grid {
    width: 100%;
    max-width: none;
    margin: 0;
}

.hero_content {
    position: relative;
    width: 100%;
    height: min(860px, calc(100svh - 140px));
    min-height: 620px;
    overflow: hidden;
    isolation: isolate;
}

.hero-image,
.hero__logo,
.hero__logo a {
    width: 100%;
    height: 100%;
}

.hero__logo a {
    display: block;
}

.hero-image,
.hero__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 23%;
}

/* Dezente Abdunklung fuer bessere Lesbarkeit der Overlays */
.hero_content::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(24, 21, 27, 0.14) 0%,
        rgba(24, 21, 27, 0) 40%,
        rgba(24, 21, 27, 0.06) 100%
    );
    content: "";
    pointer-events: none;
}

.hero-claim {
    position: absolute;
    top: clamp(32px, 7vh, 74px);
    left: clamp(24px, 5vw, 82px);
    z-index: 2;
    width: min(260px, 32vw);
    padding: 1.45rem 1.6rem;
    background: var(--color-overlay-primary);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(41, 38, 49, 0.14);
}

.hero-claim p {
    margin: 0;
    font-size: clamp(1.15rem, 1.8vw, 1.75rem);
    font-weight: 760;
    line-height: 1.42;
    text-align: center;
}

.hero-name {
    position: absolute;
    right: clamp(24px, 5vw, 82px);
    bottom: clamp(116px, 16vh, 160px);
    z-index: 2;
    min-width: min(510px, calc(100% - 48px));
    padding: 0.8rem 1rem 0;
    border: 2px solid rgba(172,108,124, 0.72);
    background: var(--color-overlay-light);
    box-shadow: 0 12px 34px rgba(41, 38, 49, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hero-name h1 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(2rem, 3.3vw, 3.65rem);
    font-weight: 790;
    line-height: 1.05;
    letter-spacing: -0.035em;
    text-align: center;
}

.hero-location {
    margin: 0.85rem -1rem 0;
    padding: 0.65rem 1rem;
    background: var(--color-primary);
    color: #ffffff;
    font-size: clamp(1rem, 1.45vw, 1.3rem);
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
}

.hero-election {
    position: absolute;
    right: clamp(24px, 5vw, 82px);
    bottom: clamp(28px, 5vh, 54px);
    z-index: 2;
    min-width: min(390px, calc(100% - 48px));
    padding: 0.85rem 1.6rem;
    background: var(--color-overlay-light);
    color: var(--color-text);
    box-shadow: 0 10px 28px rgba(41, 38, 49, 0.12);
    text-align: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hero-election span,
.hero-election strong {
    display: block;
}

.hero-election span {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.25;
}

.hero-election strong {
    margin-top: 0.12rem;
    color: var(--color-text);
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    line-height: 1.2;
}

/* Alte automatisch erzeugte Hero-Texte abschalten */
.hero_content::after {
    content: none;
}

/* ---------- Inhaltsbereiche ---------- */
.section {
    padding: clamp(4.5rem, 8vw, 8rem) 0;
}

.section:nth-of-type(even) {
    background: rgba(255, 255, 255, 0.34);
}

.about-grid {
    width: 100%;
}

.about-text {
    color: var(--color-text);
}

.about-text .container,
.about-layout {
    width: min(calc(100% - 40px), var(--container-width));
    margin-inline: auto;
}

.about-text p {
    max-width: 88ch;
    margin-bottom: 0;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

/* Im Bereich "Warum ich?" bleibt der Text links und das Video rechts. */
.about-layout > .about-text {
    grid-column: 1;
    min-width: 0;
}

.about-layout > .about-video-wrap {
    grid-column: 2;
    justify-self: end;
}

/* =====================================
   WER BIN ICH
===================================== */

.about-person {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: center;
}

.about-person__text {
    min-width: 0;
}

.about-person__image {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.about-person__image img {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 5;
    border: 8px solid var(--color-surface);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    object-position: center top;
}

.about-person__image img:hover {
    aspect-ratio: 4 / 5;
    border: 8px solid rgba(172,108,124);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    object-position: center top;
}

.about-video-wrap {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

.about-video {
    width: min(100%, 500px);
    max-height: 720px;
    border: 8px solid var(--color-surface);
    border-radius: var(--radius-medium);
    background: var(--color-text);
    box-shadow: var(--shadow-soft);
    object-fit: contain;
}

/* ---------- Trennlinie ---------- */
.container_brake {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    overflow: hidden;
}

.container_brake img {
    width: min(100%, 720px);
    max-height: 32px;
    object-fit: contain;
    opacity: 0.7;
}

/* ---------- Kontakt ---------- */
#kontakt {
    background: var(--color-surface);
}

#kontakt .container > div {
    max-width: 780px;
    padding-left: clamp(1.25rem, 3vw, 2.5rem);
    border-left: 8px solid var(--color-primary);
}

#kontakt a {
    overflow-wrap: anywhere;
}

.social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social__logo {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    object-fit: contain;
}

.social__text {
    color: var(--color-primary-dark);
    font-weight: 680;
}

/* ---------- Footer ---------- */
.footer {
    border-top: 6px solid var(--color-primary-dark);
    background: var(--color-primary);
    color: #ffffff;
}

.footer__inner {
    display: flex;
    min-height: 110px;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 0;
}

.footer p {
    margin: 0;
}

.footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}

.footer a {
    color: #ffffff;
    font-weight: 650;
}

.footer a:hover {
    opacity: 0.8;
}

/* ==========================================================
   TABLET
   ========================================================== */
@media (max-width: 980px) {
    :root {
        --header-height: 82px;
    }

    html {
        scroll-padding-top: 118px;
    }

    .nav-desktop {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero_content {
        height: min(780px, calc(100svh - 120px));
        min-height: 600px;
    }

    .hero-image,
    .hero__logo img {
        object-position: 54% 20%;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .about-layout > .about-text,
    .about-layout > .about-video-wrap {
        grid-column: 1;
    }

    .about-video-wrap {
        width: min(100%, 680px);
        justify-content: center;
        justify-self: center;
        margin-inline: auto;
    }

    .about-video {
        width: min(100%, 560px);
    }

    .about-person {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-person__image {
        justify-content: center;
    }
}

/* Textgestaltung: Wer bin ich / Warum ich */
.text-card {
    position: relat*ve;
}

.section-kicker {
    margin: 0 0 0.45rem;
    font-size: clam*(0.78rem, 1vw, 0.9rem);
    font-weight: 700;
    letter-spacing: 0.1*em;
    text-transform: uppercase;
    color: rgba(80, 64, 48, 0.72);
}

.text-card h2 {
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.lead-text,
.intro-heading {
    margin-bottom: clamp(1rem, 2vw, 1.4rem); 
    font-size: clamp(1.08rem, 1.5vw, 1.28rem);
    line-height: 1.55;
    font-weight: 600;
    color: #2f2923;
}

.text-card p {
    max-width: 68ch;
    margin-bottom: 1rem;
    line-height: 1.75;
}

.statement-text {
    margin-top: clamp(1.3rem, 2vw, 1.8rem);
    padding: clamp(1rem, 2vw, 1.35rem);
    border-left: 4px solid rgba(80, 64, 48, 0.45);
    border-radius: 0 16px 16px 0;
    background: rgba(255, 255, 255, 0.55);
    font-weight: 700;
    color: #2f2923;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
}

/* Entfernt zu harte Abstände, falls vorher <br> genutzt wurde */
.about-text br {
    display: none;
}

.goal-card h3 {
    margin-bottom: 5px;

}

/* Mobile Optimierung */
@media (max-width: 768px) {
    section-kicker {
        font-size: 0.76rem;
    }

    .lead-text,
    * .intro-heading {
        font-size: 1.05rem;
        line-height: 1*55;
    }

    .text-card p {
        max-width: 100%;
        line-height: 1.7;
    }

    .statement-text {
        padding: 1rem;
        border-left-width: 3px;
    }
}


/* ==========================================================
   MOBIL
   ========================================================== */
@media (max-width: 700px) {
    :root {
        --header-height: 74px;
    }

    html {
        scroll-padding-top: 108px;
    }

    body {
        font-size: 16px;
        line-height: 1.65;
    }

    .container,
    .about-text .container,
    .about-layout {
        width: min(calc(100% - 32px), var(--container-width));
    }

    .topbar {
        border-top-width: 4px;
    }

    .topbar__inner {
        gap: 0.75rem;
    }

    .brand {
        max-width: calc(100% - 58px);
    }

    .brand strong {
        font-size: 1.22rem;
    }

    .brand small {
        max-width: 260px;
        font-size: 0.72rem;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
    }

    .ticker__track {
        padding: 0.55rem 0.75rem;
    }

    .ticker__item {
        font-size: 0.72rem;
        letter-spacing: 0.055em;
    }

    .hero_content {
        height: 74svh;
        min-height: 540px;
        max-height: 720px;
    }

    .hero-image,
    .hero__logo img {
        object-position: 54% 18%;
    }

    .hero_content::before {
        background: linear-gradient(
            180deg,
            rgba(24, 21, 27, 0.12) 0%,
            rgba(24, 21, 27, 0) 45%,
            rgba(24, 21, 27, 0.18) 100%
        );
    }

    .hero-claim {
        top: 18px;
        left: 16px;
        width: 148px;
        padding: 0.85rem 0.7rem;
    }

    .hero-claim p {
        font-size: 0.92rem;
        line-height: 1.42;
    }

    .hero-name {
        right: 16px;
        bottom: 102px;
        width: min(330px, calc(100% - 32px));
        min-width: 0;
        padding: 0.65rem 0.7rem 0;
        border-width: 1px;
    }

    .hero-name h1 {
        font-size: clamp(1.65rem, 7vw, 2.15rem);
    }

    .hero-location {
        margin: 0.6rem -0.7rem 0;
        padding: 0.5rem 0.7rem;
        font-size: 0.95rem;
    }

    .hero-election {
        right: 16px;
        bottom: 16px;
        width: min(290px, calc(100% - 32px));
        min-width: 0;
        padding: 0.65rem 0.9rem;
    }

    .hero-election span {
        font-size: 0.92rem;
    }

    .hero-election strong {
        font-size: 1.12rem;
    }

    .section {
        padding: 4.5rem 0;
    }

    h2 {
        margin-bottom: 1.4rem;
        font-size: clamp(2.1rem, 11vw, 3rem);
    }

    .about-text p {
        max-width: none;
    }

    .about-video {
        border-width: 5px;
    }

    .about-person {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-person__image {
        order: -1;
    }

    .about-person__image img {
        max-width: 300px;
        margin: auto;
    }

    #kontakt .container > div {
        padding-left: 1.1rem;
        border-left-width: 5px;
    }

    .footer__inner {
        min-height: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.75rem 0;
    }
}

/* ---------- Sehr kleine Displays ---------- */
@media (max-width: 390px) {
    .brand small {
        display: none;
    }

    .hero_content {
        min-height: 510px;
    }

    .hero-claim {
        width: 132px;
    }

    .hero-claim p {
        font-size: 0.82rem;
    }

    .hero-name h1 {
        font-size: 1.5rem;
    }
}

/* ---------- Grosse Displays ---------- */
@media (min-width: 1500px) {
    .hero-image,
    .hero__logo img {
        object-position: center 20%;
    }

    .hero-claim {
        left: max(5vw, calc((100vw - 1500px) / 2 + 40px));
    }

    .hero-name,
    .hero-election {
        right: max(5vw, calc((100vw - 1500px) / 2 + 40px));
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-contrast: more) {
    :root {
        --color-primary: #8f5264;
        --color-primary-dark: #693847;
        --color-text: #17131a;
        --color-border: rgba(23, 19, 26, 0.5);
    }

    .hero-name,
    .hero-election {
        background: #ffffff;
    }
}

/* ===================================================
   LEBENSLAUF
=================================================== */

.resume-hero {
    padding-top: clamp(8rem, 12vw, 11rem);
    padding-bottom: clamp(3rem, 7vw, 5rem);
}

.resume-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(220px, 26vw, 340px);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.resume-intro__text {
    max-width: 760px;
}

.resume-intro__image {
    justify-self: end;
    width: min(100%, 340px);
    aspect-ratio: 4 / 5;
    border: 8px solid var(--color-surface);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.16);
    background: rgba(255, 255, 255, 0.45);
}

.resume-intro__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.resume-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.8rem;
    padding: 0;
    list-style: none;
}

.resume-meta li {
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    font-weight: 700;
    color: #4f4030;
}

.resume-section {
    padding-block: clamp(2.75rem, 6vw, 5rem);
}

.resume-section h2 {
    margin-bottom: 1.5rem;
}

.timeline {
    position: relative;
    margin: clamp(2rem, 4vw, 3rem) 0 0;
    padding-left: 2rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 0.3rem;
    bottom: 0.3rem;
    width: 2px;
    background: rgba(80, 64, 48, 0.25);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 1.75rem);
    margin-bottom: 1.4rem;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -29px;
    top: 1rem;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #8d7560;
    box-shadow: 0 0 0 6px rgba(141, 117, 96, 0.14);
}

.timeline-year {
    padding-top: 1.05rem;
    font-weight: 800;
    color: #6e5948;
}

.timeline-content {
    padding: clamp(1.15rem, 2.5vw, 1.6rem);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.timeline-content h3 {
    margin: 0 0 0.45rem;
    color: #4f4030;
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.timeline-content p {
    margin: 0;
    line-height: 1.7;
}

.resume-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.resume-card {
    padding: clamp(1.2rem, 2.5vw, 1.6rem);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

.resume-card h3 {
    margin: 0 0 0.65rem;
    color: #4f4030;
    font-size: 1.15rem;
}

.resume-card p {
    margin: 0;
    line-height: 1.7;
}

.resume-statement {
    margin-top: clamp(2rem, 4vw, 3rem);
}

@media (max-width: 992px) {
    .resume-intro {
        grid-template-columns: 1fr;
    }

    .resume-intro__image {
        justify-self: start;
        max-width: 300px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .timeline-year {
        padding-top: 0.8rem;
    }

    .resume-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .resume-hero {
        padding-top: 7rem;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline::before {
        left: 8px;
    }

    .timeline-item::before {
        left: -23px;
        top: 0.9rem;
    }

    .resume-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

 /* ===================================================
           RECHTLICHE SEITEN
           Ergänzende Styles passend zum bestehenden Design
        =================================================== */

 .legal-page {
     padding-top: clamp(8rem, 12vw, 11rem);
     padding-bottom: clamp(3rem, 7vw, 5rem);
 }

 .legal-content {
     max-width: 920px;
 }

 .legal-content h1 {
     margin-bottom: 1rem;
 }

 .legal-content h2 {
     margin-top: clamp(2rem, 4vw, 3rem);
     margin-bottom: 0.85rem;
     color: #4f4030;
 }

 .legal-content h3 {
     margin-top: 1.4rem;
     margin-bottom: 0.5rem;
     color: #4f4030;
 }

 .legal-content p,
 .legal-content li {
     line-height: 1.75;
 }

 .legal-content ul {
     margin: 0.75rem 0 1.25rem 1.25rem;
     padding: 0;
 }

 .legal-box {
     margin-top: clamp(1.5rem, 3vw, 2.25rem);
     padding: clamp(1.15rem, 2.5vw, 1.6rem);
     border-radius: 20px;
     background: rgba(255, 255, 255, 0.55);
     backdrop-filter: blur(10px);
     box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
 }

 .legal-small {
     color: rgba(47, 41, 35, 0.72);
     font-size: 0.95rem;
 }

 .legal-back {
     display: inline-flex;
     align-items: center;
     gap: 0.4rem;
     margin-top: 2rem;
     font-weight: 700;
     text-decoration: none;
 }

 @media (max-width: 768px) {
     .legal-page {
         padding-top: 7rem;
     }
 }