/* --- Variablen --- */
:root {
    --color-bg: #F0EFE9;        /* Papier Beige */
    --color-black: #111111;     /* Tiefschwarz */
    --color-red: #E31C25;       /* Bauhaus Rot */
    --color-white: #FFFFFF;
    
    --font-main: 'Archivo', sans-serif;
    
    --border: 2px solid #111;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-black);
    line-height: 1.5;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; filter: grayscale(100%); transition: 0.3s; }
img:hover { filter: grayscale(0%); }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* --- Header --- */
.bauhaus-header {
    padding: 20px 0;
    border-bottom: var(--border);
    background-color: var(--color-bg);
    position: sticky; top: 0; z-index: 1000;
}

.header-grid { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 1.5rem; font-weight: 300; display: flex; align-items: center; gap: 5px; color: var(--color-black); }
.bold { font-weight: 900; }
.shape-circle { width: 15px; height: 15px; background-color: var(--color-red); border-radius: 50%; }
.shape-square { width: 15px; height: 15px; background-color: var(--color-black); }

.geo-nav ul { display: flex; gap: 30px; align-items: center; }
.geo-nav a { font-weight: 700; font-size: 0.9rem; letter-spacing: 1px; color: var(--color-black); }
.geo-nav a:hover, .geo-nav a.active { text-decoration: underline; text-decoration-thickness: 2px; }

.btn-red { background-color: var(--color-red); color: var(--color-white) !important; padding: 10px 20px; text-decoration: none !important; font-weight: bold; }
.btn-red:hover { background-color: var(--color-black); }

.menu-block { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 4px; }
.block { width: 25px; height: 4px; background-color: var(--color-black); }

/* --- Mobile Menu --- */
.mobile-grid {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100%;
    background-color: var(--color-bg); z-index: 2000;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    border-left: 5px solid var(--color-red); transition: 0.4s ease;
}
.mobile-grid.active { right: 0; }
.close-grid { position: absolute; top: 20px; right: 20px; font-size: 2rem; background: none; border: none; cursor: pointer; font-weight: bold; }
.mobile-grid a { font-size: 2.5rem; font-weight: 900; margin: 15px 0; color: var(--color-black); text-transform: uppercase; }
.mobile-grid a:hover { color: var(--color-red); }

/* --- Hero --- */
.hero-bauhaus { display: grid; grid-template-columns: 1fr 1fr; border-bottom: var(--border); min-height: 600px; }

.hero-left { padding: 60px; display: flex; flex-direction: column; justify-content: center; background-color: var(--color-white); border-right: var(--border); }
.hero-left h1 { font-size: 5rem; line-height: 0.9; font-weight: 900; margin-bottom: 30px; letter-spacing: -2px; }
.red-highlight { color: var(--color-red); }
.hero-left p { font-size: 1.2rem; margin-bottom: 40px; max-width: 400px; font-weight: 500; }

.cta-button { font-size: 1.2rem; font-weight: 900; text-decoration: underline; text-decoration-thickness: 3px; }
.cta-button:hover { color: var(--color-red); }

.hero-right { position: relative; background-size: cover; background-position: center; }
.geometric-overlay { position: absolute; top: 20%; left: 20%; width: 150px; height: 150px; border: 10px solid var(--color-red); border-radius: 50%; }

/* --- Modules --- */
.section-padding { padding: 80px 0; }
.section-title { margin-bottom: 60px; display: flex; align-items: center; gap: 20px; }
.section-title h2 { font-size: 3rem; font-weight: 900; text-transform: uppercase; }
.bar-black { flex: 1; height: 10px; background-color: var(--color-black); }

