:root {
  --bg: #0d0d0d;
  --bg-elevated: #151515;
  --graphite: #1a1a1a;
  --yellow: #f6c700;
  --ivory: #fff8e6;
  --text-main: #f5f5f5;
  --text-muted: #aaaaaa;
  --border-subtle: #262626;
  --radius-lg: 20px;
  --radius-xl: 26px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  background: radial-gradient(circle at top left, #1f1f1f 0, #050505 45%, #000 100%);
  color: var(--text-main);
  min-height: 100vh;
}

/* globale Links (kein Blau mehr) */
a {
  color: var(--yellow);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Layout */

.header,
.footer {
  padding-inline: 1.5rem;
}

.main {
  flex: 1;
  padding-inline: 1.5rem;
}

@media (min-width: 900px) {
  .header,
  .main,
  .footer {
    padding-inline: 3.5rem;
  }
}

/* Header */

.header {
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.nav-link:hover {
  color: var(--ivory);
  border-color: rgba(246, 199, 0, 0.35);
  background: rgba(15, 15, 15, 0.9);
}

.nav-link-active {
  color: var(--ivory);
  border-color: rgba(246, 199, 0, 0.7);
  background: radial-gradient(circle at top left, rgba(246, 199, 0, 0.22), transparent);
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-switch {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(246, 199, 0, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-square {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid var(--yellow);
  display: inline-block;
}

.logo-stem {
  position: absolute;
  width: 8px;
  height: 10px;
  border-radius: 3px;
  border: 1px solid var(--yellow);
  border-bottom: none;
  top: 4px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory);
}

.logo-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Hero (Startseite) */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr);
  gap: 2.5rem;
  padding-block: 2.5rem 2.8rem;
}

.hero-content {
  max-width: 620px;
}

.hero-panel {
  display: none;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
  }

  .hero-panel {
    display: block;
  }
}

/* Page Header (Services etc.) */

.page-header {
  padding-block: 2.6rem 2rem;
  max-width: 720px;
}

.page-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.page-title {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 3vw, 2.4rem);
  line-height: 1.15;
  color: var(--ivory);
}

.page-intro {
  margin: 0;
  font-size: 0.95rem;
  color: #d3d3d3;
  max-width: 38rem;
}

/* Eyebrow (Landing) */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.6rem;
}

.eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, var(--yellow), transparent);
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 0.9rem;
  color: var(--ivory);
}

.hero-text {
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
  max-width: 36rem;
  color: #d7d7d7;
}

/* Highlight */

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(246, 199, 0, 0.4);
  background: radial-gradient(circle at left, rgba(246, 199, 0, 0.12), transparent);
  margin-bottom: 1.7rem;
}

.hero-highlight .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 14px rgba(246, 199, 0, 0.6);
}

.hero-highlight-text {
  font-size: 0.8rem;
  color: var(--ivory);
}

/* CTA row */

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cta-row {
    flex-direction: row;
    align-items: center;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--yellow);
  background: radial-gradient(circle at top left, #f6c700, #d9aa00);
  color: #111111;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.85);
}

.cta-info {
  max-width: 360px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cta-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--ivory);
  margin-bottom: 0.15rem;
}

.cta-text a {
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 199, 0, 0.4);
}

.cta-text a:hover {
  border-bottom-color: rgba(246, 199, 0, 0.9);
}

/* Panel (right side) */

.panel-frame {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(145deg, rgba(21, 21, 21, 0.9), rgba(5, 5, 5, 0.95));
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.85),
    inset 0 0 0 1px rgba(246, 199, 0, 0.08);
  padding: 1.1rem 1.1rem 1rem;
  position: relative;
  overflow: hidden;
}

.panel-frame::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(246, 199, 0, 0.11), transparent 55%);
  pointer-events: none;
}

.panel-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(246, 199, 0, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
  background: rgba(10, 10, 10, 0.8);
  position: relative;
}

.panel-body {
  position: relative;
  margin-top: 0.9rem;
  padding: 0.85rem 0.75rem 0.8rem;
  border-radius: var(--radius-lg);
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  padding-block: 0.35rem;
}

.panel-row:first-of-type {
  padding-top: 0;
}

.panel-row:last-of-type {
  padding-bottom: 0.3rem;
}

.panel-label {
  color: var(--text-muted);
}

.panel-value {
  color: var(--ivory);
  text-align: right;
}

.panel-divider {
  height: 1px;
  margin-block: 0.65rem;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.panel-footnote {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Footer */

.footer {
  padding-block: 1.3rem 1.6rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer a {
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer a:hover {
  border-bottom-color: rgba(246, 199, 0, 0.7);
}

.footer-divider {
  opacity: 0.5;
}

/* Small screens */

@media (max-width: 480px) {
  .hero {
    padding-block: 1.8rem 2.2rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }
}

/* Services – Wrapper & Note */

.services-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.services-note {
  padding-block: 0 2.6rem;
}

.note-card {
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.95), rgba(5, 5, 5, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 1.2rem 1.1rem;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.9),
    inset 0 0 0 1px rgba(246, 199, 0, 0.06);
}

.note-title {
  margin: 0 0 0.6rem;
  font-size: 0.98rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
}

.note-text {
  margin: 0 0 0.6rem;
  font-size: 0.86rem;
  color: #d2d2d2;
}

.note-cta {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

@media (min-width: 640px) {
  .note-cta {
    flex-direction: row;
    align-items: center;
  }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(246, 199, 0, 0.7);
  background: rgba(12, 12, 12, 0.95);
  color: var(--ivory);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.btn-secondary:hover {
  border-color: rgba(246, 199, 0, 0.95);
  background: rgba(18, 18, 18, 0.98);
  transform: translateY(-1px);
}

.note-cta-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Services – Accordion Layout */

.services-section {
  padding-block: 0 1.6rem;
}

.section-title {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-item {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(10, 10, 10, 0.9);
  padding: 0.45rem 0.6rem 0.6rem;
}

.service-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
  padding: 0.4rem 0.3rem;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
}

.service-toggle-text {
  text-align: left;
}

.service-title {
  margin: 0 0 0.1rem;
  font-size: 0.98rem;
  color: var(--ivory);
}

.service-tagline {
  margin: 0;
  font-size: 0.82rem;
  color: #d3d3d3;
}

.service-toggle-icon {
  font-size: 1rem;
  line-height: 1;
  color: var(--yellow);
  padding-top: 0.15rem;
}

/* Details ein-/ausklappen */

.service-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.22s ease, opacity 0.18s ease;
  opacity: 0;
}

.service-item.is-open .service-details {
  max-height: 260px; /* reicht für die paar Zeilen */
  opacity: 1;
  margin-top: 0.35rem;
}

.service-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.service-list li {
  margin-bottom: 0.1rem;
}
