*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } :root { --royal: #003f8a; --royal-light: #0057c2; --royal-dark: #001f44; --off-white: #f5f8ff; --text-muted: rgba(255,255,255,0.45); --accent: #7ab3ff; --hero-overlay: rgba(0,15,40,0.52); } /* ========================= Base ========================= */ body { background: var(--royal-dark); color: var(--off-white); font-family: 'Barlow', sans-serif; min-height: 100vh; } /* ========================= Nav ========================= */ nav { display: flex; justify-content: space-between; align-items: center; gap: 2em; padding: 1.2rem 2.5rem; background: rgba(0,20,60,0.88); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.07); position: sticky; top: 0; z-index: 100; } nav .logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; letter-spacing: 0.12em; color: #fff; text-decoration: none; } nav ul { list-style: none; display: flex; column-gap: 2rem; row-gap: 0.5em; flex-wrap: wrap; } nav ul a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s; } nav ul a:hover, nav ul a.active { color: #fff; } /* ========================= Hero ========================= */ .hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; background: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url('../img/Hintergrund.jpg') center/cover no-repeat; } .hero-content { position: relative; z-index: 2; padding: 0 3rem; max-width: 820px; animation: fadeUp 0.9s ease both; } @keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } .hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3.5rem, 9vw, 7rem); line-height: 0.95; letter-spacing: 0.03em; color: #fff; text-shadow: 0 4px 40px rgba(0,80,200,0.7); margin-bottom: 1.6rem; } .hero h1 span { color: var(--accent); } .hero p { font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.8; max-width: 480px; margin-bottom: 2.5rem; } /* ========================= Hero-Tag (geteilt) ========================= */ .hero-tag { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 1.2rem; } .page-hero .hero-tag { margin-bottom: 1rem; } /* ========================= Button ========================= */ .btn { display: inline-block; padding: 0.8rem 2.4rem; background: #fff; color: var(--royal-dark); font-family: 'Barlow', sans-serif; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; transition: background 0.2s, color 0.2s, transform 0.15s; } .btn:hover { background: var(--royal-light); color: #fff; transform: translateY(-2px); } /* ========================= Cards ========================= */ .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1px; background: rgba(255,255,255,0.06); } .card { background: var(--royal-dark); padding: 2.5rem 2rem; transition: background 0.3s; } .card:hover { background: var(--royal); } .card .num { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: rgba(255,255,255,0.07); line-height: 1; margin-bottom: 0.8rem; } .card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 0.05em; margin-bottom: 0.5rem; } .card p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.65; font-weight: 300; } /* ========================= Footer ========================= */ footer { text-align: center; padding: 2rem; font-size: 0.78rem; color: rgba(255,255,255,0.22); border-top: 1px solid rgba(255,255,255,0.07); } footer a { color: rgba(255,255,255,0.22); text-decoration: none; margin: 0 0.5rem; } footer a:hover { color: #fff; } /* ========================= Dark-Mode-Toggle ========================= */ #dark-mode-toggle { padding: 0.6rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); cursor: pointer; background: transparent; color: rgba(255,255,255,0.8); font-family: 'Barlow', sans-serif; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; transition: all 0.25s ease; } #dark-mode-toggle:hover { background: rgba(255,255,255,0.08); transform: translateY(-1px); } /* ========================= Unterseiten ========================= */ .page-hero { padding: 5rem 3rem 3.5rem; max-width: 820px; margin: 0 auto; animation: fadeUp 0.9s ease both; } .page-hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.8rem, 7vw, 5rem); line-height: 1; letter-spacing: 0.03em; color: #fff; margin-bottom: 2rem; } .page-hero h1 span { color: var(--accent); } .page { max-width: 820px; margin: 0 auto; padding: 0 3rem 4rem; } .page hr { border: none; border-top: 1px solid rgba(255,255,255,0.07); margin: 2.5rem 0; } .bio, .page p { font-size: 1.05rem; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.9; margin-bottom: 0.6rem; } .skills-label, .page .label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1rem; } .skills { display: flex; flex-wrap: wrap; gap: 0.6rem; } .skill { padding: 0.4rem 1.1rem; border: 1px solid rgba(255,255,255,0.15); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); transition: border-color 0.2s, color 0.2s; } .skill:hover { border-color: var(--accent); color: var(--accent); } /* ========================= Dark Mode ========================= */ body.dark { --hero-overlay: rgba(0,0,0,0.65); --accent: #60a5fa; background: #1e293b; color: #e2e8f0; } body.dark nav { background: rgba(15,23,42,0.95); border-bottom: 1px solid #334155; } body.dark nav ul a { color: rgba(226,232,240,0.7); } body.dark .hero-tag { color: rgba(226,232,240,0.5); } body.dark .hero p { color: rgba(226,232,240,0.8); } body.dark .btn { background: var(--accent); color: #0b1220; } body.dark .btn:hover { background: #3b82f6; } body.dark .card { background: #334155; } body.dark .card:hover { background: #475569; } body.dark .card p { color: rgba(226,232,240,0.75); } body.dark footer { color: rgba(226,232,240,0.6); border-top: 1px solid #334155; } body.dark footer a { color: rgba(226,232,240,0.6); } body.dark #dark-mode-toggle { background: var(--accent); color: #0b1220; border-color: transparent; box-shadow: 0 0 18px rgba(96,165,250,0.4); } body.dark .page p, body.dark .bio { color: rgba(226,232,240,0.8); } body.dark .skill { border-color: rgba(226,232,240,0.2); color: rgba(226,232,240,0.7); }