:root {
  --purple: #7522ed;
  --deep: #291343;
  --muted: #665d70;
  --light: #f6f2fb;
  --line: #e7dfef;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font: 17px/1.65 Arial,Helvetica,sans-serif;
  color: var(--deep);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #9c54ff;
  outline-offset: 4px;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(1280px,90%);
  margin: auto;
}

.topbar {
  background: var(--deep);
  color: #fff;
  font-size: .82rem;
  padding: 9px 0;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.topbar a {
  color: #fff;
}

header {
  background: #fff;
  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: 110px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
}

.brand img {
  width: 115px;
  height: 80px;
  object-fit: contain;
}

.brand span {
  border-left: 1px solid var(--line);
  padding-left: 14px;
  font-size: .73rem;
  line-height: 1.45;
  max-width: 140px;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav a {
  font-size: .86rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 12px 0;
}

.nav a[aria-current=page] {
  color: var(--purple);
  box-shadow: 0 2px var(--purple);
}

.menu {
  display: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero {
  padding: 65px 0 55px;
  background: linear-gradient(115deg,#fcfaff,#fff);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--purple);
  margin: 0 0 22px;
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: Georgia,'Times New Roman',serif;
  font-size: clamp(2.65rem,4.2vw,4.4rem);
  line-height: 1.1;
  letter-spacing: -.04em;
  font-weight: 400;
  margin-bottom: 26px;
}

h1 em,
h2 em {
  color: var(--purple);
  font-style: normal;
}

h2 {
  font-family: Georgia,'Times New Roman',serif;
  font-size: clamp(2rem,3vw,3rem);
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 400;
  margin-bottom: 23px;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-bottom: 12px;
}

p {
  color: var(--muted);
  margin-bottom: 24px;
}

.lead {
  font-size: 1.12rem;
  max-width: 580px;
}

.actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin: 30px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid var(--purple);
  background: var(--purple);
  color: #fff;
  border-radius: 7px;
  min-height: 50px;
  padding: 12px 23px;
  font-size: .92rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.45;
}

.button:hover {
  background: #5b13c3;
  border-color: #5b13c3;
}

.button.secondary {
  background: #fff;
  color: var(--deep);
  border-color: #d4c7e2;
}

.button.secondary:hover {
  background: var(--light);
}

.small {
  font-size: .85rem;
}

.hero-photo {
  position: relative;
  min-height: 440px;
  border-radius: 100px 12px 12px 12px;
  background: var(--light);
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 490px;
  object-fit: cover;
}

.photo-caption {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  background: rgba(255,255,255,.95);
  border-radius: 8px;
  padding: 19px 22px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: .91rem;
  line-height: 1.45;
}

.photo-caption b {
  display: block;
}

.heart {
  font-size: 2rem;
  color: var(--purple);
}

.trust {
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
}

.trust .wrap {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .95rem;
}

.symbol {
  color: var(--purple);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

section.section {
  padding: 85px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 85px;
  align-items: start;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 40px;
}

.tint {
  background: var(--light);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.card .symbol {
  margin-bottom: 23px;
}

.card p:last-child {
  margin-bottom: 0;
}

.text-link {
  color: var(--purple);
  font-weight: 600;
  border-bottom: 1px solid #c6a6ef;
  padding-bottom: 4px;
  display: inline-block;
}

.callout {
  padding: 36px 40px;
  border-radius: 10px;
  border-left: 4px solid var(--purple);
  background: var(--light);
}

.callout p:last-child {
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
}

.contact-details a {
  overflow-wrap: anywhere;
}

.contact-details h3 {
  font-size: .84rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 28px;
}

.contact-details .phone {
  font-size: 1.7rem;
  color: var(--purple);
  font-weight: 600;
}

.form {
  padding: 35px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.field label {
  font-size: .9rem;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cfc4db;
  border-radius: 5px;
  padding: 12px;
  background: #fff;
  color: var(--deep);
  min-width: 0;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form .small {
  line-height: 1.5;
  margin-bottom: 20px;
}

.status {
  margin: 15px 0 0;
  color: var(--deep);
}

.map-box {
  min-height: 260px;
  padding: 45px;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--light);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.map-box p {
  max-width: 650px;
}

.map-box iframe {
  border: 0;
  width: 100%;
  height: 370px;
}

.map-box.loaded {
  padding: 0;
}

.map-box .button {
  margin: 4px;
}

.band {
  background: var(--deep);
  color: white;
  padding: 65px 0;
}

.band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.band h2 {
  margin: 0;
  max-width: 650px;
}

.band p {
  color: #e2d6ee;
  margin-top: 15px;
  margin-bottom: 0;
}

footer {
  padding: 55px 0 25px;
  background: #faf8fc;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 45px;
}

footer p,
footer a {
  font-size: .89rem;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer li {
  margin-bottom: 9px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 20px;
  font-size: .78rem;
  color: var(--muted);
}

.plain-button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--purple);
  text-decoration: underline;
  font-size: .89rem;
}

.page-intro {
  background: var(--light);
  padding: 60px 0;
}

.page-intro h1 {
  max-width: 850px;
}

.page-intro p {
  max-width: 690px;
  margin-bottom: 0;
}

.article {
  max-width: 850px;
}

.article h2 {
  font: 600 1.5rem/1.4 Arial;
  margin: 36px 0 14px;
}

.article h3 {
  margin-top: 24px;
}

.article a {
  text-decoration: underline;
  color: var(--purple);
}

.notice {
  background: #fff6db;
  border-left: 3px solid #b67b00;
  padding: 20px 24px;
  color: #594419;
  margin-bottom: 30px;
}

.job {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.job p {
  margin-bottom: 0;
}

.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  background: #fff;
  padding: 15px;
  z-index: 50;
}

.skip:focus {
  top: 10px;
}

dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  width: min(590px,92%);
  padding: 32px;
  color: var(--deep);
  max-height: 90vh;
}

dialog::backdrop {
  background: #1c102b88;
}

dialog h2 {
  font-size: 1.8rem;
}

.dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dialog-close {
  float: right;
  background: none;
  border: 0;
  font-size: 1.5rem;
  padding: 0 8px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 20px 0;
}

.check input {
  width: 20px;
  min-height: 20px;
}

.check label {
  font-size: .93rem;
}

.illustration-note {
  font-size: .75rem;
  text-align: right;
  margin: 8px 0;
  color: var(--muted);
}

@media (min-width: 1250px) {
  .nav {
    gap: 20px;
  }

}

@media (max-width: 1150px) {
  .brand span {
    display: none;
  }

  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: .875rem;
  }

  .hero-grid {
    gap: 30px;
  }

  .split {
    gap: 45px;
  }

}

@media (max-width: 850px) {
  .header-inner {
    min-height: 85px;
  }

  .brand img {
    width: 98px;
    height: 68px;
  }

  .menu {
    display: block;
    background: white;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 8px 14px;
    color: var(--deep);
  }

  .nav {
    display: none;
    position: absolute;
    top: 85px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 5%;
    border-bottom: 1px solid var(--line);
    align-items: stretch;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .nav a {
    font-size: 1rem;
    padding: 10px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .hero h1 {
    max-width: 650px;
  }

  .hero-photo {
    min-height: 350px;
    border-radius: 65px 10px 10px 10px;
  }

  .hero-photo img {
    height: 420px;
  }

  .trust .wrap {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .trust-item {
    font-size: .93rem;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .section.section {
    padding: 55px 0;
  }

  .band .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid>div:first-child {
    grid-column: 1/-1;
  }

  .topbar .location {
    display: none;
  }

  .topbar .wrap {
    justify-content: center;
  }

  .job {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-intro {
    padding: 40px 0;
  }

}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: 89%;
  }

  .topbar {
    font-size: .75rem;
  }

  .topbar .wrap {
    gap: 10px;
    justify-content: space-between;
  }

  .hero-photo img {
    height: 360px;
  }

  .photo-caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
  }

  .actions .button {
    width: 100%;
  }

  .form {
    padding: 23px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .map-box {
    padding: 25px;
  }

  .callout {
    padding: 25px;
  }

  .card {
    padding: 27px;
  }

  h1 {
    font-size: 2.8rem;
  }

  .brand span {
    display: block;
    font-size: .65rem;
  }

  .dialog-actions .button {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

}

/* Long German headings must remain readable on narrow screens. */
h1,
h2,
h3 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.article p {
  overflow-wrap: anywhere;
}

.nav a {
  font-size: .875rem;
}

@media (min-width: 851px) and (max-width: 1050px) {
  .header-inner {
    gap: 14px;
  }

  .nav {
    gap: 11px;
  }

  .brand img {
    width: 90px;
  }

  .nav a {
    font-size: .875rem;
  }

}

@media (max-width: 380px) {
  .brand span {
    display: none;
  }

  .header-inner {
    gap: 14px;
  }

  .topbar .wrap {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 12px;
  }

}

/* Consent controls remain equally prominent and usable on small screens. */
dialog {
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
}

dialog h2 {
  padding-right: 24px;
}

.privacy-essential {
  background: var(--light,#f7f4fa);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.privacy-essential p {
  margin: 6px 0 0;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dialog-actions .button {
  flex: 1 1 150px;
  white-space: normal;
}

#maps-consent {
  flex-shrink: 0;
}
