/* ===== Reset & Basis ===== */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: #111;
    background: #fafafa;
    line-height: 1.5;
}

/* ===== Design-Variablen ===== */
:root {
    --bg: #ffffff;
    --text: #111111;
    --muted: #6b7280;
    --primary: #007aff;
    /* iOS-Blau */
    --surface: #f3f4f6;
    /* helle Karte */
    --ring: rgba(0, 122, 255, .2);

    --blue: #2563eb;
    --green: #16a34a;
    --pink: #e11d48;
    --orange: #f97316;

    --radius: 14px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

/* Hilfsklassen / Layout */
.container {
    width: min(1100px, 92%);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--bg);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

/* ===== Navigation mit iOS-like Indicator ===== */
.navbar {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
}

.nav-link {
    position: relative;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: background .2s ease, color .2s ease;
}

.nav-link:hover {
    background: var(--surface);
}

.nav-link.login {
    margin-left: 12px;
    border: 1px solid #e5e7eb;
}

.nav-indicator {
    position: absolute;
    left: 0;
    bottom: 6px;
    height: 3px;
    width: 70px;
    background: var(--primary);
    border-radius: 999px;
    transform: translateX(0);
    transition: transform .35s ease, width .25s ease;
    pointer-events: none;
}

/* ===== Hero ===== */
.hero {
    text-align: center;
    padding: 40px 0 10px;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 20px;
    justify-content: left;
    align-items: center;
    font-size: clamp(28px, 6vw, 54px);
    margin: 0;
    margin-left: 25%;
}

.logo-grid2 {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 20px;
    justify-content: center;
    align-items: center;
    font-size: clamp(28px, 6vw, 54px);
    margin: 0;
    margin-top: -5%;
}

.subtitle {
    color: black;
    margin-top: 6px;
    margin-right: -40%;
    font-style: bold;
    font-size: large;
}

/* Farbakzente wie im Konzept */
.c-blue {
    color: var(--blue);
}

.c-green {
    color: var(--green);
}

.c-pink {
    color: var(--pink);
}

.c-orange {
    color: var(--orange);
}

/* ===== Transparenz-Bubbles ===== */
.transparency {
    margin-top: 40px;
}

.bubble-title {
    background: #e5e7eb;
    color: #000000;
    padding: 14px 30px;
    border-radius: 22px 22px 22px 22px;
    width: min(680px, 100%);
    margin: 0 auto;
    font-size: 24px
    
    
}

.bubble-content {
    background: rgba(37, 99, 235, .09);
    padding: 18px;
    border-radius:22px 22px 22px 22px;
    width: min(780px, 100%);
    margin: 0 27% 40px;
    box-shadow: var(--shadow);
}

.bubble-content h2 {
    margin: 0 0 6px;
    font-size: 24px;
}

.bubble-content p {
    color: #1f2937;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 14px;
    margin-right: 10px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: transform .08s ease, box-shadow .2s ease;
    box-shadow: 0 6px 18px var(--ring);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn.outline {
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--primary);
    box-shadow: none;
}

.actions {
    margin-top: 12px;
}

/* ===== Money / Fortschritt ===== */
.money {
    margin: 60px auto;
}

.money h2 {
    text-align: center;
    font-style: italic;
}

.goal-card {
    background: #d1fae5;
    /* sanftes Grün */
    width: min(860px, 100%);
    margin: 14px auto 0;
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.goal-header {
    margin-bottom: 10px;
}

.progressbar {
    position: relative;
    height: 28px;
    background: #ecfdf5;
    border: 2px solid #10b981;
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    inset: 0 auto 0 0;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    width: 0%;
}

.progress-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #27292e;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

/* ===== Footer ===== */
.site-footer {
    text-align: center;
    color: var(--muted);
    padding: 40px 0 60px;
}

/* ===== Responsive ===== */
@media (max-width: 560px) {
    .nav-link {
        padding: 8px 10px;
    }

    .nav-indicator {
        bottom: 4px;
        height: 2px;
    }

    .logo-grid {
        grid-template-columns: 1fr;
    }
}