:root {
    --primary-color: #005A9C;
    --bg-color: #f4f7f6;
    --text-color: #333;
    --tile-bg: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* Elementar für Touch-Displays: Verhindert Text-Markierung durch langes Drücken */
    user-select: none; 
    -webkit-user-select: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    width: 100vw;
    height: 100vh;
    overflow: hidden; /* Vollbild, kein Scrolling im Hub */
    display: flex;
    flex-direction: column;
}

/* --- Dashboard Header --- */
.hub-header {
    text-align: center;
    padding: 60px 20px 20px;
}

.hub-header h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
}

.hub-header p {
    font-size: 1.8rem;
    color: #666;
    margin-top: 10px;
}

/* --- Grid Layout (Landscape optimiert) --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    padding: 40px 100px;
    flex-grow: 1;
    align-items: center;
}

/* --- Kacheln (Tiles) --- */
.tile {
    background-color: var(--tile-bg);
    border-radius: 25px;
    text-decoration: none;
    color: var(--text-color);
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: transform 0.1s, box-shadow 0.1s;
    cursor: pointer;
}

.tile:active {
    transform: scale(0.97); /* Haptisches visuelles Feedback beim Tappen */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tile-icon {
    font-size: 7rem;
    margin-bottom: 30px;
}

.tile h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.tile p {
    font-size: 1.4rem;
    color: #777;
}

/* --- Globaler Home-Button für Unterseiten --- */
.home-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--primary-color);
    color: white;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    z-index: 9999;
}

.home-btn:active {
    transform: scale(0.92);
}