/* ============================================================
   mmvt.de — style.css
   Responsiv: Desktop, Tablet, Smartphone
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;700;900&family=Barlow:wght@400;500&family=Oswald:wght@700&family=Bebas+Neue&family=Rajdhani:wght@700&display=swap');

/* --- Reset & Basis --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--schrift-text), sans-serif;
    background: var(--hero-bg);
    color: var(--text);
    min-height: 100vh;
}

/* --- CSS-Variablen (werden per PHP aus config.php gesetzt) --- */
:root {
    --akzent:      #00c4e8;
    --highlight:   #f0c040;
    --lila:        #a070f0;
    --nav-bg:      #0a1a28;
    --hero-bg:     #0f2233;
    --karten-bg:   #122233;
    --footer-bg:   #060f18;
    --text:        #e8f4f8;
    --text-dim:    #7ab0c4;
    --border:      #1c3a52;
    --schrift-headline: 'Barlow Condensed';
    --schrift-text:     'Barlow';
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    background: var(--nav-bg);
    border-bottom: 2px solid var(--akzent);
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 64px;
}
.nav-logo { text-decoration: none; }
.nav-logo-text {
    font-family: var(--schrift-headline), sans-serif;
    font-weight: 900;
    font-size: 26px;
    letter-spacing: 3px;
    color: var(--akzent);
    line-height: 1;
}
.nav-logo-sub {
    font-size: 9px;
    letter-spacing: 3px;
    color: #4a7a90;
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.nav-links a {
    color: #5a90a8;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 4px;
    transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--akzent); background: rgba(0,196,232,.06); }
.nav-links a.aktiv { color: var(--akzent); }
.nav-links a.nav-login {
    color: var(--akzent);
    border: 1px solid var(--akzent);
    padding: 6px 14px;
}
.nav-links a.nav-login:hover { background: rgba(0,196,232,.1); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 10px; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--nav-bg);
    border: 1px solid var(--border);
    border-top: 2px solid var(--akzent);
    min-width: 200px;
    z-index: 200;
    list-style: none;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: #5a90a8;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(28,58,82,.5);
    transition: color .2s, background .2s;
}
.dropdown-menu a:hover { color: var(--akzent); background: rgba(0,196,232,.06); }

/* Hamburger */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
.nav-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--akzent);
    transition: all .3s;
}
.nav-mobile {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    border-top: 1px solid var(--border);
    border-bottom: 2px solid var(--akzent);
    z-index: 99;
    padding: 8px 0 16px;
}
.nav-mobile.offen { display: block; }
.nav-mobile a {
    display: block;
    padding: 12px 32px;
    color: #5a90a8;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(28,58,82,.3);
}
.nav-mobile a:hover { color: var(--akzent); }
.nav-mobile .mobile-sub {
    padding-left: 48px;
    font-size: 12px;
    background: rgba(0,0,0,.2);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: var(--hero-bg);
    padding: 72px 40px 60px;
    position: relative;
    overflow: hidden;
}
.hero-deko1 {
    position: absolute; right: -40px; top: -40px;
    width: 400px; height: 400px; border-radius: 50%;
    background: var(--akzent); opacity: .04; pointer-events: none;
}
.hero-deko2 {
    position: absolute; right: 100px; top: 60px;
    width: 220px; height: 220px; border-radius: 50%;
    background: var(--akzent); opacity: .04; pointer-events: none;
}
.hero-wm {
    position: absolute; right: 32px; bottom: 16px;
    font-family: var(--schrift-headline), sans-serif;
    font-weight: 900; font-size: 120px;
    color: var(--akzent); opacity: .04;
    letter-spacing: -4px; line-height: 1;
    pointer-events: none; user-select: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 640px; }
