/* Persönliche Website. Keine externen Schriften oder Skripte (schnell, datenschutzfreundlich). */
:root {
  --bg: #f6f3ec;
  --paper: #fffdf8;
  --ink: #1c1f1d;
  --ink-2: #4a504c;
  --muted: #7a807c;
  --line: #e3ded2;
  --accent: #1f5f4e;
  --accent-hover: #174a3d;
  --accent-ink: #ffffff;
  --accent-soft: #dde9e2;
  --mark: #f2cc66;
  --dark: #17322a;
  --dark-ink: #f3efe6;
  --dark-ink-2: #b9c9c1;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --container: 1100px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121413;
    --paper: #1a1d1b;
    --ink: #eceeed;
    --ink-2: #c1c8c4;
    --muted: #8d9490;
    --line: #2b302d;
    --accent: #7ccdb3;
    --accent-hover: #98dac5;
    --accent-ink: #0d1a16;
    --accent-soft: #1c2f28;
    --mark: #8a6d1f;
    --dark: #0c1d18;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Kopfzeile */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 66px;
}
.nav .name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.nav nav {
  display: flex;
  gap: 26px;
}
.nav nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 16px;
}
.nav nav a:hover {
  color: var(--ink);
}
@media (max-width: 720px) {
  .nav nav {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s, border-color 0.15s;
}
.btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-ghost {
  color: var(--ink);
  border: 1.5px solid color-mix(in srgb, var(--ink) 25%, transparent);
}
.btn-ghost:hover {
  border-color: var(--ink);
}
.nav .btn {
  min-height: 40px;
  padding: 0 18px;
  font-size: 15px;
}

/* Einstieg */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 104px;
}
.label {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(46px, 7.4vw, 86px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0 0 30px;
}
.marker {
  background: linear-gradient(transparent 64%, var(--mark) 64%, var(--mark) 92%, transparent 92%);
  padding: 0 0.06em;
}
.hero .lead {
  font-size: clamp(19px, 2.1vw, 22px);
  color: var(--ink);
  margin: 0 0 16px;
  max-width: 32em;
}
.hero p {
  color: var(--ink-2);
  margin: 0 0 16px;
  max-width: 34em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* Bild im Einstieg: echte Arbeit (aleana) auf Computer und Handy, dazu das Foto als Polaroid, sobald es da ist */
.hero-visual {
  position: relative;
  padding: 0 0 56px 44px;
}
.hero-browser {
  position: relative;
}
.hero-phone {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 31%;
}
.hero-visual-note {
  position: absolute;
  right: 0;
  bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
}
.hero-visual-note:hover {
  color: var(--accent);
}

/* Handy-Rahmen für Bildschirmfotos */
.phone {
  border: 6px solid #1c1f1d;
  border-radius: 24px;
  overflow: hidden;
  background: #1c1f1d;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 2px 6px rgba(0, 0, 0, 0.1), 0 22px 46px rgba(40, 35, 20, 0.22);
}
.phone img {
  width: 100%;
  aspect-ratio: 1 / 2;
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
}

/* Foto im Polaroid-Stil */
.polaroid {
  margin: 0;
  background: var(--paper);
  padding: 10px 10px 0;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 22px 50px rgba(40, 35, 20, 0.2);
  transform: rotate(3deg);
  position: absolute;
  top: -44px;
  right: -16px;
  width: 36%;
  max-width: 180px;
}
.polaroid[hidden] {
  display: none;
}
.polaroid .shot {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--accent-soft);
  overflow: hidden;
}
.polaroid .shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.polaroid figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-2);
  padding: 8px 2px 10px;
}
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 44px;
    padding-bottom: 72px;
  }
  .hero-visual {
    max-width: 560px;
    padding: 0 0 48px 32px;
  }
  .polaroid {
    top: -28px;
    right: -8px;
    width: 30%;
  }
  .polaroid figcaption {
    font-size: 13px;
    padding: 5px 2px 7px;
  }
}
@media (max-width: 560px) {
  .phone {
    border-width: 4px;
    border-radius: 16px;
  }
  .phone img {
    border-radius: 12px;
  }
  .hero-visual {
    padding-left: 22px;
  }
  .hero-visual-note {
    font-size: 14px;
    bottom: 10px;
  }
}

/* Abschnitte */
.section {
  padding: 96px 0;
}
.band {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) {
  .section {
    padding: 64px 0;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.intro-text {
  color: var(--ink-2);
  margin: 0;
}
h3 {
  font-size: 19px;
  line-height: 1.35;
  margin: 0 0 6px;
}

/* Preise */
.prices {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
}
.prices li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.prices .what {
  font-weight: 600;
  font-size: 19px;
}
.prices small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 16px;
  margin-top: 2px;
}
.prices .amount {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  white-space: nowrap;
}
.prices .amount span {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  margin-right: 6px;
}
.after-prices {
  margin: 26px 0 0;
  color: var(--ink-2);
}
.fine {
  margin: 12px 0 0;
  font-size: 16px;
  color: var(--muted);
}

/* Beispiele */
.section-head {
  max-width: 660px;
  margin-bottom: 44px;
}
.examples {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) {
  .examples {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}
.examples a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 14px 34px rgba(40, 35, 20, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.frame-bar {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  background: color-mix(in srgb, var(--line) 60%, var(--paper));
  border-bottom: 1px solid var(--line);
}
.frame-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--muted) 45%, transparent);
}
.frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}
.examples a:hover .frame {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 22px 44px rgba(40, 35, 20, 0.16);
}
.example-shot {
  position: relative;
  margin-right: 12px;
}
.example-phone {
  position: absolute;
  right: -12px;
  bottom: -22px;
  width: 27%;
  border-width: 4px;
  border-radius: 16px;
  transition: transform 0.2s;
}
.example-phone img {
  border-radius: 12px;
}
.examples a:hover .example-phone {
  transform: translateY(-8px);
}
.examples h3 {
  font-family: var(--serif);
  font-size: 24px;
  margin: 34px 0 4px;
}
.examples p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
}
.examples .go {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 16px;
  color: var(--accent);
}