.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: var(--border); }
.module-card { padding: 40px; border-right: var(--border); position: relative; background-color: var(--color-white); transition: 0.3s; }
.module-card:last-child { border-right: none; }
.module-card:hover { background-color: #f9f9f9; }
.module-card.red-bg { background-color: var(--color-red); color: var(--color-white); }
.card-top { font-size: 3rem; font-weight: 900; opacity: 0.2; margin-bottom: 20px; }
.module-card h3 { font-size: 2rem; margin-bottom: 15px; font-weight: 700; }
.shape-ref { width: 40px; height: 40px; border: 4px solid currentColor; margin-top: 30px; }
.circle { border-radius: 50%; }
.triangle { width: 0; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-bottom: 40px solid currentColor; border-top: none; background: transparent; }

/* --- Banner --- */
.banner-typo { background-color: var(--color-black); color: var(--color-bg); padding: 80px 0; overflow: hidden; }
.banner-typo .container { display: flex; align-items: center; gap: 50px; }
.big-char { font-size: 15rem; font-weight: 900; line-height: 0.5; color: var(--color-red); }
.banner-text h3 { font-size: 2.5rem; margin-bottom: 15px; }

/* --- Split (About) --- */
.page-head { margin-bottom: 60px; border-bottom: var(--border); padding-bottom: 20px; }
.page-head h1 { font-size: 4rem; font-weight: 900; color: var(--color-black); }

.split-geo { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.text-geo h2 { font-size: 2rem; margin-bottom: 20px; font-weight: 700; border-left: 10px solid var(--color-red); padding-left: 20px; }
.rect-list { list-style: none; margin-top: 30px; font-weight: 700; }
.rect-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.rect-list li::before { content: ''; width: 10px; height: 10px; background-color: var(--color-black); display: block; }

.img-geo { position: relative; border: var(--border); padding: 10px; background: var(--color-white); }
.overlay-box { position: absolute; bottom: 0; right: 0; background: var(--color-red); color: var(--color-white); padding: 5px 15px; font-weight: bold; }

/* --- Mosaic (Gallery) --- */
.gallery-mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.mosaic-item { background: var(--color-white); padding: 30px; border: var(--border); }
.mosaic-item.red-border { border-color: var(--color-red); border-width: 4px; }
.user-tag { background: var(--color-black); color: var(--color-white); display: inline-block; padding: 2px 8px; font-weight: bold; margin-bottom: 10px; }
.comp-list { margin-top: 20px; font-size: 0.9rem; font-weight: 700; color: var(--color-red); }

/* --- Config Form --- */
.config-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.config-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.studio-info { margin-top: 40px; padding: 20px; border: var(--border); background: var(--color-white); }

.bauhaus-form { background: var(--color-white); padding: 40px; border: 5px solid var(--color-black); }
.form-row { margin-bottom: 25px; }
.form-row label { display: block; margin-bottom: 5px; font-weight: 900; text-transform: uppercase; font-size: 0.9rem; }
.form-row select, .form-row input { width: 100%; padding: 15px; border: 2px solid #ccc; font-family: var(--font-main); font-size: 1rem; background: var(--color-bg); }
.form-row select:focus, .form-row input:focus { border-color: var(--color-red); outline: none; }
.btn-black-full { width: 100%; background: var(--color-black); color: var(--color-white); padding: 20px; border: none; font-weight: 900; font-size: 1.2rem; cursor: pointer; text-transform: uppercase; transition: 0.3s; }
.btn-black-full:hover { background: var(--color-red); }

/* --- Rules (Legal) --- */
.rules-block { max-width: 800px; margin: 0 auto; background: var(--color-white); padding: 60px; border: var(--border); }
.rules-block h1 { font-size: 3rem; font-weight: 900; }
.bar-red { width: 100px; height: 10px; background: var(--color-red); margin: 20px 0 40px; }
.rules-block h3 { margin-top: 30px; margin-bottom: 10px; font-weight: 900; }

/* --- Footer --- */
.bauhaus-footer { padding: 40px 0; border-top: var(--border); margin-top: auto; }
.footer-flex { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.f-nav a { margin: 0 15px; color: var(--color-black); }
.f-nav a:hover { color: var(--color-red); }

@media (max-width: 992px) {
    .geo-nav { display: none; }
    .menu-block { display: flex; }
    .hero-bauhaus { grid-template-columns: 1fr; }
    .hero-left { padding: 40px; }
    .hero-left h1 { font-size: 3.5rem; }
    .hero-right { height: 300px; }
    .module-grid { grid-template-columns: 1fr; }
    .module-card { border-right: none; border-bottom: var(--border); }
    .split-geo, .config-wrapper, .gallery-mosaic, .footer-flex { grid-template-columns: 1fr; flex-direction: column; gap: 30px; text-align: center; }
}