/* NoLimitsCoding: existing violet/blue identity, quiet surfaces, clear typography. */
:root {
  --paper: #f7f7f3;
  --white: #fff;
  --ink: #22232c;
  --muted: #60616b;
  --purple: #67099b;
  --purple-dark: #48066e;
  --lavender: #eeebf4;
  --line: #dddedc;
  --dark: #20212b;
  --radius: 8px;
  --surface-muted: #eeefeb;
  --surface-photo: #ebe9e5;
  --surface-contact: #ebe6f1;
  --surface-input: #fcfcfa;
  --control-border: #bebec6;
  --action: #67099b;
  --action-hover: #48066e;
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
p {
  margin: 0 0 1.2rem;
  color: var(--muted);
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin: 0 0 1.2rem;
}
h1 {
  font-size: clamp(2.65rem, 4.55vw, 4.4rem);
}
h2 {
  font-size: clamp(2rem, 3.1vw, 3rem);
}
h3 {
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}
address {
  font-style: normal;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #9143c2;
  outline-offset: 5px;
}
a:hover {
  color: var(--purple);
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding-block: 100px;
}
.section-topless {
  padding-top: 0;
}
.eyebrow {
  color: var(--purple);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.small-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
}
.icon {
  width: 30px;
  height: 30px;
  color: var(--purple);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--action);
  color: white;
  padding: 15px 22px;
  border: 1px solid var(--action);
  border-radius: 4px;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover {
  background: var(--action-hover);
  color: #fff;
  transform: translateY(-2px);
}
.button span {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
}
.button.secondary {
  background: transparent;
  border-color: var(--control-border);
  color: var(--ink);
}
.button.secondary:hover {
  background: var(--lavender);
  color: var(--purple);
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: var(--purple);
  font-size: 0.9rem;
  font-weight: 600;
}
.text-link span {
  font-size: 1.2rem;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: -100px;
  left: 20px;
  background: var(--white);
  padding: 14px;
  color: var(--purple);
}
.skip-link:focus {
  top: 12px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Navigation und Kopfzeile */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 94px;
}
.brand {
  display: block;
  width: 230px;
  flex-shrink: 0;
}
.header-inner nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.header-inner nav a {
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  padding-block: 12px;
}
.header-inner nav a[aria-current],
.header-inner nav a.active-section {
  color: var(--purple);
}
.header-inner nav a[aria-current]:after,
.header-inner nav a.active-section:after {
  content: "";
  height: 2px;
  background: var(--purple);
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
}
.header-inner > .button {
  padding: 12px 16px;
  gap: 20px;
  font-size: 0.78rem;
}
.menu-button {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 12px;
  background: transparent;
  color: var(--ink);
}

/* Startseite: Hero und Teamfoto */
.hero {
  display: grid;
  grid-template-columns: 1.17fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 82px 74px;
}
.hero h1 span {
  color: var(--purple);
}
.hero-intro {
  max-width: 540px;
  font-size: 1rem;
  line-height: 1.75;
  margin-block: 26px;
}
.hero-note {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  font-size: 0.76rem;
  color: var(--muted);
}
.hero-note > span {
  font-size: 1.25rem;
  font-family: monospace;
  color: var(--purple);
}
.hero-visual {
  background: var(--surface-photo);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.visual-heading {
  padding: 22px 25px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.visual-heading > span:last-child {
  color: var(--purple);
  font-size: 1.2rem;
}
.hero-visual > img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  object-position: center 30%;
}
.visual-caption {
  position: relative;
  background: var(--lavender);
  display: flex;
  flex-direction: column;
  padding: 20px 25px;
  line-height: 1.5;
  font-size: 0.8rem;
}
.visual-caption > span:first-child {
  font-weight: 600;
}
.visual-caption > span:last-child {
  color: var(--muted);
  font-size: 0.73rem;
  margin-top: 3px;
}
.visual-base {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: var(--action);
  color: #fff;
  padding: 16px 25px;
  font-size: 0.73rem;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 38px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading > p {
  max-width: 330px;
  font-size: 0.9rem;
  margin: 0;
}

/* Startseite: Zielgruppen */
.audience-section {
  background: var(--surface-muted);
  border-block: 1px solid var(--line);
  padding-block: 72px;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.audience-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    border-color 0.18s,
    transform 0.18s;
}
.audience-card[href]:hover {
  border-color: var(--purple);
  transform: translateY(-4px);
  color: var(--ink);
}
.audience-card-soon {
  background: var(--surface-muted);
  border-style: dashed;
}
.audience-status {
  align-self: flex-start;
  margin-top: auto;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--lavender);
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.card-top > span {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--muted);
}
.audience-card p {
  font-size: 0.89rem;
  margin-bottom: 30px;
}
.audience-card .text-link {
  margin-top: auto;
  justify-content: space-between;
  font-size: 0.82rem;
}
.competency-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 44px;
}
.competency-grid article {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.competency-grid .icon {
  margin-bottom: 25px;
}
.competency-grid h3 {
  font-size: 1.18rem;
  max-width: 220px;
}
.competency-grid p {
  font-size: 0.89rem;
}

/* Über uns */
.about-section {
  background: var(--surface-muted);
  color: var(--ink);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 120px;
}
.about-section .eyebrow,
.experience strong {
  color: var(--purple);
}
.about-section p {
  color: var(--muted);
}
.about-section .text-link {
  color: var(--purple);
}
.about-grid > div > p {
  max-width: 570px;
}

/* Vier Erfahrungskacheln im 2×2-Raster */
.experience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr) auto;
  gap: 16px;
  align-content: center;
}
.experience > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.experience strong {
  font-size: clamp(2.25rem, 4vw, 3.7rem);
  letter-spacing: -0.065em;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
}
.experience strong > span {
  color: inherit;
  font-size: 0.68em;
}
.experience p {
  font-size: 0.82rem;
  overflow-wrap: anywhere;
  hyphens: auto;
  margin: 0;
}
.experience .experience-note {
  grid-column: 1/-1;
  font-size: 0.78rem;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.anchor-alias {
  position: absolute;
  top: 0;
  scroll-margin-top: 100px;
}
.product-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.product-teaser h2 {
  font-size: 2.4rem;
}
.product-teaser p {
  font-size: 0.95rem;
}
.product-picture {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #142036;
}
.product-picture > img:first-child {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
  filter: brightness(0.65);
}
.product-picture > .stocknav-logo {
  position: absolute;
  width: 54%;
  left: 23%;
  top: 40%;
  height: auto;
}
.contact-band {
  background: var(--surface-contact);
  padding-block: 70px;
  border-top: 1px solid var(--line);
}
.contact-band p {
  font-size: 0.92rem;
}
.contact-band h2 {
  font-size: 2.5rem;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-self: end;
  gap: 20px;
}
.contact-actions > .button {
  align-self: stretch;
  justify-content: space-between;
}
.callback-layout {
  max-width: 760px;
}
.email-link {
  text-decoration: underline;
  text-underline-offset: 5px;
  color: var(--purple);
  overflow-wrap: anywhere;
}

/* Fußzeile */
.site-footer {
  background: #181922;
  color: #e9e9ee;
  padding-top: 64px;
  font-size: 0.83rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 70px;
  padding-bottom: 50px;
}
.footer-grid .brand {
  width: 230px;
  margin-bottom: 25px;
}
.footer-grid p,
.footer-grid address {
  color: #acadb9;
}
.footer-grid address {
  font-size: 0.78rem;
}
.footer-grid h2 {
  font-size: 0.83rem;
  letter-spacing: 0;
  margin-bottom: 20px;
}
.footer-grid > div > a:not(.brand) {
  display: block;
  color: #c5c6ce;
  margin-block: 9px;
}
.site-footer a:hover {
  color: #d5afef;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 22px;
  border-top: 1px solid #3c3d46;
  font-size: 0.73rem;
  color: #acadb9;
}
.footer-bottom > div {
  display: flex;
  gap: 25px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 52px;
}
.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Unterseiten: Einleitung und Inhalte */
.page-hero {
  padding-block: 35px 48px;
}
.page-hero h1 {
  max-width: 950px;
}
.page-intro {
  font-size: 1.1rem;
  max-width: 750px;
}
.page-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 65px;
  margin-top: 36px;
}
.detail-grid article {
  position: relative;
  padding: 28px 0 30px 46px;
  border-top: 1px solid var(--line);
}
.detail-grid h3 {
  font-size: 1.4rem;
}
.detail-grid p {
  font-size: 0.95rem;
  margin-bottom: 0;
}
.detail-number {
  position: absolute;
  left: 0;
  top: 29px;
  color: var(--purple);
  font-size: 0.78rem;
  font-family: monospace;
}
.muted-section {
  background: #edeeea;
}
.offer-strip {
  background: var(--lavender);
  padding-block: 55px;
}
.offer-strip h2 {
  font-size: 2.2rem;
}
.offer-strip p {
  margin-bottom: 0;
}
.offer-strip .eyebrow {
  margin-bottom: 18px;
}
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  list-style: none;
  padding: 0;
  margin-top: 45px;
}
.process li {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.process li > span {
  color: var(--purple);
  font-size: 0.8rem;
  font-family: monospace;
  display: block;
  margin-bottom: 24px;
}
.process h3 {
  font-size: 1.15rem;
}
.process p {
  font-size: 0.85rem;
}

/* Privatkunden: Preise */
.pricing-section {
  background: var(--lavender);
}
.price-main {
  margin-top: 28px;
}
.price-main strong {
  font-size: 2.4rem;
  color: var(--purple);
  font-weight: 600;
  letter-spacing: -0.04em;
  display: block;
}
.fine-print {
  font-size: 0.85rem;
}
.price-table {
  padding: 32px;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.price-table table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
}
.price-table caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: 22px;
}
.price-table th,
.price-table td {
  padding: 14px 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.price-table th {
  font-weight: 400;
}
.price-table thead th {
  font-size: 0.75rem;
  color: var(--muted);
}
.price-table td,
.price-table th:last-child {
  text-align: right;
}
.price-table td {
  font-weight: 600;
  color: var(--purple);
}
.narrow {
  max-width: 850px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
summary {
  font-weight: 600;
  cursor: pointer;
  padding-right: 20px;
  line-height: 1.5;
}
details p {
  padding-top: 18px;
  margin-bottom: 0;
  font-size: 0.95rem;
}
.stocknav-hero {
  background: #21232f;
  color: #fff;
  padding-block: 35px 85px;
}
.stocknav-hero .breadcrumb {
  color: #c0c3d3;
}
.stocknav-hero .eyebrow {
  color: #bd98df;
}
.stocknav-hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.6rem);
}
.stocknav-hero p {
  color: #c6c9d7;
}
.product-wordmark {
  width: 235px;
  margin-bottom: 35px;
}
.stocknav-hero figure {
  margin: 0;
}
.stocknav-hero figure img {
  border-radius: 8px;
  aspect-ratio: 1.15;
  object-fit: cover;
}
.stocknav-hero figcaption {
  font-size: 0.7rem;
  color: #aeb1c5;
  margin-top: 12px;
}
.stocknav-hero .button.secondary {
  color: #fff;
  border-color: #77798a;
}
.stocknav-hero .button.secondary:hover {
  background: #363147;
}