/* Vorher, nachher */
.compare-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 22px;
}
.compare-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.compare-pages button {
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  min-height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.compare-pages button:hover {
  border-color: var(--ink-2);
  color: var(--ink);
}
.compare-pages button[aria-pressed='true'] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
}
.compare-caption {
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 44em;
}
.compare-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.compare-switch button {
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}
.compare-switch button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--bg);
}
.compare-wrap[hidden] {
  display: none;
}
.compare-phone .compare-frame {
  max-width: 340px;
  margin: 0 auto;
  border-radius: 28px;
  border-width: 8px;
  border-color: var(--ink);
}
.compare {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}
.frame .compare img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  /* Bilder nicht anfassbar: sonst zieht der Browser beim Schieben das Bild weg */
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.frame .compare .compare-before {
  position: absolute;
  inset: 0;
  height: 100%;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 12px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.compare-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 8px 22px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s;
}
/* zwei kleine Pfeile links und rechts */
.compare-handle span::before,
.compare-handle span::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border: solid #1c1f1d;
  border-width: 0 0 2px 2px;
}
.compare-handle span::before {
  left: 12px;
  transform: rotate(45deg);
}
.compare-handle span::after {
  right: 12px;
  transform: rotate(-135deg);
}
.compare.dragging .compare-handle span {
  transform: scale(1.08);
}
.compare:has(.compare-range:focus-visible) .compare-handle span {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.compare-range {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}
.compare-tag {
  position: absolute;
  top: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.compare-tag-before {
  left: 14px;
  background: rgba(28, 31, 29, 0.78);
  color: #fff;
}
.compare-tag-after {
  right: 14px;
  background: #f2cc66;
  color: #1c1f1d;
}
.compare-notes {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 40px;
}
@media (max-width: 860px) {
  .compare-notes {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.compare-notes li {
  color: var(--ink-2);
  font-size: 16px;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
}
.compare-notes b {
  display: block;
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 4px;
}
#vorher-nachher .fine {
  margin-top: 26px;
}
@media (max-width: 560px) {
  .compare-handle span {
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
  }
  .compare-tag {
    top: 10px;
    font-size: 11px;
    padding: 3px 9px;
  }
  .compare-tag-before {
    left: 10px;
  }
  .compare-tag-after {
    right: 10px;
  }
  .compare-phone .compare-frame {
    max-width: 290px;
  }
  .compare-pages button {
    font-size: 14px;
    min-height: 38px;
    padding: 0 13px;
  }
}

/* Ablauf */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 44px;
  counter-reset: step;
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.steps li {
  counter-increment: step;
  color: var(--ink-2);
  display: grid;
  grid-template-columns: max-content max-content 1fr;
  align-items: center;
  align-content: start;
  column-gap: 16px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}
.step-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.step-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.steps b,
.steps li > span:last-child {
  grid-column: 1 / -1;
}
.steps b {
  display: block;
  color: var(--ink);
  font-size: 19px;
  margin: 14px 0 4px;
}

/* Fragen */
.qa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 44px;
}
@media (max-width: 700px) {
  .qa {
    grid-template-columns: 1fr;
  }
}
.qa p {
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
}

/* Kontakt */
.contact {
  background: var(--dark);
  color: var(--dark-ink);
  padding: 100px 0 110px;
}
.contact h2 {
  color: #fff;
  font-size: clamp(36px, 5vw, 58px);
}
.contact p {
  color: var(--dark-ink-2);
  max-width: 34em;
  margin: 0 0 40px;
}
.contact-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.contact-links small {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-ink-2);
  margin-bottom: 2px;
}
.contact-links a {
  font-family: var(--serif);
  font-size: clamp(26px, 4.2vw, 44px);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid color-mix(in srgb, var(--mark) 80%, transparent);
  word-break: break-word;
}
.contact-links a:hover {
  border-bottom-color: #fff;
}

/* Fusszeile */
.site-footer {
  background: var(--dark);
  color: var(--dark-ink-2);
  font-size: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 22px;
  padding-bottom: 30px;
}
.site-footer .who {
  margin-right: auto;
}
.site-footer a {
  color: var(--dark-ink-2);
}

/* Impressum, Datenschutz */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal {
  padding: 48px 0 72px;
}
.legal .back {
  display: inline-block;
  margin-bottom: 22px;
  font-weight: 600;
  text-decoration: none;
}
.legal h1 {
  font-size: clamp(34px, 5vw, 48px);
}
.legal h2 {
  font-size: 24px;
  margin-top: 36px;
}
.legal p {
  color: var(--ink-2);
}