.hero-title {
    font-family: var(--schrift-headline), sans-serif;
    font-weight: 900;
    font-size: var(--headline-size, 54px);
    line-height: .95;
    color: #fff;
    margin-bottom: 20px;
}
.hero-title em { color: var(--akzent); font-style: normal; }
.hero-sub {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 520px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
    background: var(--akzent);
    color: #0a1a28;
    font-family: var(--schrift-headline), sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 13px 28px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: opacity .2s;
}
.btn-primary:hover { opacity: .88; }
.btn-secondary {
    background: transparent;
    color: var(--akzent);
    font-family: var(--schrift-headline), sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 13px 28px;
    border: 1px solid var(--akzent);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background .2s;
}
.btn-secondary:hover { background: rgba(0,196,232,.1); }

/* ============================================================
   SEKTIONEN
   ============================================================ */
.sektion {
    padding: 56px 40px;
}
.sektion-dunkel { background: var(--nav-bg); }
.sektion-hell   { background: var(--hero-bg); }

.eyebrow {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--highlight);
    margin-bottom: 8px;
}
.sektion-titel {
    font-family: var(--schrift-headline), sans-serif;
    font-weight: 900;
    font-size: 36px;
    color: #fff;
    margin-bottom: 32px;
    line-height: 1.05;
}
.sektion-text {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 24px;
}

/* ============================================================
   KACHEL-GRID
   ============================================================ */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.kachel {
    background: var(--karten-bg);
    border: 1px solid var(--border);
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: border-color .2s, transform .2s;
}
.kachel:hover { border-color: var(--akzent); transform: translateY(-2px); }
.kachel-stripe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
}
.kachel-num {
    font-family: var(--schrift-headline), sans-serif;
    font-weight: 900;
    font-size: 44px;
    opacity: .1;
    line-height: 1;
    margin-bottom: 6px;
    color: var(--akzent);
}
.kachel-titel {
    font-family: var(--schrift-headline), sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.kachel-text {
    font-size: 13px;
    color: #6aa0b8;
    line-height: 1.55;
}
.kachel-link {
    font-size: 11px;
    color: var(--akzent);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 16px;
    display: block;
}

/* ============================================================
   MIETPARK-LEISTE
   ============================================================ */
.mietpark-leiste {
    background: #071420;
    border-top: 1px solid var(--border);
    padding: 16px 40px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.mietpark-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #4a7a90;
    white-space: nowrap;
}
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
    background: #0e2030;
    border: 1px solid var(--border);
    color: #7ab8cc;
    font-size: 11px;
    padding: 5px 12px;
    letter-spacing: 1px;
}
.pill-dvgw {
    border-color: #1a5a30;
    color: #3db870;
    background: #071a10;
}

/* ============================================================
   UNTERSEITE HEADER
   ============================================================ */
.page-header {
    background: var(--nav-bg);
    padding: 48px 40px 40px;
    border-bottom: 1px solid var(--border);
}
.page-header .eyebrow { margin-bottom: 8px; }
.page-header h1 {
    font-family: var(--schrift-headline), sans-serif;
    font-weight: 900;
    font-size: 48px;
    color: #fff;
    line-height: 1;
}
.breadcrumb {
    font-size: 11px;
    color: #4a7a90;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.breadcrumb a { color: #4a7a90; text-decoration: none; }
.breadcrumb a:hover { color: var(--akzent); }
.breadcrumb span { color: var(--akzent); }

/* Unterseiten-Navigation */
.sub-nav {
    background: var(--hero-bg);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.sub-nav::-webkit-scrollbar { display: none; }
.sub-nav a {
    color: #4a7a90;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 16px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
}
.sub-nav a:hover { color: var(--text-dim); }
.sub-nav a.aktiv { color: var(--akzent); border-bottom-color: var(--akzent); }

/* ============================================================
   BLANKO SEITE
   ============================================================ */
.blanko-box {
    background: var(--karten-bg);
    border: 2px dashed var(--border);
    padding: 60px 40px;
    text-align: center;
    margin: 40px;
}
.blanko-box .blanko-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: .4;
}
.blanko-box h2 {
    font-family: var(--schrift-headline), sans-serif;
    font-size: 28px;
    color: #4a7a90;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.blanko-box p { color: #2a5068; font-size: 13px; }

/* ============================================================
   KONTAKT-FORMULAR
   ============================================================ */
.formular { max-width: 600px; }
.form-gruppe { margin-bottom: 20px; }
.form-gruppe label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4a7a90;
    margin-bottom: 6px;
}
.form-gruppe input,
.form-gruppe textarea,
.form-gruppe select {
    width: 100%;
    background: var(--karten-bg);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--schrift-text), sans-serif;
    outline: none;
    transition: border-color .2s;
}
.form-gruppe input:focus,
.form-gruppe textarea:focus { border-color: var(--akzent); }
.form-gruppe textarea { min-height: 140px; resize: vertical; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--border);
    padding: 24px 40px;
    text-align: center;
}
.footer-adresse {
    font-size: 11px;
    color: #2a5068;
    letter-spacing: 1px;
    line-height: 1.9;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 8px;
}
.footer-links a {
    font-size: 11px;
    color: #2a5068;
    text-decoration: none;
    letter-spacing: 1px;
}
.footer-links a:hover { color: var(--akzent); }

