*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #18181c;
  --bg-card: #141416;
  --border: rgba(255,255,255,0.10);
  --border-hover: rgba(255,255,255,0.22);
  --text-primary: #f5f3ee;
  --text-secondary: #b0ada6;
  --text-muted: #6a6762;
  --accent: #c8f060;
  --accent-dim: rgba(200,240,96,0.08);
  --accent-glow: rgba(200,240,96,0.15);
  --blue: #4a9eff;
  --blue-dim: rgba(74,158,255,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- NAV --- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 64px;
  background: rgba(10,10,11,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }

.nav-cta {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--bg);
  background: var(--accent);
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

@media (max-width: 900px) {
  nav { padding: 0 1.5rem; gap: 1rem; }
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: 0.72rem; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  nav { justify-content: space-between; }
}

/* --- SECTION SHARED --- */
section { padding: 8rem 3rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--border-hover);
}

.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.section-desc {
  font-size: 1rem;
  color: #c0bdb6;
  max-width: 540px;
  line-height: 1.8;
  font-weight: 400;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text-primary); }
.btn-ghost svg { transition: transform 0.2s; }
.btn-ghost:hover svg { transform: translateX(4px); }

/* --- SERVICE CARDS --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 5rem;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: visible;
}

.service-card {
  background: var(--bg-card);
  padding: 2.5rem;
  transition: background 0.3s;
  position: relative;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.service-card:hover { background: var(--bg-3); }
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover::before { transform: scaleX(1); }

.service-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.service-icon {
  width: 40px; height: 40px;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.service-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.service-card p {
  font-size: 0.9rem;
  color: #c0bdb6;
  line-height: 1.8;
  font-weight: 400;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}
.service-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: #8a8780;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.28rem 0.65rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

/* --- PROJ CARDS --- */
.proj-card {
  background: var(--bg-card);
  padding: 1.5rem;
  transition: background 0.2s;
}
.proj-card:hover { background: var(--bg-3); }
.proj-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.proj-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.proj-year {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.proj-title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.proj-desc {
  font-size: 0.88rem;
  color: #b0ada6;
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 1.25rem;
}
.proj-quote {
  font-size: 0.85rem;
  color: #c8c5be;
  font-style: italic;
  line-height: 1.75;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.proj-author {
  font-style: normal;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* --- CONTACT --- */
.contact-bg {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.contact-glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(200,240,96,0.05) 0%, transparent 70%);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-radius: 8px;
  overflow: visible;
  margin-top: 2rem;
}
.contact-row {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: var(--bg-card);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.contact-row-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  min-width: 80px;
  text-transform: uppercase;
}
.contact-row-val { font-size: 0.9rem; color: #c8c5be; }
.contact-row-val a { color: var(--accent); text-decoration: none; }
.contact-row-val a:hover { text-decoration: underline; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  color: #f0ede7;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  font-weight: 400;
}
.form-control:focus { border-color: var(--accent); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.9rem;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
  margin-top: 0.5rem;
}
.form-submit:hover { opacity: 0.85; }

/* --- FOOTER --- */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  text-decoration: none;
}
.footer-logo span { color: var(--accent); }
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.75rem;
  color: #7a7875;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: 'DM Mono', monospace;
  transition: color 0.2s;
}
.footer-links a:hover { color: #b0ada6; }
.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: #5a5855;
}
@media (max-width: 1024px) and (min-width: 721px) {
  footer { gap: 2rem; flex-wrap: wrap; justify-content: space-between; }
  .footer-links { gap: 1.2rem; }
}
@media (max-width: 720px) {
  footer { flex-wrap: wrap; gap: 1rem; padding: 1.5rem; justify-content: space-between; }
  .footer-hide { display: none; }
  .footer-links { gap: 1rem; }
}

/* --- DIVIDER --- */
.divider { height: 1px; background: var(--border); margin: 0 3rem; }

/* --- PAGE HEADER (Unterseiten) --- */
.page-header {
  padding: 120px 3rem 5rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.page-header-inner { max-width: 1200px; margin: 0 auto; }
.breadcrumb {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 0.5rem; }

.page-title {
  font-family: 'Fraunces', serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.page-subtitle {
  font-size: 1.1rem;
  color: #c0bdb6;
  max-width: 620px;
  line-height: 1.8;
  font-weight: 400;
}

/* --- FAQ --- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 2px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: var(--bg-card);
  border: none;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-3); }
.faq-question.open { background: var(--bg-3); color: var(--accent); }
.faq-icon { font-size: 1.2rem; color: var(--accent); flex-shrink: 0; transition: transform 0.3s; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  background: var(--bg-3);
  padding: 0 1.5rem;
  font-size: 0.9rem;
  color: #c0bdb6;
  line-height: 1.85;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-answer.open { max-height: 300px; padding: 1.25rem 1.5rem; }

/* --- BLOG CARDS --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, background 0.2s;
}
.blog-card:hover { border-color: var(--border-hover); background: var(--bg-3); }
.blog-card-thumb {
  height: 180px;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  color: var(--text-muted);
  opacity: 0.4;
}
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.blog-card-cat {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.blog-card-date {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.blog-card-title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.blog-card-excerpt {
  font-size: 0.87rem;
  color: #b0ada6;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.25rem;
}
.blog-card-link {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- ARTICLE --- */
.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 5rem 3rem 8rem;
}
.article-body h2 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin: 3rem 0 1rem;
  color: var(--text-primary);
}
.article-body h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 0.75rem;
  color: #e8e5df;
}
.article-body p {
  font-size: 1rem;
  color: #c0bdb6;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.article-body ul, .article-body ol {
  margin: 0 0 1.5rem 1.5rem;
  color: #c0bdb6;
  font-size: 0.97rem;
  line-height: 1.85;
}
.article-body li { margin-bottom: 0.5rem; }
.article-body strong { color: var(--text-primary); font-weight: 500; }
.article-callout {
  background: var(--bg-3);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.95rem;
  color: #d0cdc6;
  line-height: 1.8;
}

