/* ===================================
   HOHENSCHÄFTLARN – Design System
   Exakt aus PowerPoint-Vorlage
   =================================== */

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

:root {
    /* Farben aus PPTX */
    --gray-bg:        #A8A59E;   /* slide background */
    --gray-bg-dark:   #9A9690;   /* etwas dunkler für Header */
    --white:          #FFFFFF;
    --text-on-gray:   #FFFFFF;
    --text-on-white:  #3D3A37;
    --heading-on-white: #5A5550;

    /* Schriften aus PPTX Theme */
    --font-heading: 'Calibri Light', Calibri, 'Segoe UI Light', Arial, sans-serif;
    --font-body:    Calibri, 'Segoe UI', Arial, sans-serif;

    /* Layout */
    --max-width: 1100px;
    --gap: 1.5rem;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    background: var(--gray-bg);
    color: var(--text-on-gray);
}

/* ===================================
   HEADER
   =================================== */

header {
    background: var(--gray-bg-dark);
    position: sticky;
    top: 0;
    z-index: 200;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.02em;
}

/* Desktop Nav */
.nav-desktop {
    display: flex;
    gap: 2.5rem;
}

.nav-desktop a {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.nav-desktop a:hover { opacity: 1; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile {
    display: none;
    flex-direction: column;
    background: var(--gray-bg-dark);
    border-top: 1px solid rgba(255,255,255,0.15);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s;
}

.nav-mobile a:hover { background: rgba(0,0,0,0.15); }

/* ===================================
   SEITE: GRAUER BEREICH (oben)
   =================================== */

.section-gray {
    background: var(--gray-bg);
    color: var(--text-on-gray);
}

.section-gray a { color: var(--white); }

/* ===================================
   TITELBLOCK
   =================================== */

.title-block {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.title-block h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin-bottom: 0.4rem;
}

.title-block .tagline {
    font-family: var(--font-body);
    font-size: 1.05rem;
    opacity: 0.9;
}

/* ===================================
   BILDLAYOUT – exakt wie PPTX
   Links: großes Bild (57% Breite)
   Rechts: zwei Bilder übereinander
   =================================== */

.images-pptx {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem 2.5rem;
    display: grid;
    grid-template-columns: 57fr 43fr;
    grid-template-rows: auto auto;
    gap: 0.5rem;
}

.img-main {
    grid-column: 1;
    grid-row: 1 / 3;
}

.img-top-right {
    grid-column: 2;
    grid-row: 1;
}

.img-bottom-right {
    grid-column: 2;
    grid-row: 2;
}

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

.img-top-right img,
.img-bottom-right img {
    aspect-ratio: 16/9;
}

/* ===================================
   LAGE-BEREICH (noch grau)
   =================================== */

.lage-block {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 2rem 2.5rem;
}

.lage-block h2 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0.8rem;
}

.lage-block ul {
    list-style: disc;
    padding-left: 1.4rem;
}

.lage-block li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.4rem;
}

/* ===================================
   SEITE: WEISSER BEREICH (Bestand + Projektideen)
   =================================== */

.section-white {
    background: var(--white);
    color: var(--text-on-white);
}

.section-white a { color: var(--text-on-white); }

.white-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 2rem;
}

.white-inner h2 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--heading-on-white);
    margin-bottom: 0.8rem;
}

.white-inner ul {
    list-style: disc;
    padding-left: 1.4rem;
    margin-bottom: 2rem;
}

.white-inner li {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.4rem;
    color: var(--text-on-white);
}

/* Projektideen Icons-Grid */
.projektideen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.projekt-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}

.projekt-icon {
    font-size: 2rem;
    color: var(--heading-on-white);
    opacity: 0.85;
    line-height: 1;
}

.projekt-item h3 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--heading-on-white);
    line-height: 1.3;
}

.projekt-item p {
    font-size: 0.9rem;
    color: var(--text-on-white);
    line-height: 1.6;
}

/* ===================================
   SEITE: ANLEIHE (wieder grau)
   =================================== */

.anleihe-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 2rem;
}

.anleihe-heading {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.anleihe-meta {
    margin-bottom: 2rem;
}

.anleihe-meta h3 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
}

.anleihe-meta p {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0;
}

.dokumente-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.dokument-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dokument-item p {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
}

.dokument-item a {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: underline;
    color: var(--white);
    transition: opacity 0.2s;
}

.dokument-item a:hover { opacity: 0.7; }

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

footer {
    background: var(--gray-bg-dark);
    border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.footer-inner p {
    font-size: 0.8rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    /* Nav */
    .nav-desktop { display: none; }
    .hamburger   { display: flex; }

    /* Titel */
    .title-block h1 { font-size: 2rem; }

    /* Bildlayout: Stapeln */
    .images-pptx {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .img-main        { grid-column: 1; grid-row: 1; }
    .img-top-right   { grid-column: 1; grid-row: 2; }
    .img-bottom-right{ grid-column: 1; grid-row: 3; }

    .img-main img { aspect-ratio: 16/9; }

    /* Projektideen */
    .projektideen-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Dokumente */
    .dokumente-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    /* Inner padding */
    .title-block,
    .images-pptx,
    .lage-block,
    .white-inner,
    .anleihe-inner,
    .footer-inner {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
}

@media (max-width: 480px) {
    .title-block h1 { font-size: 1.6rem; }
    .anleihe-heading { font-size: 1.5rem; }

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

    .header-inner { padding: 0.9rem 1.2rem; }
}
