/*
========================================
style.css
Globale Basis-Styles
========================================
*/

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--text-primary);
    background: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Medien */
img,
video {
    max-width: 100%;
    display: block;
}

img {
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Listen */
ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Buttons */
button {
    font: inherit;
    border: none;
    cursor: pointer;
}

/* Überschriften */
h1,
h2,
h3,
h4,
p {
    margin: 0;
}

h1 {
    font-size: clamp(48px, 5vw, 108px);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

h2 {
    font-size: clamp(36px, 5vw, 72px);
    line-height: 1;
    letter-spacing: -0.045em;
	margin-bottom: 10px;
}

h3 {
    font-size: clamp(20px, 2.5vw, 30px);
    line-height: 1.1;
    letter-spacing: -0.035em;
}

p {
    font-size: clamp(16px, 1.4vw, 20px);
    color: var(--text-secondary);
}

/* Globale Layout-Klassen */
.section {
    padding: var(--space-xl) var(--container-padding);
}

.section-dark {
    background: var(--color-dark);
    color: var(--text-inverted);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.72);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg);
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-md);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-md);
}

/* Utility */
.text-center {
    text-align: center;
}

.text-large {
    font-size: clamp(22px, 2.5vw, 36px);
    line-height: 1.25;
}

.mt-sm {
    margin-top: var(--space-sm);
}

.mt-md {
    margin-top: var(--space-md);
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mt-xl {
    margin-top: var(--space-xl);
}

/*
========================================
Responsive Basisverbesserungen
========================================
*/

/* Verhindert horizontales Scrollen durch Animationen oder breite Inhalte */
body {
    overflow-x: hidden;
}

/* Sauberer Ankerabstand bei Sticky Navigation */
section[id] {
    scroll-margin-top: 96px;
}

/* Fokuszustände für Tastaturbedienung */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

/* Bessere Lesbarkeit bei langen Texten */
p {
    max-width: 72ch;
}

/* Bilder wirken stabiler beim Laden */
img {
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
}

/* Klickflächen auf Touch-Geräten */
a,
button {
    -webkit-tap-highlight-color: transparent;
}

/*
========================================
Scrollbar
========================================
*/

/* Chrome, Edge, Safari */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gray);
    border-radius: 20px;
    border: 3px solid var(--color-gray-light);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-dark);
}

/* Firefox */

html {
    scrollbar-width: thin;
    scrollbar-color: var(--color-gray) var(--color-gray-light);
}

/* Firefox */

html {
    scrollbar-color: #777 #ececec;
    scrollbar-width: thin;
}

/*
========================================
Textauswahl
========================================
*/

::selection {
    background: var(--color-accent);
    color: var(--color-white);
}

::-moz-selection {
    background: var(--color-accent);
    color: var(--color-white);
}


/* ======================================================
   General Design Philosophy
====================================================== */

.design-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
}

.design-column {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.design-image {
    width: 560px;
    margin: 0;
}

.design-image img {
    display: block;
    width: 100%;
    height: auto;
}

.design-box {
    background: rgba(20,20,20,.95);
    border: 1px solid rgba(198,166,90,.45);
    border-radius: 10px;
	padding:1.15rem 1.6rem;
  /*  box-shadow: 0 18px 40px rgba(0,0,0,.22);*/
}

.design-box p{
    margin:0;
    line-height:1.65;
    font-size:clamp(0.90rem,0.85vw,0.98rem);
	color:#f6f1e7;
}

@media (max-width:1100px){

    .design-layout{
        grid-template-columns:1fr;
    }

    .design-image{
        width:min(420px,90%);
        margin:0 auto;
        order:-1;
    }

    .design-column{
        gap:1.25rem;
    }

}

/*
=====================================================
Teil 2 – Investor
=====================================================
*/

.investor-section {
    position: relative;
    padding: clamp(4.5rem, 8vw, 8rem) 0;
    background: #faf6ec;
}

.investor-heading {
    max-width: 900px;
}

.investor-intro {
    max-width: 760px;
    margin-bottom: 0;
    color: #4c4942;
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.7;
}


/*
=====================================================
Investor-Textboxen
=====================================================
*/

.investor-box-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.investor-box {
    padding: clamp(1.15rem, 1.8vw, 1.6rem);

    background:
        linear-gradient(
            145deg,
            rgba(27, 29, 31, 0.98),
            rgba(12, 13, 14, 0.98)
        );

    border: 1px solid rgba(198, 166, 90, 0.48);
    border-radius: 10px;

  /*  box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.025);*/
}

.investor-box p {
    margin: 0;

    color: rgba(225, 220, 208, 0.92);

    font-size: clamp(0.9rem, 0.85vw, 0.98rem);
    line-height: 1.7;
}

.investor-box p + p {
    margin-top: 1rem;
}


/*
=====================================================
Vergleichstabelle
=====================================================
*/

.investor-table {
	width: fit-content;
	max-width: 720px;
    margin: 3.5rem auto 0;

    padding: clamp(0.5rem, 1vw, 0.8rem);

    background: #080a0c;

    border: 1px solid rgba(201, 161, 70, 0.72);
    border-radius: 12px;

   /* box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.24),
        inset 0 0 0 1px rgba(255, 255, 255, 0.025);*/

    overflow: hidden;
	
}

.investor-table img{

    display:block;

    width:100%;
    max-width:700px;

    height:auto;

    margin:auto;

}


/*
=====================================================
Abschlusssatz
=====================================================
*/

.investor-closing {
    position: relative;

    max-width: 980px;
    margin: clamp(3rem, 6vw, 5rem) auto 0;

    padding: clamp(2rem, 4vw, 3.5rem)
             clamp(1.5rem, 4vw, 3rem);

    text-align: center;

    background:#ffffff;

    border-top: 1px solid rgba(201, 161, 70, 0.75);
    border-bottom: 1px solid rgba(201, 161, 70, 0.75);

    /*box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);*/
}

.investor-closing::before,
.investor-closing::after {
    content: "";

    position: absolute;
    left: 50%;

    width: 48px;
    height: 2px;

    background: #c9a146;

    transform: translateX(-50%);
}

.investor-closing::before {
    top: 0;
}

.investor-closing::after {
    bottom: 0;
}

.investor-closing p {
    margin: 0;

    color: #7a5a1d;

    font-size: clamp(1.35rem, 1.2vw, 2.1rem);
    line-height: 1.45;
    font-weight: 500;
}


/*
=====================================================
Responsive
=====================================================
*/

@media (max-width: 800px) {

    .investor-box-grid {
        grid-template-columns: 1fr;
    }

    .investor-table {
        width: 100%;
        padding: 0.35rem;
        border-radius: 8px;
    }

    .investor-closing br {
        display: none;
    }

}

@media (max-width: 520px) {

    .investor-section {
        padding: 4rem 0;
    }

    .investor-box {
        padding: 1.15rem;
    }

    .investor-closing {
        padding: 1.75rem 1.25rem;
    }

}