/* --- LEGAL PAGES --- */
.legal-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 5rem 3rem 8rem;
}
.legal-body h2 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  margin: 2.5rem 0 0.75rem;
  color: var(--text-primary);
}
.legal-body p, .legal-body li {
  font-size: 0.92rem;
  color: #b0ada6;
  line-height: 1.85;
  margin-bottom: 0.75rem;
}
.legal-body ul { margin: 0 0 1rem 1.5rem; }
.legal-body a { color: var(--accent); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }

/* --- COOKIE BANNER --- */
#rc-cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.5rem 1.5rem;
  pointer-events: none;
}
#rc-cookie-banner.rc-banner--visible {
  transform: translateY(0);
  pointer-events: all;
}
#rc-cookie-banner.rc-banner--out {
  transform: translateY(110%);
}
.rc-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  background: #1a1a1e;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.45);
  backdrop-filter: blur(20px);
}
.rc-banner__text { flex: 1; }
.rc-banner__title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: #f0ede7;
  margin-bottom: 0.4rem;
}
.rc-banner__body {
  font-size: 0.83rem;
  color: #9a9790;
  line-height: 1.65;
  margin: 0;
}
.rc-banner__body strong { color: #c0bdb6; font-weight: 500; }
.rc-banner__link {
  color: var(--accent);
  text-decoration: none;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.rc-banner__link:hover { text-decoration: underline; }
.rc-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.rc-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: opacity 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.rc-btn--primary {
  background: var(--accent);
  color: #0a0a0b;
}
.rc-btn--primary:hover { opacity: 0.85; }
.rc-btn--ghost {
  background: transparent;
  color: #9a9790;
  border: 1px solid rgba(255,255,255,0.14);
}
.rc-btn--ghost:hover { border-color: rgba(255,255,255,0.28); color: #c0bdb6; }

.rc-settings {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}
.rc-settings__label {
  font-size: 0.88rem;
  color: #b0ada6;
  margin: 0;
}

@media (max-width: 720px) {
  .rc-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.25rem;
  }
  .rc-banner__actions { justify-content: stretch; }
  .rc-btn { flex: 1; text-align: center; }
}

/* scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }

/* responsive */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  section { padding: 5rem 1.5rem; }
  .page-header { padding: 100px 1.5rem 3rem; }
  .article-body, .legal-body { padding: 3rem 1.5rem 5rem; }
}
