/* DT Digital – dark, calm, editorial, personal */
:root {
  --bg: #0A0F1C;          /* page */
  --bg-2: #0E1526;        /* alternate section */
  --surface: #131C31;     /* cards */
  --surface-2: #18233C;
  --head: #F4F6FA;        /* headings */
  --text: #C4CCD8;        /* body */
  --muted: #8A95A8;
  --line: rgba(148, 163, 184, .14);
  --line-strong: rgba(148, 163, 184, .28);
  --blue: #3B82F6;
  --teal: #14B8A6;
  --ok: #34D399;
  --error: #FB923C;
  --grad: linear-gradient(135deg, #3B82F6, #14B8A6);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { color: var(--head); margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; line-height: 1.05; }
h1 { font-size: clamp(3rem, 8vw, 6.2rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; }
em { font-style: italic; }
h1 em, h2 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; margin-right: -.08em; }
::selection { background: rgba(20, 184, 166, .35); color: #fff; }

.container { width: min(1120px, 100% - 3rem); margin-inline: auto; }
.leaf { width: 16px; height: 14px; flex: none; }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: 999px; font: 500 1rem var(--sans);
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s, background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-ink, .btn-primary { background: var(--head); color: var(--bg); }
.btn-ink:hover, .btn-primary:hover { background: #fff; box-shadow: 0 10px 30px -10px rgba(20, 184, 166, .5); }
.btn-line { border-color: var(--line-strong); color: var(--head); background: transparent; }
.btn-line:hover { border-color: var(--head); }
.btn-light { background: var(--head); color: var(--bg); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link-arrow { font-weight: 500; text-decoration: none; color: var(--head); border-bottom: 1.5px solid var(--line-strong); padding-bottom: 2px; transition: border-color .15s; }
.link-arrow:hover { border-color: var(--teal); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 15, 28, .8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-text { font-weight: 600; color: var(--head); letter-spacing: -.01em; }
.brand-text em { font-family: var(--serif); font-weight: 400; font-size: 1.15em; color: var(--muted); margin-left: .15em; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { text-decoration: none; font-size: .95rem; color: var(--text); }
.site-nav a:hover { color: var(--head); }
.site-nav .nav-cta { color: var(--head); font-weight: 500; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: .45rem 1rem; }
.site-nav .nav-cta:hover { border-color: var(--teal); }
.lang-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px; }
.site-nav .lang-switch a { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; padding: .3rem .6rem; border-radius: 999px; color: var(--muted); }
.site-nav .lang-switch a[aria-current="page"] { background: var(--head); color: var(--bg); }
.site-nav .lang-switch a:not([aria-current="page"]):hover { color: var(--head); }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--head); margin: 6px 0; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero {
  padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(3rem, 7vw, 6rem); position: relative; overflow: hidden;
  background:
    radial-gradient(700px 420px at 88% 18%, rgba(20, 184, 166, .16), transparent 70%),
    radial-gradient(600px 380px at 8% 0%, rgba(59, 130, 246, .14), transparent 70%);
}
.hero::before {
  /* the open ring from the logo as a background gesture */
  content: ""; position: absolute; width: 760px; height: 760px; right: -260px; top: -200px;
  border-radius: 50%; border: 2px solid transparent;
  background: var(--grad) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .35; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 4rem; align-items: end; position: relative; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; font-size: .9rem; color: var(--muted); margin-bottom: 1.6rem; }
.hero h1 { margin-bottom: 1.6rem; }
.lead { font-size: 1.2rem; max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem; margin-top: 2.25rem; }

.logbook {
  background: rgba(19, 28, 49, .85); border: 1px solid var(--line-strong); border-radius: 18px; padding: 1.4rem 1.5rem 1.2rem;
  font-family: var(--mono); font-size: .8rem; color: var(--text);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(20, 184, 166, .06);
  backdrop-filter: blur(6px); transform: rotate(1.2deg);
}
.logbook-head { display: flex; justify-content: space-between; align-items: center; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; padding-bottom: .9rem; border-bottom: 1px dashed var(--line-strong); }
.pill { display: inline-flex; align-items: center; gap: .4rem; color: var(--ok); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(52, 211, 153, .18); }
.logbook ol { list-style: none; margin: 0; padding: 0; }
.logbook li { display: grid; grid-template-columns: 5.2rem 1fr auto; gap: .75rem; align-items: center; padding: .62rem 0; border-bottom: 1px dashed var(--line); }
.logbook li:last-child { border-bottom: 0; }
.logbook time { color: var(--muted); }
.logbook b { color: var(--ok); font-weight: 500; }
.logbook .now span { color: var(--head); font-weight: 500; }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head p { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }
.num { display: block; font-family: var(--mono); font-size: .8rem; color: var(--teal); letter-spacing: .1em; margin-bottom: 1rem; }

.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.services li { padding: 2rem 2.25rem 2rem 0; border-bottom: 1px solid var(--line); }
.services li:nth-child(odd) { border-right: 1px solid var(--line); }
.services li:nth-child(even) { padding-left: 2.25rem; }
.services h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; }
.services h3 { margin-bottom: .5rem; }
.services p { margin: 0; color: var(--muted); font-size: .97rem; }

/* About */
.about { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: center; }
.portrait {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  max-width: 380px; width: 100%; justify-self: center; position: relative;
  background: radial-gradient(circle at 30% 25%, #1C2945, #0E1526 70%);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), inset 0 0 0 1px var(--line-strong);
}
.portrait img { width: 62%; }
.portrait img[src$=".jpg"], .portrait img[src$=".png"], .portrait img[src$=".webp"] { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.big { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.3; color: var(--head); margin-bottom: 1.25rem; }
.promises { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .65rem; }
.promises li { display: flex; align-items: center; gap: .7rem; color: var(--head); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.steps li { position: relative; padding-top: 1.5rem; border-top: 2px solid var(--line-strong); }
.steps li:first-child { border-image: var(--grad) 1; }
.steps span { font-family: var(--mono); font-size: .75rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.steps h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; margin: .4rem 0 .5rem; }
.steps p { color: var(--muted); margin: 0; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 2rem; }
.plan h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; }
.price { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--head); margin: 1rem 0 .4rem; }
.price small { font-family: var(--sans); font-size: .9rem; color: var(--muted); margin-left: .2rem; }
.price-text { font-size: 2.3rem; padding: .55rem 0; }
.plan-desc { color: var(--muted); font-size: .95rem; }
.plan ul { list-style: none; margin: .5rem 0 2rem; padding: 0; flex: 1; }
.plan li { padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.plan li:last-child { border-bottom: 0; }
.plan-featured {
  background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent; box-shadow: 0 30px 70px -35px rgba(20, 184, 166, .45);
}
.tag { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #5EEAD4; margin-bottom: .75rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }
.faq-grid .section-head { margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.3rem 2.5rem 1.3rem 0; font-weight: 500; color: var(--head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: 1.8rem; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 2.5rem 1.3rem 0; margin: 0; }

/* Quote */
.quote { background: var(--bg-2); }
.quote-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4.5rem; align-items: start; }
.quote-intro { position: sticky; top: 110px; }
.quote-intro h2 { margin-bottom: 1.25rem; }
.quote-intro p { color: var(--muted); font-size: 1.05rem; }
[hidden] { display: none !important; }
.form-closed { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.5rem); }
.form-closed h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; margin-bottom: .75rem; }
.form-closed p:last-child { color: var(--muted); margin: 0; }
.quote-form { display: grid; gap: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.5rem); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field { display: grid; gap: .3rem; }
.field label { font-size: .8rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--head); background: transparent;
  border: 0; border-bottom: 1.5px solid var(--line-strong); border-radius: 0; padding: .55rem 0;
  transition: border-color .15s;
}
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238A95A8' stroke-width='1.5'/%3E%3C/svg%3E") right .2rem center/12px no-repeat; padding-right: 1.5rem; }
.field select option { background: var(--surface); color: var(--head); }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #5D6779; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); }
.field.invalid input, .field.invalid textarea { border-color: var(--error); }
.field .error-msg { color: var(--error); font-size: .8rem; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: .3rem; width: 17px; height: 17px; accent-color: var(--teal); flex: none; }
.consent.invalid span { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.5em; font-size: .95rem; }
.form-status.success { color: var(--ok); font-weight: 500; }
.form-status.error { color: var(--error); }

/* Footer */
.site-footer { background: #060A14; color: var(--muted); padding: 2.75rem 0; font-size: .88rem; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between; }
.footer-meta, .footer-copy { margin: 0; }
.footer-meta a { color: var(--head); }

/* Simple pages (bedankt.html) */
.narrow { width: min(720px, 100% - 3rem); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .faq-grid, .quote-grid { grid-template-columns: 1fr; gap: 3rem; }
  .logbook { transform: none; max-width: 460px; }
  .steps, .plans { grid-template-columns: 1fr; }
  .plans { max-width: 480px; }
  .portrait { max-width: 260px; justify-self: start; }
  .quote-intro { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { width: min(1120px, 100% - 2rem); }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 1rem 1.25rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav .nav-cta { margin-top: 1rem; text-align: center; border-bottom: 1.5px solid var(--line-strong); }
  .site-nav .lang-switch { align-self: flex-start; margin-top: 1rem; }
  .site-nav .lang-switch a { border-bottom: 0; padding: .45rem .9rem; font-size: .8rem; }
  .hero::before { width: 460px; height: 460px; right: -220px; top: -120px; }
  .services { grid-template-columns: 1fr; }
  .services li { padding: 1.4rem 0 !important; border-right: 0 !important; }
  .field-row { grid-template-columns: 1fr; }
  .logbook li { grid-template-columns: 4.4rem 1fr auto; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