/* Kontaktseite und Formular */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 90px;
  align-items: start;
}
.contact-layout aside h2 {
  font-size: 2.3rem;
}
.contact-layout aside p {
  font-size: 0.95rem;
}
.contact-layout address {
  font-size: 0.9rem;
  margin-block: 30px;
}
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field {
  margin-bottom: 20px;
}
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--control-border);
  border-radius: 4px;
  background: var(--surface-input);
  color: var(--ink);
  font-size: 0.95rem;
}
textarea {
  resize: vertical;
  min-height: 145px;
}
.form-help {
  font-size: 0.78rem;
  margin-block: 7px 0;
}
.form-panel .fine-print a {
  text-decoration: underline;
}
.feedback {
  padding: 18px;
  border: 1px solid #9e67ba;
  border-radius: 4px;
  background: var(--lavender);
  margin-bottom: 25px;
}
.feedback:focus {
  outline: 3px solid var(--purple);
}
.feedback ul {
  margin-bottom: 0;
}
.form-panel .button {
  width: 100%;
}
h1,
h2,
h3 {
  overflow-wrap: anywhere;
  hyphens: auto;
}
.split > * {
  min-width: 0;
}
@media (min-width: 1500px) {
  .hero {
    padding-block: 100px;
  }
  .hero-visual > img {
    aspect-ratio: 1.2;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .header-inner {
    gap: 18px;
  }
  .brand {
    width: 195px;
  }
  .header-inner nav {
    gap: 20px;
  }
  .header-inner > .button {
    display: none;
  }
  .hero {
    gap: 35px;
  }
  .hero h1 {
    font-size: 3.45rem;
  }
  .hero .actions .button {
    font-size: 0.78rem;
    padding: 13px 15px;
    gap: 14px;
  }
  .about-grid {
    gap: 55px;
  }
  .product-teaser {
    gap: 40px;
  }
  .audience-card {
    padding: 24px;
  }
  .split {
    gap: 45px;
  }
  .contact-layout {
    gap: 45px;
  }
  .experience strong {
    font-size: 3rem;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 90px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 65px;
  }
  .section-topless {
    padding-top: 0;
  }
  .header-inner {
    min-height: 76px;
    padding-block: 16px;
    flex-wrap: wrap;
    gap: 0;
    position: relative;
  }
  .brand {
    width: 190px;
  }
  .menu-button:not([hidden]) {
    display: block;
  }
  .header-inner nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0 20px;
  }
  .header-inner nav a {
    padding: 12px;
  }
  .header-inner nav a[aria-current]:after,
  .header-inner nav a.active-section:after {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 48px;
    gap: 35px;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 8.6vw, 4rem);
  }
  .hero .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }
  .hero-intro {
    font-size: 0.97rem;
  }
  .hero-visual > img {
    aspect-ratio: 1.4;
    object-position: center 30%;
  }
  .hero-note {
    margin-top: 22px;
  }
  .visual-heading,
  .visual-caption,
  .visual-base {
    padding-inline: 20px;
  }
  .visual-heading {
    padding-block: 16px;
  }
  .visual-caption {
    padding-block: 15px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading > p,
  .section-heading > .text-link {
    margin-top: 24px;
    max-width: none;
  }
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .audience-card {
    padding: 25px;
  }
  .card-top {
    margin-bottom: 22px;
  }
  .audience-card h3 {
    font-size: 1.6rem;
  }
  .audience-card p {
    margin-bottom: 20px;
  }
  .competency-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .competency-grid h3 {
    font-size: 1.15rem;
  }
  .about-grid,
  .product-teaser,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .experience {
    gap: 16px;
    margin-top: 15px;
  }
  .experience strong {
    font-size: 3.5rem;
  }
  .product-teaser h2,
  .contact-band h2 {
    font-size: 2.2rem;
  }
  .contact-actions {
    justify-self: start;
  }
  .contact-band {
    padding-block: 55px;
  }
  .desktop-only {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }
  .page-hero {
    padding-block: 24px 32px;
  }
  .page-hero h1 {
    font-size: 2.65rem;
  }
  .breadcrumb {
    margin-bottom: 35px;
    font-size: 0.7rem;
    gap: 8px;
  }
  .page-intro {
    font-size: 1rem;
  }
  .page-actions {
    flex-wrap: wrap;
    gap: 20px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid article {
    padding-block: 25px;
  }
  .process {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .process li {
    padding: 20px 0 0 45px;
    position: relative;
  }
  .process li > span {
    position: absolute;
    left: 0;
    top: 20px;
  }
  .process h3 {
    margin-bottom: 10px;
  }
  .price-table {
    padding: 24px;
  }
  .stocknav-hero {
    padding-bottom: 55px;
  }
  .stocknav-hero figure img {
    aspect-ratio: 1.6;
  }
  .stocknav-hero .split {
    gap: 40px;
  }
  .form-panel {
    padding: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-layout aside h2 {
    font-size: 2rem;
  }
}
@media (max-width: 1000px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}
@media (max-width: 520px) {
  .experience {
    gap: 12px;
  }
  .experience > div {
    padding: 18px 14px;
    gap: 12px;
  }
  .experience strong {
    font-size: clamp(1.65rem, 7.5vw, 2.5rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Hero -> original logo -> claim. Without motion/JS, these remain ordinary sections. */
.home-intro {
  --intro-header-height: 95px;
  --intro-viewport-height: calc(100vh - var(--intro-header-height));
  position: relative;
  background: var(--paper);
}
@supports (height: 100dvh) {
  .home-intro {
    --intro-viewport-height: calc(100dvh - var(--intro-header-height));
  }
}
.home-intro .hero {
  --hero-padding: clamp(24px, 5vh, 82px);
  min-height: var(--intro-viewport-height);
  padding-block: var(--hero-padding);
}
.home-intro-stage {
  position: relative;
}
.intro-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--intro-viewport-height);
  margin: 0;
  padding: 32px 20px;
}
.intro-logo img {
  width: min(55vw, 780px);
  max-height: calc(var(--intro-viewport-height) - 64px);
  object-fit: contain;
}
.intro-logo .intro-logo-dark {
  display: none;
}
[data-theme="dark"] .intro-logo-light {
  display: none;
}
[data-theme="dark"] .intro-logo .intro-logo-dark {
  display: block;
}
.intro-claim {
  gap: clamp(8px, 2vw, 28px);
  color: var(--ink);
  font-size: clamp(1.35rem, 6vw, 4rem);
  line-height: 1.2;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.intro-enhanced {
  height: var(--intro-height);
}
.intro-enhanced .home-intro-stage {
  position: sticky;
  top: var(--intro-sticky-top);
}
.intro-enhanced .intro-panel {
  position: absolute;
  inset: auto 0 0;
  height: var(--intro-viewport-height);
  min-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (min-width: 761px) {
  .home-intro .hero-visual > img {
    max-height: max(220px, calc(var(--intro-viewport-height) - 2 * var(--hero-padding) - 210px));
  }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .home-intro .hero h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.45rem);
  }
}
@media (max-width: 760px) {
  .home-intro {
    --intro-header-height: 77px;
  }
  .intro-logo img {
    width: 85vw;
  }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .intro-logo-light {
    display: none;
  }
  :root:not([data-theme]) .intro-logo .intro-logo-dark {
    display: block;
  }
}

/* Theme tokens also follow the operating system when JavaScript is disabled. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #171820;
  --white: #20212c;
  --ink: #f1f0f5;
  --muted: #bbb9c8;
  --purple: #c995ef;
  --purple-dark: #dab1f5;
  --lavender: #2a2437;
  --line: #3a3948;
  --dark: #1d1e29;
  --surface-muted: #1f202a;
  --surface-photo: #252630;
  --surface-contact: #2a2337;
  --surface-input: #191a23;
  --control-border: #777386;
  --action: #7930a6;
  --action-hover: #8a3ab8;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --paper: #171820;
    --white: #20212c;
    --ink: #f1f0f5;
    --muted: #bbb9c8;
    --purple: #c995ef;
    --purple-dark: #dab1f5;
    --lavender: #2a2437;
    --line: #3a3948;
    --dark: #1d1e29;
    --surface-muted: #1f202a;
    --surface-photo: #252630;
    --surface-contact: #2a2337;
    --surface-input: #191a23;
    --control-border: #777386;
    --action: #7930a6;
    --action-hover: #8a3ab8;
  }
}
.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.language-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--control-border);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}
.language-button:hover {
  background: var(--lavender);
  color: var(--purple);
}
.theme-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--control-border);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
}
.theme-button:hover {
  background: var(--lavender);
  color: var(--purple);
}
.theme-button svg {
  width: 21px;
  height: 21px;
}
.theme-sun,
[data-theme="dark"] .theme-moon {
  display: none;
}
@media (max-width: 430px) {
  .menu-label {
    display: none;
  }
  .menu-button {
    width: 44px;
    padding-inline: 0;
  }
}
[data-theme="dark"] .theme-sun {
  display: block;
}
@media (max-width: 760px) {
  .header-inner > .brand {
    width: clamp(130px, 40vw, 190px);
  }
  .header-controls {
    margin-left: auto;
    gap: 8px;
  }
  .header-inner nav {
    order: 3;
  }
  .menu-button {
    min-height: 44px;
  }
}

.callback-fields {
  min-width: 0;
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.callback-fields legend {
  padding-inline: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
}
.callback-fields .form-field:last-child {
  margin-bottom: 0;
}
@media (max-width: 400px) {
  .callback-fields {
    padding: 14px;
  }
}

.travel-section {
  background: var(--surface-muted);
}
.travel-table table {
  table-layout: fixed;
}
.travel-table th:first-child {
  width: 56%;
  padding-right: 16px;
}
.travel-table th,
.travel-table td {
  vertical-align: top;
  overflow-wrap: anywhere;
}
.travel-table .form-help {
  margin-top: 18px;
}
.travel-example {
  border-left: 3px solid var(--purple);
  padding-left: 20px;
  margin-top: 28px;
}
.travel-example strong {
  color: var(--ink);
}
.offer-strip p + p {
  margin-top: 18px;
}
@media (max-width: 400px) {
  .travel-table {
    padding: 18px;
  }
  .travel-table table {
    font-size: 0.85rem;
  }
  .travel-table th:first-child {
    padding-right: 10px;
  }
}

/* Zeitreise unter Über uns */
.history {
  margin-top: 76px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.history-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 32px;
}
.history-heading h3 {
  font-size: clamp(2rem, 3.1vw, 3rem);
  margin: 0;
}
.history-heading > p {
  max-width: 365px;
  font-size: 0.93rem;
  margin: 0;
}
.history-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 8px 4px 18px;
  scrollbar-width: thin;
  scrollbar-color: var(--control-border) var(--paper);
}
.history-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 10px 12px 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  min-width: 0;
  border-radius: 6px;
}
.history-tab::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 15px;
  height: 1px;
  background: var(--control-border);
}
.history-tab:hover {
  background: var(--lavender);
}
.history-dot {
  position: relative;
  display: block;
  width: 11px;
  height: 11px;
  border: 2px solid var(--control-border);
  border-radius: 50%;
  background: var(--paper);
}
.history-date {
  margin-top: 18px;
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.5;
}
.history-label {
  margin-top: 5px;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
}
.history-tab[aria-selected="true"] {
  background: var(--lavender);
}
.history-tab[aria-selected="true"] .history-dot {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 0 0 4px var(--lavender);
}
.history-tab[aria-selected="true"] .history-date {
  color: var(--purple);
}
.history-panel {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 48px;
  padding: 40px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 20px;
}
.history-year {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 25px;
  border-right: 1px solid var(--line);
  padding-right: 35px;
}
.history-year > span {
  font-size: clamp(3.5rem, 6.6vw, 6.3rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--purple);
  font-weight: 600;
}
.history-year small {
  font-size: 0.7rem;
  color: var(--muted);
  max-width: 160px;
  line-height: 1.6;
}
.history .history-copy p {
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 680px;
}
.history .history-copy .history-chapter {
  color: var(--purple);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}
.history-copy h4 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.17;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.history-copy p:last-child {
  margin-bottom: 0;
}
.history-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
}
.history .history-status {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  margin: 0;
  color: var(--muted);
}
.history-buttons {
  display: flex;
  gap: 10px;
}
.history-buttons button {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border: 1px solid var(--control-border);
  border-radius: 50%;
  background: transparent;
  color: var(--purple);
  font-size: 1.4rem;
  line-height: 1;
}
.history-buttons button:hover:not([aria-disabled="true"]) {
  background: var(--lavender);
  border-color: var(--purple);
}
.history-buttons button[aria-disabled="true"] {
  opacity: 0.4;
  cursor: default;
}
.history :focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}
.history-enhanced .history-panel {
  min-height: 330px;
  margin-top: 10px;
}
@media (prefers-reduced-motion: no-preference) {
  .history-enhanced .history-panel:not([hidden]) {
    animation: history-appear 0.2s ease-out;
  }
  @keyframes history-appear {
    from {
      opacity: 0.4;
      transform: translateY(5px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@media (max-width: 760px) {
  .history {
    margin-top: 48px;
    padding-top: 42px;
  }
  .history-heading {
    display: block;
  }
  .history-heading > p {
    margin-top: 22px;
    max-width: none;
  }
  .history-tabs {
    grid-auto-columns: 155px;
  }
  .history-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
  }
  .history-year {
    flex-direction: row;
    align-items: flex-end;
    gap: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 22px;
  }
  .history-year > span {
    font-size: 3.5rem;
  }
  .history-year small {
    max-width: 100px;
    font-size: 0.65rem;
  }
  .history .history-copy p {
    font-size: 0.9rem;
  }
  .history-enhanced .history-panel {
    min-height: 0;
  }
  .history-status {
    max-width: 180px;
  }
}
@media (max-width: 400px) {
  .history-panel {
    padding: 20px;
  }
  .history-year {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .history-year small {
    max-width: none;
  }
  .history-controls {
    gap: 12px;
  }
  .history .history-status {
    font-size: 0.72rem;
  }
}
