:root {
  color-scheme: light;
  --ink: #0d2038;
  --muted: #485973;
  --blue: #0649cf;
  --blue-dark: #073895;
  --navy: #0c213b;
  --line: #dbe3ef;
  --field: #f0f5fc;
  --white: #fff;
  --wrap: 1280px;
  font: 17px/1.58 "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--white); }
a { color: inherit; text-underline-offset: .22em; }
p { margin: .7rem 0 0; color: var(--muted); }
img { display: block; width: 100%; object-fit: cover; }
figure { margin: 0; position: relative; }
figcaption {
  position: absolute; right: .75rem; bottom: .75rem;
  background: #102942eb; color: white; font-size: .77rem; padding: .16rem .48rem;
}
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -.047em; }
h1 { font-size: clamp(2.4rem, 5vw, 5rem); font-weight: 800; overflow-wrap: break-word; }
h2 { font-size: clamp(1.8rem, 3.2vw, 3.3rem); font-weight: 780; }
h3 { font-size: 1.35rem; }
.wrap { width: min(var(--wrap), calc(100% - 4rem)); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: -7rem; background: white; z-index: 10; padding: .75rem; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid #e77216; outline-offset: 4px; }

.top { border-bottom: 1px solid var(--line); background: white; }
.nav { min-height: 78px; display: flex; align-items: center; gap: 1.1rem; justify-content: space-between; position: relative; }
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: .62rem; flex-shrink: 0; line-height: 1; }
.brand b {
  display: grid; place-items: center; width: 2.75rem; height: 2.45rem;
  background: var(--blue); color: white; font-size: 1.14rem; font-weight: 900; letter-spacing: -.075em;
}
.brand > span { font-size: .81rem; font-weight: 850; letter-spacing: .055em; }
.brand small { display: block; font-size: .63rem; color: var(--muted); font-weight: 750; margin-top: .24rem; letter-spacing: .08em; }
.desktop, .nav-actions, .buttons { display: flex; align-items: center; gap: 1rem; }
.desktop a { white-space: nowrap; font-size: .87rem; font-weight: 720; text-decoration: none; }
.desktop a:hover, .desktop a[aria-current] { color: var(--blue); text-decoration: underline; }
.locale { display: inline-flex; padding: .15rem; border: 1px solid var(--line); min-height: 40px; align-items: stretch; }
.locale > * { font-size: .76rem; font-weight: 780; min-width: 1.86rem; display: grid; place-items: center; text-decoration: none; }
.locale span { background: #e7efff; color: #093f9f; }
.locale a:hover { background: var(--field); }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 47px;
  padding: .66rem 1.02rem; font: inherit; font-size: .91rem; font-weight: 780; text-align: center;
  border: 1px solid transparent; border-radius: .19rem; text-decoration: none; line-height: 1.19; cursor: pointer;
}
.primary { background: var(--blue); color: white; }
.primary:hover { background: var(--blue-dark); }
.secondary { background: white; border-color: #a8bad5; color: var(--ink); }
.secondary:hover { background: var(--field); }
.mobile, .mobile-actions { display: none; }

.hero {
  display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  margin-top: 1.18rem; background: #e9f0fc; min-height: 525px; border-bottom: 5px solid var(--blue);
}
.hero-copy { align-self: center; padding: clamp(1.8rem, 4vw, 3.65rem); }
.eyebrow {
  font-size: .8rem; font-weight: 790; letter-spacing: .11em;
  text-transform: uppercase; margin: 0 0 .85rem; color: var(--blue-dark);
}
.area { display: flex; align-items: center; gap: .6rem; }
.area::before { content: ""; width: .65em; height: .65em; background: var(--blue); flex: none; }
.hero h1 { font-size: clamp(2.95rem, 5.45vw, 5.65rem); letter-spacing: -.072em; line-height: .98; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-desc { font-size: clamp(1rem, 1.32vw, 1.15rem); margin-top: 1.2rem; color: #2f4664; max-width: 29rem; }
.hero-media { background: #8a99aa; }
.hero-media img { height: 100%; position: absolute; inset: 0; object-position: 76% center; }
.hero-entry { margin-top: 1.6rem; padding: 1rem; border: 1px solid #cfdef5; background: white; box-shadow: 0 6px 18px #153d7a0b; }
.offer-caption { margin: 0 0 .55rem; font-weight: 800; color: var(--ink); font-size: 1.04rem; letter-spacing: -.025em; }
.offer-start { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .55rem; }
.offer-start label { display: grid; gap: .21rem; font-size: .79rem; font-weight: 750; color: var(--muted); }
.offer-start select, .offer-start button { min-height: 46px; }
.offer-start select { background-color: var(--field); }
.private-link { display: inline-block; margin-top: 1rem; font-size: .89rem; font-weight: 700; color: #204b9b; }
.private-link:hover { color: var(--blue); }

.section { padding-block: clamp(2.55rem, 5.6vw, 5rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: .9rem; }
.section-heading > a { color: var(--blue-dark); font-size: .91rem; font-weight: 750; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 252px), 1fr)); gap: 1rem; margin-top: 1.5rem; }
.business-services .cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
.card { border: 1px solid var(--line); background: white; transition: border-color .18s, background .18s; }
.card:hover, .card:focus-within { border-color: #638bd7; background: #f6f9ff; }
.card-link { height: 100%; display: flex; flex-direction: column; text-decoration: none; }
.card-link img { height: auto; aspect-ratio: 2; }
.card-link > div { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 1rem 1.1rem 1.15rem; }
.card-link p { font-size: .93rem; margin: .62rem 0 1rem; }
.card-link span { font-size: .87rem; font-weight: 780; color: var(--blue-dark); margin-top: auto; text-decoration: underline; }
.process-zone { background: var(--navy); color: white; }
.process-layout { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,2.05fr); gap: 2.2rem; }
.process-layout h2 { max-width: 12ch; }
.process-layout ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.4rem; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.process-layout li { counter-increment: step; border-top: 1px solid #48607d; padding-top: .85rem; }
.process-layout li::before {
  display: grid; place-items: center; content: counter(step); width: 1.75rem; height: 1.75rem;
  background: #bdd8ff; color: var(--navy); font-weight: 850; margin-bottom: .75rem;
}
.process-layout li p { color: #cedbf0; font-size: .93rem; }
.faq-layout, .detail, .subhero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(1.15rem,5vw,4rem); }
.faq-layout details { border-bottom: 1px solid var(--line); padding: .8rem 0; }
.faq-layout details:first-child { padding-top: .08rem; }
summary { cursor: pointer; font-weight: 750; }
.faq-layout details p { font-size: .96rem; margin: .5rem 0; }
.private-zone {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--field); border-left: 4px solid var(--blue);
  padding: clamp(1.2rem, 3vw, 2rem); margin-bottom: 3rem;
}
.private-zone h2 { font-size: clamp(1.45rem, 2.6vw, 2.4rem); }

.page-heading { padding-block: clamp(2.4rem,5vw,4.3rem) 1.5rem; }
.page-heading h1, .subhero h1 { font-size: clamp(2.25rem,4.5vw,4.5rem); }
.page-heading p:not(.eyebrow), .subhero p:not(.eyebrow) { font-size: 1.12rem; max-width: 43rem; margin-top: .9rem; }
.body-start { padding-top: 1.4rem; }
.subhero { align-items: center; padding-block: clamp(1.6rem,4vw,3.45rem) 1rem; }
.subhero img { height: auto; aspect-ratio: 1.58; }
.subhero .buttons { margin-top: 1.25rem; flex-wrap: wrap; }
.detail .button { margin-top: 1.2rem; }
.detail li { margin: .4rem 0; padding-left: .15rem; }
.detail li::marker { color: var(--blue); }
.detail h2, .panel h2, .prose h2 { font-size: clamp(1.4rem,2.65vw,2.35rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); align-items: start; gap: 1.55rem; }
.panel, .quote { border: 1px solid var(--line); background: #fff; padding: clamp(1rem,3vw,1.75rem); }
.quote-guide { background: var(--field); border-top: 4px solid var(--blue); }
.quote-guide li + li { margin-top: .65rem; }
.contact-panel { margin-top: 1.05rem; }
.panel address, .prose address { margin-top: .9rem; }
.prose p { max-width: 48rem; }
.prose h2:not(:first-child) { margin-top: 1.8rem; }
address { font-style: normal; line-height: 1.65; }
.quote fieldset { border: 0; padding: 0; margin: 0 0 1.15rem; min-width: 0; }
.quote fieldset + fieldset { border-top: 1px solid var(--line); padding-top: .8rem; }
.quote legend { font-size: 1.2rem; font-weight: 810; padding: 0 .3rem 0 0; color: var(--ink); }
.quote .fields { margin-top: .75rem; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; }
.fields label, .details-field { display: grid; gap: .3rem; font-weight: 690; font-size: .91rem; align-content: start; }
.details-field { margin-top: .85rem; }
input, select, textarea {
  width: 100%; min-width: 0; min-height: 46px; padding: .52rem .65rem;
  background: white; border: 1px solid #9faec5; border-radius: .14rem; font: inherit; font-weight: 450; color: var(--ink);
}
select {
  appearance: none; padding-right: 2rem;
  background-image: linear-gradient(45deg,transparent 50%,var(--ink) 50%),linear-gradient(135deg,var(--ink) 50%,transparent 50%);
  background-position: calc(100% - 16px) center,calc(100% - 11px) center;
  background-size: 5px 5px; background-repeat: no-repeat;
}
textarea { resize: vertical; }
input[type=checkbox] { width: 1.15rem; min-height: auto; margin: 0; accent-color: var(--blue); }
.consent { display: flex; align-items: center; gap: .48rem; flex-wrap: wrap; font-size: .87rem; margin: 0 0 1rem; }
.trap { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { color: #963518; font-size: .94rem; }
button:disabled { cursor: wait; opacity: .68; }

footer { background: var(--navy); color: #f0f5ff; }
.footer { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.4rem; padding-block: 2.5rem; }
.footer address { margin-top: .9rem; }
.footer nav { display: grid; align-content: start; gap: .4rem; }
.footer a:not(.brand) { text-decoration: none; font-size: .91rem; }
.footer a:hover { text-decoration: underline; }
.footer .brand small { color: #c3d1e8; }

@media (max-width: 1070px) {
  .desktop { gap: .55rem; }
  .desktop a { font-size: .8rem; }
  .nav-actions { gap: .45rem; }
  .nav { gap: .5rem; }
}
@media (max-width: 1190px) {
  .wrap { width: calc(100% - 2.4rem); }
  .desktop, .nav-actions > .button { display: none; }
  .nav { gap: .75rem; min-height: 68px; }
  .nav-actions { margin-left: auto; }
  .mobile { display: block; }
  .mobile summary { list-style: none; border: 1px solid var(--line); padding: .47rem .7rem; font-size: .88rem; }
  .mobile summary::-webkit-details-marker { display: none; }
  .mobile nav {
    position: absolute; z-index: 7; right: 0; top: 100%; width: min(18rem,100%);
    background: white; border: 1px solid var(--line); box-shadow: 0 10px 30px #0c213b26; display: grid; gap: .4rem; padding: .75rem;
  }
  .mobile nav a:not(.button) { padding: .23rem .38rem; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2rem); }
  .hero { grid-template-columns: 1fr; width: 100%; min-height: 0; margin-top: 0; }
  .hero-copy { padding: 1.95rem 1rem 1.25rem; }
  .hero h1 { font-size: clamp(2.55rem,9vw,4.6rem); }
  .hero-media { height: clamp(190px,52vw,340px); }
  .hero-entry { margin-top: 1.1rem; padding: .8rem; }
  .hero-desc { margin-top: .75rem; }
  .eyebrow { margin-bottom: .64rem; }
  .business-services .cards { grid-template-columns: 1fr; gap: .75rem; }
  .business-services .card-link { display: grid; grid-template-columns: minmax(100px, .75fr) minmax(0, 1.25fr); }
  .business-services .card-link img { height: 100%; aspect-ratio: auto; }
  .business-services .card-link > div { padding: .78rem; }
  .business-services .card-link h3 { font-size: 1.15rem; }
  .business-services .card-link p { font-size: .86rem; margin: .38rem 0 .55rem; }
  .process-layout, .faq-layout, .detail, .subhero, .contact-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .process-layout h2 { max-width: none; }
  .process-layout ol { grid-template-columns: 1fr; gap: .7rem; }
  .process-layout li { display: grid; grid-template-columns: 1.75rem 1fr; column-gap: .75rem; }
  .process-layout li::before { grid-row: span 2; margin: 0; }
  .process-layout li p { grid-column: 2; margin: .35rem 0 0; }
  .private-zone { align-items: start; flex-direction: column; }
  .mobile-actions {
    position: fixed; z-index: 6; bottom: 0; inset-inline: 0; display: grid;
    grid-template-columns: .7fr 1.3fr; gap: .55rem; padding: .55rem 1rem calc(.55rem + env(safe-area-inset-bottom));
    background: white; border-top: 1px solid var(--line); box-shadow: 0 -3px 18px #0c213b19;
  }
  body:not(.page-contact) { padding-bottom: calc(67px + env(safe-area-inset-bottom)); }
}
@media (max-width: 495px) {
  .section-heading { align-items: start; flex-direction: column; gap: .38rem; }
  .section-heading > a { align-self: start; }
  .footer { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer section { grid-column: 1/-1; }
  .footer nav { overflow-wrap: anywhere; }
  .fields { grid-template-columns: 1fr; }
  .buttons { flex-wrap: wrap; }
  .offer-start { gap: .4rem; }
  .offer-start button { padding-inline: .58rem; }
}
@media (max-width: 350px) {
  .offer-start { grid-template-columns: 1fr; }
}
@media (max-width: 350px) {
  .nav { gap: .4rem; }
  .nav .brand { gap: .45rem; }
  .nav .brand b { width: 2.15rem; height: 2.15rem; font-size: 1rem; }
  .nav .brand > span { font-size: .72rem; }
  .nav .brand small { font-size: .57rem; }
  .locale > * { min-width: 1.6rem; }
  .mobile summary { padding-inline: .53rem; }
  .mobile nav { overflow-wrap: anywhere; }
}

.analytics-settings {
  padding: 0; border: 0; background: transparent; color: inherit; text-align: start;
  justify-self: start; font: inherit; font-size: .91rem; cursor: pointer; line-height: 1.35;
}
.analytics-settings:hover { text-decoration: underline; }
.analytics-choice {
  position: fixed; z-index: 9; inset-inline-end: 1rem; bottom: 1rem;
  width: min(25rem,calc(100% - 2rem)); padding: 1rem; background: white;
  border: 1px solid var(--line); border-top: 4px solid var(--blue); box-shadow: 0 4px 25px #0c213b30;
}
.analytics-choice h2 { padding-right: 2rem; font-size: 1.25rem; }
.analytics-choice p { font-size: .89rem; }
.analytics-choice .buttons { margin-top: .7rem; gap: .55rem; }
.analytics-choice button { min-height: 43px; }
.analytics-close {
  position: absolute; right: .35rem; top: .35rem; width: 43px; padding: 0;
  border: 0; background: transparent; font-size: 1.5rem; color: var(--ink); cursor: pointer;
}
@media (max-width: 760px) {
  body:not(.page-contact) .analytics-choice { bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* Ratgeber und Ortsseiten */
.guide-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem clamp(1.5rem,5vw,4rem); }
.guide-groups h2, .guide-section h2 { font-size: clamp(1.4rem,2.65vw,2.1rem); }
.guide-list { list-style: none; margin: .8rem 0 0; padding: 0; }
.guide-list li { border-top: 1px solid var(--line); padding: .8rem 0; }
.guide-list li:last-child { border-bottom: 1px solid var(--line); }
.guide-list a { font-weight: 780; color: var(--blue-dark); }
.guide-list p { margin: .25rem 0 0; font-size: .93rem; max-width: 48rem; }
.prose ul, .prose ol { max-width: 48rem; margin: .7rem 0 0; padding-left: 1.3rem; color: var(--muted); }
.prose li { margin: .4rem 0; }
.prose li::marker { color: var(--blue); }
.sources { margin-top: 2rem; font-size: .9rem; }
.sources h2 { font-size: 1.15rem; }
.article-cta { border-left: 4px solid var(--blue); background: var(--field); }
.article-cta h2 { font-size: clamp(1.4rem,2.65vw,2.1rem); }
.article-cta .buttons { flex-wrap: wrap; margin-top: 1.1rem; }
@media (max-width: 900px) { .guide-groups { grid-template-columns: 1fr; } }

.visit-note { max-width: 48rem; padding: .8rem 1rem; border-left: 4px solid var(--blue); background: var(--field); font-size: .95rem; }
.visit-note a { color: var(--blue-dark); font-weight: 750; }