/* ============================================================
   INTERNER BEREICH
   ============================================================ */
.login-wrap {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.login-box {
    background: var(--nav-bg);
    border: 1px solid var(--border);
    padding: 40px;
    width: 100%;
    max-width: 400px;
}
.login-box h2 {
    font-family: var(--schrift-headline), sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: var(--akzent);
    letter-spacing: 2px;
    margin-bottom: 28px;
}
.intern-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: calc(100vh - 64px);
}
.intern-sidebar {
    background: var(--nav-bg);
    border-right: 1px solid var(--border);
    padding: 24px 0;
}
.intern-sidebar .sidebar-label {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #2a5068;
    padding: 0 20px;
    margin-bottom: 8px;
}
.intern-sidebar a {
    display: block;
    padding: 11px 20px;
    color: #5a90a8;
    text-decoration: none;
    font-size: 13px;
    border-left: 3px solid transparent;
    transition: all .2s;
}
.intern-sidebar a:hover { color: var(--akzent); background: rgba(0,196,232,.04); }
.intern-sidebar a.aktiv { color: var(--akzent); border-left-color: var(--akzent); background: rgba(0,196,232,.06); }
.intern-content { padding: 32px 40px; }

/* ============================================================
   ALERT / NACHRICHT
   ============================================================ */
.alert {
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 20px;
    border-left: 3px solid;
}
.alert-fehler  { background: #1a0808; border-color: #a03030; color: #e06060; }
.alert-erfolg  { background: #071a10; border-color: #1a6a3a; color: #3db870; }
.alert-info    { background: #071420; border-color: #1a5a80; color: #40a0c8; }

/* ============================================================
   RESPONSIVE — Tablet (max 900px)
   ============================================================ */
@media (max-width: 900px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .intern-grid { grid-template-columns: 1fr; }
    .intern-sidebar { border-right: none; border-bottom: 1px solid var(--border); padding: 12px 0; }
    .hero { padding: 48px 24px 40px; }
    .sektion { padding: 40px 24px; }
    .hero-title { font-size: 44px; }
}

/* ============================================================
   RESPONSIVE — Smartphone (max 600px)
   ============================================================ */
@media (max-width: 600px) {
    .nav { padding: 0 20px; }
    .nav-links { display: none; }
    .nav-burger { display: flex; }
    .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
    .hero { padding: 36px 20px 32px; }
    .hero-title { font-size: 38px; }
    .hero-wm { display: none; }
    .sektion { padding: 32px 20px; }
    .sektion-titel { font-size: 28px; }
    .page-header { padding: 32px 20px; }
    .page-header h1 { font-size: 36px; }
    .footer { padding: 20px; }
    .mietpark-leiste { padding: 14px 20px; }
    .sub-nav { padding: 0 20px; }
    .intern-content { padding: 24px 20px; }
    .login-box { padding: 28px 20px; }
    .blanko-box { margin: 20px; padding: 40px 20px; }
}
