:root {
--purple: #534AB7;
--purple-light: #EEEDFE;
--purple-dark: #3C3489;
--purple-mid: #AFA9EC;
--teal: #1D9E75;
--teal-light: #E1F5EE;
--coral: #D85A30;
--coral-light: #FAECE7;
--text: #1a1a1a;
--text-muted: #666;
--text-faint: #999;
--bg: #fafaf8;
--bg-card: #ffffff;
--border: rgba(0,0,0,0.08);
--border-strong: rgba(0,0,0,0.15);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: 'DM Sans', sans-serif;
background: var(--bg);
color: var(--text);
font-size: 16px;
line-height: 1.7;
overflow-x: hidden;
}
nav {
position: fixed; top: 0; left: 0; right: 0; z-index: 100;
padding: 1rem 2rem;
display: flex; justify-content: space-between; align-items: center;
background: rgba(250,250,248,0.85);
backdrop-filter: blur(12px);
border-bottom: 0.5px solid var(--border);
}
.nav-logo {
font-family: 'Syne', sans-serif; font-weight: 800; font-size: 18px;
color: var(--text); text-decoration: none; letter-spacing: -0.02em;
}
.nav-logo span { color: var(--purple); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
font-size: 14px; color: var(--text-muted);
text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.hero {
min-height: 100vh;
display: flex; flex-direction: column; justify-content: center;
padding: 8rem 2rem 4rem;
max-width: 900px; margin: 0 auto;
position: relative;
}
.hero-badge {
display: inline-flex; align-items: center; gap: 8px;
font-size: 12px; font-weight: 500;
padding: 5px 14px; border-radius: 20px;
background: var(--purple-light); color: var(--purple-dark);
margin-bottom: 2rem; letter-spacing: 0.05em;
width: fit-content;
animation: fadeUp 0.6s ease both;
}
.hero-badge::before {
content: ''; width: 6px; height: 6px;
border-radius: 50%; background: var(--purple);
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 {
font-family: 'Syne', sans-serif;
font-size: clamp(38px, 7vw, 76px);
font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
color: var(--text); margin-bottom: 1.5rem;
animation: fadeUp 0.6s 0.1s ease both;
}
.hero h1 em { font-style: normal; color: var(--purple); display: inline-block; }
.hero h1 .strike {
color: var(--text-faint);
display: inline-block;
white-space: nowrap;
text-decoration: line-through;
text-decoration-color: var(--coral);
text-decoration-thickness: 4px;
-webkit-text-decoration-line: line-through;
-webkit-text-decoration-color: var(--coral);
}
.hero h1 .line { display: block; }
.hero h1 .nobreak { white-space: nowrap; }
.hero-sub {
font-size: 18px; color: var(--text-muted);
max-width: 540px; margin-bottom: 2.5rem; font-weight: 300;
animation: fadeUp 0.6s 0.2s ease both;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeUp 0.6s 0.3s ease both; }
.btn-primary {
background: var(--purple); color: #fff; border: none;
padding: 12px 28px; border-radius: 8px;
font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
cursor: pointer; text-decoration: none; display: inline-block;
transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-1px); }
.btn-outline {
background: transparent; color: var(--text);
border: 1px solid var(--border-strong);
padding: 12px 28px; border-radius: 8px;
font-family: 'DM Sans', sans-serif; font-size: 15px;
cursor: pointer; text-decoration: none; display: inline-block;
transition: background 0.2s, transform 0.15s;
}
.btn-outline:hover { background: rgba(0,0,0,0.04); transform: translateY(-1px); }
section {
max-width: 900px; margin: 0 auto;
padding: 5rem 2rem;
border-top: 0.5px solid var(--border);
}
.eyebrow {
font-size: 11px; font-weight: 500; color: var(--purple);
letter-spacing: 0.1em; text-transform: uppercase;
margin-bottom: 0.75rem;
}
.section-title {
font-family: 'Syne', sans-serif;
font-size: clamp(28px, 4vw, 40px);
font-weight: 700; letter-spacing: -0.02em; line-height: 1.15;
margin-bottom: 1.25rem; color: var(--text);
}
.section-body {
font-size: 16px; color: var(--text-muted);
max-width: 580px; margin-bottom: 2rem;
}
.manifesto-block {
background: var(--purple-light);
border-radius: 16px;
padding: 2.5rem; margin-bottom: 2rem;
}
.manifesto-block p { font-size: 16px; color: #3C3489; line-height: 1.8; }
.manifesto-block strong { color: var(--purple-dark); font-weight: 500; }
.quote-pull {
border-left: 3px solid var(--purple);
padding: 0.5rem 0 0.5rem 1.5rem;
margin: 2rem 0;
}
.quote-pull p {
font-family: 'Syne', sans-serif;
font-size: clamp(18px, 2.5vw, 22px);
font-weight: 500; color: var(--text); line-height: 1.5;
}
.quote-pull cite {
font-size: 13px; color: var(--text-faint);
font-style: normal; display: block; margin-top: 0.5rem;
}

/* ===== Work tiles (visual project cards) ===== */
.work-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px; margin-top: 2rem;
}
.work-card {
background: var(--bg-card);
border: 0.5px solid var(--border);
border-radius: 18px; overflow: hidden;
text-decoration: none; color: inherit;
display: flex; flex-direction: column;
transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
animation: fadeUp 0.4s ease both;
}
.work-card:hover {
border-color: var(--border-strong);
transform: translateY(-4px);
box-shadow: 0 14px 40px rgba(0,0,0,0.10);
}
.work-thumb {
position: relative;
aspect-ratio: 16 / 10;
overflow: hidden;
background: var(--purple-light);
border-bottom: 0.5px solid var(--border);
}
.work-thumb img {
width: 100%; height: 100%;
object-fit: cover; display: block;
transition: transform 0.5s ease;
}
.work-card:hover .work-thumb img { transform: scale(1.04); }
.work-badge {
position: absolute; top: 12px; left: 12px;
font-size: 11px; font-weight: 600;
padding: 4px 11px; border-radius: 20px;
background: rgba(255,255,255,0.92);
color: var(--purple-dark);
backdrop-filter: blur(4px);
letter-spacing: 0.01em;
}
.work-live {
position: absolute; top: 12px; right: 12px;
display: inline-flex; align-items: center; gap: 6px;
font-size: 11px; font-weight: 500;
padding: 4px 10px; border-radius: 20px;
background: rgba(29,158,117,0.92); color: #fff;
}
.work-demo {
position: absolute; top: 12px; right: 12px;
display: inline-flex; align-items: center; gap: 6px;
font-size: 11px; font-weight: 500;
padding: 4px 10px; border-radius: 20px;
background: rgba(216,90,48,0.92); color: #fff;
}
.work-live::before {
content: ''; width: 6px; height: 6px; border-radius: 50%;
background: #fff;
}
.work-body { padding: 1.25rem 1.4rem 1.5rem; }
.work-body h3 {
font-family: 'Syne', sans-serif;
font-size: 18px; font-weight: 700;
color: var(--text); margin-bottom: 6px;
display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.work-arrow {
font-size: 16px; color: var(--text-faint);
transition: transform 0.2s, color 0.2s;
}
.work-card:hover .work-arrow { transform: translate(2px,-2px); color: var(--purple); }
.work-body p {
font-size: 14px; color: var(--text-muted);
line-height: 1.6; margin-bottom: 14px;
}
.work-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.work-tag {
font-size: 11px; padding: 3px 10px; border-radius: 20px;
background: var(--purple-light); color: var(--purple-dark);
font-weight: 500;
}
.work-more { margin-top: 1.75rem; font-size: 14px; color: var(--text-muted); }
.work-more a { color: var(--purple); text-decoration: none; font-weight: 500; }
.work-more a:hover { text-decoration: underline; }

.offer-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 16px; margin-top: 2rem;
}
.offer-card {
border: 0.5px solid var(--border);
border-radius: 16px; padding: 1.5rem;
background: var(--bg-card);
transition: border-color 0.2s;
}
.offer-card:hover { border-color: var(--purple-mid); }
.offer-num {
font-family: 'Syne', sans-serif;
font-size: 32px; font-weight: 800;
color: var(--purple-light); line-height: 1;
margin-bottom: 0.75rem;
}
.offer-card h3 {
font-family: 'Syne', sans-serif;
font-size: 16px; font-weight: 700;
color: var(--text); margin-bottom: 8px;
}
.offer-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.banderole {
margin-top: 16px;
background: var(--purple);
border-radius: 16px;
padding: 1.5rem 1.75rem;
display: flex; align-items: center; justify-content: space-between;
gap: 1.5rem; flex-wrap: wrap;
}
.banderole-text { flex: 1 1 340px; }
.banderole-badge {
display: inline-block;
font-size: 11px; font-weight: 500;
letter-spacing: 0.1em; text-transform: uppercase;
background: rgba(255,255,255,0.18); color: #fff;
padding: 4px 12px; border-radius: 20px; margin-bottom: 12px;
}
.banderole h3 {
font-family: 'Syne', sans-serif;
font-size: 20px; font-weight: 700; color: #fff;
letter-spacing: -0.01em; margin-bottom: 8px;
}
.banderole p {
font-size: 14px; color: rgba(255,255,255,0.75);
line-height: 1.6; max-width: 54ch;
}
.banderole-cta {
background: #fff; color: var(--purple-dark);
padding: 12px 24px; border-radius: 8px;
font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500;
text-decoration: none; white-space: nowrap;
transition: background 0.2s, transform 0.15s;
}
.banderole-cta:hover { background: var(--purple-light); transform: translateY(-1px); }
.zeitgeist {
background: var(--text);
border-radius: 20px;
padding: 3.5rem;
text-align: center;
}
.zeitgeist .eyebrow { color: var(--purple-mid); }
.zeitgeist h2 {
font-family: 'Syne', sans-serif;
font-size: clamp(26px, 4vw, 40px);
font-weight: 800; color: #fff;
line-height: 1.2; margin-bottom: 1rem;
letter-spacing: -0.02em;
}
.zeitgeist p {
font-size: 16px; color: rgba(255,255,255,0.6);
max-width: 480px; margin: 0 auto 2rem;
}
footer {
max-width: 900px; margin: 0 auto;
padding: 2rem;
border-top: 0.5px solid var(--border);
display: flex; justify-content: space-between; align-items: center;
flex-wrap: wrap; gap: 1rem;
}
.footer-logo {
font-family: 'Syne', sans-serif;
font-weight: 800; font-size: 16px;
color: var(--text); text-decoration: none;
}
.footer-logo span { color: var(--purple); }
footer p { font-size: 13px; color: var(--text-faint); }
footer a { color: var(--purple); text-decoration: none; }
footer a:hover { text-decoration: underline; }
@keyframes fadeUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.fade-in {
opacity: 0; transform: translateY(24px);
transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 680px) {
.work-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
nav { padding: 1rem; }
.nav-links { display: none; }
.hero { padding: 6rem 1.25rem 3rem; }
.hero h1 { font-size: 36px; }
section { padding: 3rem 1.25rem; }
.zeitgeist { padding: 2.5rem 1.5rem; }
.banderole { padding: 1.5rem 1.25rem; }
.banderole-cta { width: 100%; text-align: center; }
footer { padding: 1.5rem 1.25rem; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) { .hero h1 { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) {
* { animation: none !important; transition: none !important; }
html { scroll-behavior: auto; }
.fade-in { opacity: 1; transform: none; }
}

/* ---------- Sprachwahl in der Navigation ---------- */
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.nav-lang { display: flex; gap: 10px; align-items: center; }
.nav-lang a {
font-size: 12px; font-weight: 500;
color: var(--text-faint); text-decoration: none;
letter-spacing: 0.06em; transition: color 0.2s;
}
.nav-lang a:hover { color: var(--text); }
.nav-lang a.aktiv { color: var(--purple); }

/* ---------- GitHub-Knopf im dunklen Block ---------- */
.btn-ghost {
background: rgba(255,255,255,0.12); color: #fff;
border: 1px solid rgba(255,255,255,0.2);
padding: 12px 28px; border-radius: 8px;
font-family: 'DM Sans', sans-serif; font-size: 15px;
text-decoration: none; display: inline-block;
transition: background 0.2s, transform 0.15s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-1px); }

@media (max-width: 600px) {
.nav-right { gap: 0; }
.nav-lang { gap: 8px; }
}

/* ---------- Blogbeitrag ---------- */
.artikel {
max-width: 720px; margin: 0 auto;
padding: 4rem 2rem 5rem;
}
.artikel-titel {
font-family: 'Syne', sans-serif;
font-size: clamp(32px, 5.5vw, 52px);
font-weight: 800; letter-spacing: -0.03em; line-height: 1.08;
color: var(--text); margin-bottom: 1rem;
}
.artikel-meta {
font-size: 13px; color: var(--text-faint);
letter-spacing: 0.03em; margin-bottom: 3rem;
padding-bottom: 1.5rem;
border-bottom: 0.5px solid var(--border);
}
.artikel-lead {
font-size: 20px; line-height: 1.6; font-weight: 300;
color: var(--text); margin-bottom: 2rem;
}
.artikel h2 {
font-family: 'Syne', sans-serif;
font-size: clamp(22px, 3vw, 28px);
font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;
color: var(--text); margin: 3rem 0 1rem;
}
.artikel p {
font-size: 17px; line-height: 1.75;
color: var(--text-muted); margin-bottom: 1.25rem;
}
.artikel p strong { color: var(--text); font-weight: 500; }
.artikel p em { color: var(--purple-dark); font-style: italic; }
.artikel .banderole { margin-top: 3.5rem; }
.artikel .banderole h3 { margin-bottom: 8px; }
.artikel .banderole p { color: rgba(255,255,255,0.75); font-size: 14px; margin-bottom: 0; }
.nav-back { font-size: 14px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.nav-back:hover { color: var(--text); }
@media (max-width: 600px) {
.artikel { padding: 2.5rem 1.25rem 3.5rem; }
.artikel-lead { font-size: 18px; }
.artikel p { font-size: 16px; }
}

/* ---------- Umbruch-Absicherung: nie Querscrollen auf dem Telefon ----------
   Die Ueberschrift haelt "I architect" bewusst zusammen. In Sprachen mit
   laengeren Woertern (indonesisch "Saya merancang") passt das auf einem
   360er-Display nicht mehr und schob die Seite 43px nach rechts.
   Auf schmalen Schirmen darf sie deshalb umbrechen.                        */
.hero h1 { overflow-wrap: break-word; }
@media (max-width: 700px) {
.hero h1 .nobreak { white-space: normal; }
}

/* Lange Komposita (deutsch: "Verbraucherschlichtungsstelle") duerfen
   umbrechen statt den Absatz breiter zu machen als den Bildschirm. */
p, li, h1, h2, h3, .section-title, .artikel-titel, .work-body h3, .offer-card h3 {
overflow-wrap: break-word;
}
.artikel p, .section-body, .manifesto-block p, .work-body p, .offer-card p, .banderole p {
hyphens: auto;
}
