/* --- Font Faces --- */
/* (Füge hier deine existierenden @font-face Blöcke aus der vorherigen Version ein) */

/* --- Base Styles --- */
:root {
    --bg-color: #F7F7F7;
    --text-color: #0D0D0D;
    --border-color: #0D0D0D;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 0 !important; 
    outline: none !important;    
}

body {
    font-family: 'IMD Grotesk', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.4;
    padding: 2rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Layout & Typography --- */
.border-section {
    border-top: 2px solid var(--border-color);
    padding: 4rem 0;
}

.section-title {
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* --- Hero Section --- */
/* --- Hero Section --- */
header.hero {
    margin-bottom: 4rem;
}

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.meta {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.download-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--text-color);
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: 2px solid var(--text-color);
    transition: all 0s;
}

.download-btn:hover {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Neues Layout für Text und Infobox */
.hero-content {
    display: flex;
    align-items: flex-end; /* Richtet die Box an der Grundlinie des Textes aus */
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap; /* Bricht auf kleineren Bildschirmen um */
}

/* Verkleinerte Schriftgröße und line-height auf 0.8 */
.massive-text {
    font-size: 14vw; 
    font-weight: 700;
    line-height: 0.8; 
    text-transform: uppercase;
    margin: 0;
}

/* Strenge Formatierung für die neue Infobox */
.hero-info-box {
    max-width: 300px;
    border: 2px solid var(--border-color);
    padding: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
    background-color: var(--bg-color);
}

.hero-info-box strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;

}

/* --- Interactive Tester --- */
.tester-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 900px) {
    .tester-grid {
        grid-template-columns: 300px 1fr;
    }
}

.sliders {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.slider-group label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 24px;
    width: 12px;
    background: var(--text-color);
    cursor: pointer;
    margin-top: -10px;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: var(--text-color);
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: var(--text-color);
}

.preview-area {
    font-size: 80px;
    font-weight: 400;
    line-height: 1.2; 
    word-break: break-word;
    min-height: 200px;
    border: 1px dashed transparent;
    padding: 1rem;
    margin: -1rem; 
    transition: border-color 0.2s;
}

/* Subtiles visuelles Feedback, dass das Feld editierbar ist */
.preview-area:focus {
    border-color: #cccccc;
}

/* --- Text Showcase --- */
.text-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 768px) {
    .text-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.info-block {
    border: 2px solid var(--border-color);
    padding: 2rem;
}

.info-block h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.weight-bold { font-weight: 700; }
.weight-light { font-weight: 300; }

.info-block p {
    font-size: 1.2rem;
    font-weight: 400;
    column-count: 1;
}

/* --- Waterfall Showcase --- */
.waterfall-showcase {
    overflow: hidden;
    white-space: nowrap;
}

.waterfall-line {
    font-size: 4vw;
    line-height: 1.2;
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
}

.waterfall-line:last-child {
    border-bottom: none;
}

/* --- Footer --- */
.site-footer {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
}

.footer-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.footer-link:hover {
    text-decoration: underline;
}
	
	
	@font-face {
    font-family: 'IMD Grotesk';
    src: url('assets/IMD-Grotesk-Extralight.woff2') format('woff2'),
         url('assets/IMD-Grotesk-Extralight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IMD Grotesk';
    src: url('assets/IMD-Grotesk-Light.woff2') format('woff2'),
         url('assets/IMD-Grotesk-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IMD Grotesk';
    src: url('assets/IMD-Grotesk-Regular.woff2') format('woff2'),
         url('assets/IMD-Grotesk-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IMD Grotesk';
    src: url('assets/IMD-Grotesk-Medium.woff2') format('woff2'),
         url('assets/IMD-Grotesk-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IMD Grotesk';
    src: url('assets/IMD-Grotesk-Semibold.woff2') format('woff2'),
         url('assets/IMD-Grotesk-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IMD Grotesk';
    src: url('assets/IMD-Grotesk-Bold.woff2') format('woff2'),
         url('assets/IMD-Grotesk-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}