:root {
  color-scheme: light;
  --paper: #f8f6f3;
  --white: #fff;
  --ink: #251f25;
  --muted: #655a62;
  --wine: #8b2142;
  --wine-dark: #711633;
  --rule: #e0d8dc;
  --dark: #201d21;
  --pink: #eea2b9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, select, textarea, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #c24f78; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 8; transform: translateY(-160%); background: var(--white); padding: 8px 12px; }
.skip:focus { transform: translateY(0); }
.top { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; line-height: 1; flex-shrink: 0; }
.brand strong { display: block; font-size: 1.42rem; letter-spacing: -.06em; }
.brand small { display: block; margin-top: 5px; font-size: .57rem; letter-spacing: .13em; font-weight: 750; }
nav { display: flex; flex-wrap: wrap; gap: clamp(14px, 3vw, 35px); font-size: .88rem; font-weight: 650; }
nav a:hover, .text-button:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: .8em; align-self: start; padding: .72em 1.05em; min-height: 44px; border: 1px solid var(--rule); border-radius: 6px; background: var(--white); color: var(--ink); font-size: .9rem; font-weight: 720; text-align: center; transition: background-color .16s, border-color .16s; }
.btn:hover { background: #f4eaf0; border-color: #ac8193; }
.btn.primary { background: var(--wine); border-color: var(--wine); color: #fff; }
.btn.primary:hover { background: var(--wine-dark); border-color: var(--wine-dark); }
.header-contact { align-self: center; background: transparent; }
.hero, .contact { background: var(--dark); color: #fff8fa; }
.hero { overflow: hidden; background: radial-gradient(ellipse at 81% 44%, #3d2433 0%, var(--dark) 56%); }
.hero-layout { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; min-height: 530px; }
.hero-copy { padding: 54px 0 56px; position: relative; z-index: 1; }
.hero-art { justify-self: end; width: 100%; height: auto; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--wine); font-size: .74rem; font-weight: 780; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow, .contact .eyebrow { color: var(--pink); }
.signal { background: var(--pink); width: 7px; height: 7px; border-radius: 50%; }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -.038em; }
h1 { margin: 0; font-size: clamp(2.55rem, 4.85vw, 4.45rem); font-weight: 760; }
h1 span { color: var(--pink); }
h2 { margin: 0 0 16px; font-size: clamp(2.05rem, 4.1vw, 4rem); }
h3 { margin: 0 0 12px; font-size: 1.36rem; }
p { margin: 0 0 14px; }
.lead { margin-top: 22px; color: #e2d3dc; font-size: clamp(1rem, 1.7vw, 1.19rem); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ghost { background: transparent; border-color: #866d7a; color: inherit; }
.ghost:hover { background: #44313d; border-color: #b290a1; }
.hero-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid #665160; padding-block: 15px; color: #e0d2dc; font-size: .8rem; }
.section { padding: clamp(52px, 8vw, 104px) 0; }
.section-layout { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(24px, 6vw, 96px); align-items: center; }
.intro { color: var(--muted); max-width: 62ch; font-size: 1.06rem; margin-bottom: 23px; }
.index { font-size: .75rem; border: 1px solid #c79aaa; border-radius: 4px; padding: 2px 7px; letter-spacing: .02em; }
.transport-brief { border: 1px solid var(--rule); background: var(--white); border-radius: 10px; padding: clamp(18px, 3vw, 32px); }
.transport-brief { border-top: 3px solid var(--wine); }
.transport-brief dl { margin: 0; }
.transport-brief dl > div { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--rule); }
.transport-brief dt { color: var(--wine); font-weight: 750; font-size: .82rem; margin-top: 2px; }
.transport-brief dd { margin: 0; }
.transport-brief dd span { display: block; font-size: .9rem; color: var(--muted); }
.training { background: #eeeaed; border-top: 1px solid var(--rule); }
.section-head { max-width: 720px; margin-bottom: 26px; }
.section-head > p:last-child { color: var(--muted); }
.training-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.course { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: clamp(16px, 2.6vw, 27px); }
.course-label { display: block; color: var(--wine); font-size: .76rem; font-weight: 750; margin-bottom: 9px; }
.course p, .portal p { color: var(--muted); font-size: .92rem; }
.text-button { width: fit-content; margin-top: auto; padding: 8px 0 0; border: 0; background: transparent; color: var(--wine-dark); font-size: .87rem; font-weight: 750; text-align: left; }
.small { color: var(--muted); font-size: .86rem; }
.group-training {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 20px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--wine);
  border-radius: 8px;
  background: var(--white);
}
.group-training p { max-width: 62ch; margin: 0; color: var(--muted); }
.portal { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 32px; border-top: 1px solid #cfc2cc; padding-top: 25px; }
.portal p { margin-bottom: 0; }
.portal .btn { flex-shrink: 0; align-self: center; }
.contact .intro { color: #e2d3dc; }
.contactbox { display: grid; gap: 9px; padding: 24px; border: 1px solid #705768; border-radius: 8px; font-style: normal; overflow-wrap: anywhere; }
.contactbox a { width: fit-content; color: #f6cbda; text-decoration: underline; text-underline-offset: 4px; }
.legal { padding: 36px 0; }
.legal h2 { font-size: 1.45rem; }
.legal p { font-size: .9rem; color: var(--muted); }
.legal details { border-top: 1px solid var(--rule); padding: 10px 0; font-size: .9rem; }
.legal summary { cursor: pointer; font-weight: 650; }
.legal details p { margin: 10px 0 0; }
footer { border-top: 1px solid var(--rule); }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-block: 19px; color: var(--muted); font-size: .86rem; }
.foot nav { gap: 14px; font-size: inherit; }
dialog { width: min(610px, calc(100% - 30px)); max-height: 90dvh; padding: 0; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #20151dcc; }
.dialog-inner { padding: clamp(16px, 4vw, 28px); }
.dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.dialog-head h2 { font-size: clamp(1.4rem, 4vw, 2rem); }
.close { background: transparent; color: var(--ink); border: 0; border-radius: 5px; padding: 0 10px; font-size: 1.6rem; line-height: 1.3; }
.close:hover { background: #eadde4; }
form { display: grid; gap: 12px; }
form label { display: block; font-size: .87rem; font-weight: 650; margin-bottom: 3px; }
form input:not([type=radio]), form select, form textarea { width: 100%; padding: 8px 10px; border: 1px solid #b8aab4; border-radius: 5px; background: var(--white); color: var(--ink); }
form textarea { min-height: 90px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.notice { font-size: .82rem; color: var(--muted); margin: 0; }
#formStatus { margin: 0; }
#formStatus:empty, #demoStatus:empty, #demoResult:empty { display: none; }
fieldset { border: 1px solid var(--rule); margin: 0; padding: 12px; }
fieldset legend { font-weight: 750; }
fieldset label { padding: 5px 0; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .hero-layout { min-height: 440px; }
}
@media (max-width: 680px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding-top: 9px; }
  .header-inner nav { grid-column: 1/-1; grid-row: 2; gap: 0; justify-content: space-between; }
  .header-inner nav a { display: flex; align-items: center; min-height: 44px; }
  .header-contact { grid-column: 2; grid-row: 1; }
  .wrap { width: calc(100% - 34px); }
  .hero-layout, .section-layout, .training-grid { grid-template-columns: 1fr; }
  .hero-layout { min-height: 0; }
  .hero-copy { padding: 38px 0 0; }
  .hero-art { width: min(65%, 290px); margin: 12px 0 5px; }
  .hero-foot { font-size: .76rem; }
  .portal { align-items: flex-start; flex-direction: column; }
  .portal .btn { align-self: flex-start; }
}
@media (max-width: 430px) {
  h1 { font-size: clamp(1.9rem, 8.5vw, 2.45rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
.arrow {
  display: inline-block;
  width: .63em;
  height: .63em;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  vertical-align: .06em;
}


#transportFields[hidden] { display: none; }
#transportFields { display: grid; gap: 8px; }

.portal-page { max-width: 800px; min-height: 70vh; }
.portal-page h1 { margin-bottom: 20px; }
.portal-card { margin: 20px 0; padding: clamp(18px, 4vw, 32px); border: 1px solid var(--rule); border-radius: 8px; background: var(--white); }
.portal-card h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
.portal-card .btn { justify-self: start; }
.portal-page .small { overflow-wrap: anywhere; }
.portal-people { list-style: none; padding: 0; margin: 0; }
.portal-people li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-block: 12px; border-top: 1px solid var(--rule); overflow-wrap: anywhere; }
.portal-notice { border-left: 4px solid var(--wine); padding: 8px 12px; background: var(--white); }

.portal-row-actions { display: grid; gap: 8px; max-width: 100%; }
.portal-code { display: block; width: 100%; margin-block: 8px 14px; padding: 8px; font-family: monospace; }
.portal-page details form { margin-top: 8px; }

/* Leistungen, Preisübersicht und Anfrageformular */
.hero-layout { grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr); gap: clamp(25px, 5vw, 70px); min-height: 455px; }
.hero h1 { font-size: clamp(2.25rem, 4.5vw, 4rem); letter-spacing: -.055em; }
.hero .lead { max-width: 46ch; }
.hero-services { display: grid; gap: 12px; }
.hero-service { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: clamp(12px, 2vw, 23px); min-width: 0; padding: clamp(15px, 2.7vw, 28px); border: 1px solid #715366; border-radius: 10px; background: #ffffff08; }
.hero-service:hover { background: #ffffff15; border-color: var(--pink); }
.hero-service svg { width: 56px; fill: none; stroke: var(--pink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-service strong { display: block; font-size: clamp(1.05rem, 1.7vw, 1.35rem); letter-spacing: -.025em; overflow-wrap: anywhere; }
.hero-service small { display: block; color: #e2d3dc; font-size: .85rem; }
.hero-service .arrow { color: var(--pink); }
.price-panel { margin-top: 22px; padding: clamp(16px, 4vw, 36px); background: var(--white); border: 1px solid var(--rule); border-radius: 8px; }
.price-heading h3 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.price-grid table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.price-grid caption { text-align: left; color: var(--wine-dark); font-weight: 750; padding-block: 12px 6px; }
.price-grid th, .price-grid td { border-bottom: 1px solid var(--rule); padding: 9px 5px; text-align: left; }
.price-grid :is(th, td):not(:first-child) { text-align: right; white-space: nowrap; }
.price-grid tbody th { font-weight: 550; }
.price-note { margin-block: 16px; }
.price-panel details { border-top: 1px solid var(--rule); padding: 9px 0; }
.price-panel summary { cursor: pointer; font-weight: 650; }
.price-panel details p { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }
.portal-strip { padding: clamp(27px, 5vw, 46px) 0; }
.portal-strip-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 26px; }
.portal-strip h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); margin-bottom: 8px; }
.portal-strip p:last-child { margin: 0; color: var(--muted); }
.portal-strip .btn { align-self: center; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.confirmation { padding: 15px 0 0; }
@media (max-width: 850px) {
  .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hero-layout { grid-template-columns: 1fr; min-height: 0; gap: 23px; }
  .hero-copy { padding-bottom: 0; }
  .hero-services { margin-bottom: 24px; }
  .hero-service { grid-template-columns: 40px 1fr auto; }
  .hero-service svg { width: 40px; }
}
@media (max-width: 480px) {
  .field-pair { grid-template-columns: 1fr; }
  .price-grid table { font-size: .83rem; }
  .price-grid th, .price-grid td { padding-inline: 3px; }
  .header-inner nav { font-size: clamp(.73rem, 3.45vw, .88rem); }
}
.inline-link { color: var(--wine-dark); text-decoration: underline; text-underline-offset: 3px; }
.inquiry-list details { border-top: 1px solid var(--rule); padding: 12px 0; overflow-wrap: anywhere; }
.inquiry-list summary { cursor: pointer; font-weight: 650; }
.inquiry-list dl { margin: 12px 0; }
.inquiry-list dt { font-size: .82rem; font-weight: 700; }
.inquiry-list dd { margin: 0 0 8px; white-space: pre-wrap; }
.inquiry-list form { margin-top: 13px; }
