:root {
  --navy: #062b49;
  --navy-deep: #041b30;
  --navy-soft: #0b3b5d;
  --teal: #009baA;
  --teal-bright: #16c5d0;
  --teal-dark: #007f8b;
  --ink: #142d3e;
  --muted: #607484;
  --pale: #f3f8fa;
  --line: #dce8ed;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; overflow-y: scroll; scrollbar-gutter: stable; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(4,27,48,.97); border-bottom: 1px solid rgba(255,255,255,.09); box-shadow: 0 4px 18px rgba(0,0,0,.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; max-width: 490px; }
.brand-logo { display: block; width: min(100%, 440px); max-height: 74px; object-fit: contain; object-position: left center; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px 21px; border: 1px solid var(--teal); border-radius: 7px;
  background: var(--teal); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 7px 20px rgba(0,155,170,.16); transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.button:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,155,170,.22); }
.button-small { padding: 10px 15px; font-size: .91rem; white-space: nowrap; }
.hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(115deg, var(--navy-deep), var(--navy) 65%, #07405c); color: #fff; }
.hero-glow { position: absolute; z-index: -1; width: 580px; height: 580px; right: -100px; top: -230px; border-radius: 50%; background: radial-gradient(circle, rgba(0,188,202,.19), rgba(0,188,202,0) 68%); }
.hero-content { padding-top: clamp(76px, 10vw, 132px); padding-bottom: clamp(78px, 9vw, 118px); max-width: 1120px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 20px; color: var(--teal-bright); text-transform: uppercase; font-size: .77rem; font-weight: 800; letter-spacing: .13em; }
.eyebrow-line { display: inline-block; width: 27px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 850px; margin-bottom: 25px; font-size: clamp(2.8rem, 6.3vw, 5.25rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 800; }
h1 span, .section-heading h2 span, .support-copy h2 span { color: var(--teal-bright); }
.hero-copy { max-width: 760px; margin-bottom: 14px; color: #e0edf3; font-size: clamp(1.06rem, 1.8vw, 1.22rem); line-height: 1.8; }
.hero-subcopy { max-width: 700px; color: #a9c1cf; margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; }
.text-link { color: #e6f5f8; text-decoration: none; font-weight: 600; }
.text-link:hover { color: var(--teal-bright); }
.hero-bottom-rule { height: 4px; background: linear-gradient(90deg, var(--teal), var(--teal-bright), transparent 80%); }
.section { padding: clamp(70px, 9vw, 110px) 0; }
.services { background: var(--pale); }
.section-heading { max-width: 730px; margin-bottom: 42px; }
.section-heading .eyebrow, .support-copy .eyebrow { color: var(--teal-dark); }
.section-heading h2, .support-copy h2 { margin-bottom: 15px; font-size: clamp(2rem, 4.2vw, 3.15rem); line-height: 1.13; letter-spacing: -.04em; }
.section-heading h2 span, .support-copy h2 span { color: var(--teal-dark); }
.section-heading > p:last-child { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-card { padding: 27px 23px 28px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 5px 18px rgba(6,43,73,.035); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.service-card:hover { transform: translateY(-4px); border-color: #9bdbe0; box-shadow: 0 14px 30px rgba(6,43,73,.08); }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 23px; border-radius: 10px; background: #e0f7f8; color: var(--teal-dark); }
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.05rem; line-height: 1.4; margin-bottom: 12px; letter-spacing: -.015em; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: .93rem; line-height: 1.75; }
.support-section { padding: clamp(60px, 8vw, 96px) 0; }
.support-panel { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, .75fr); align-items: center; gap: clamp(35px, 7vw, 85px); padding: clamp(30px, 5vw, 62px); border-radius: 14px; background: #f3f8fa; border: 1px solid var(--line); }
.support-copy h2 { font-size: clamp(2rem, 3.8vw, 2.8rem); }
.support-copy p:not(.eyebrow) { color: var(--muted); }
.support-copy .button { margin-top: 9px; }
.portal-logo-link { display: flex; flex-direction: column; align-items: center; gap: 17px; padding: 22px; border: 1px solid #d9e7ec; border-radius: 12px; background: #fff; text-decoration: none; box-shadow: 0 10px 30px rgba(6,43,73,.06); transition: transform .18s ease; }
.portal-logo-link:hover { transform: translateY(-3px); }
.portal-logo { display: block; width: min(100%, 220px); height: auto; border-radius: 12px; }
.portal-logo-link > span { color: var(--navy); font-weight: 700; }
.portal-logo-link > span span { color: var(--teal-dark); }
.site-footer { background: var(--navy-deep); color: #c2d2dc; }
.footer-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }
.footer-brand { color: #fff; font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.footer-brand span { color: var(--teal-bright); }
.footer-inner p { margin: 0; font-size: .85rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #c2d2dc; font-size: .85rem; text-decoration: none; }
.footer-links a:hover { color: var(--teal-bright); }
.copyright { color: #8fa9b8; }
@media (max-width: 960px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-panel { grid-template-columns: minmax(0, 1fr) 240px; gap: 28px; }
}
@media (max-width: 650px) {
  .container { width: min(100% - 34px, 1120px); }
  .header-inner { min-height: 78px; gap: 12px; }
  .brand { max-width: 58%; }
  .brand-logo { max-height: 53px; }
  .button-small { padding: 9px 11px; font-size: .8rem; }
  .hero-content { padding-top: 68px; padding-bottom: 72px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { padding: 24px; }
  .support-panel { grid-template-columns: 1fr; padding: 28px 22px; }
  .portal-logo-link { max-width: 300px; justify-self: center; width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 13px; }
  .footer-links { flex-wrap: wrap; gap: 12px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


.contact-section { padding: 0 0 clamp(60px, 8vw, 96px); }
.contact-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); align-items: center; gap: clamp(30px, 6vw, 70px); padding: clamp(30px, 5vw, 58px); border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 12px 35px rgba(6,43,73,.055); }
.contact-copy .eyebrow { color: var(--teal-dark); }
.contact-copy h2 { margin-bottom: 15px; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.13; letter-spacing: -.04em; }
.contact-copy h2 span { color: var(--teal-dark); }
.contact-copy > p:last-child { color: var(--muted); margin-bottom: 0; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; }
.contact-method { display: flex; align-items: center; gap: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; transition: border-color .18s ease, background .18s ease; min-width: 0; }
.contact-method:hover { border-color: #9bdbe0; background: #f6fcfc; }
.contact-method-icon { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 9px; background: #e0f7f8; color: var(--teal-dark); font-size: 1.2rem; font-weight: 700; }
.contact-method > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.contact-method small { color: var(--muted); font-size: .78rem; }
.contact-method strong { color: var(--navy); font-size: .93rem; overflow-wrap: anywhere; }
.contact-arrow { margin-left: auto; color: var(--teal-dark); }
.contact-location { margin: 4px 0 0; color: var(--muted); font-size: .86rem; }
@media (max-width: 760px) { .contact-panel { grid-template-columns: 1fr; gap: 26px; } }

/* Erweiterungen für das überarbeitete Startseiten-Layout */
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); margin-left: auto; }
.main-nav a { color: #e4f0f5; text-decoration: none; font-size: .95rem; font-weight: 600; transition: color .18s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--teal-bright); }
.support-nav { margin-left: 4px; }
.button svg { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-outline { background: transparent; border-color: rgba(225,241,247,.8); box-shadow: none; }
.button-outline:hover { background: rgba(255,255,255,.08); border-color: var(--teal-bright); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); align-items: center; gap: 12px; min-height: 510px; }
.hero-content { position: relative; z-index: 1; padding: 66px 0 38px; max-width: none; }
.hero-content h1 { max-width: 640px; font-size: clamp(2.7rem, 4.1vw, 4.35rem); margin-bottom: 23px; }
.hero-copy { max-width: 590px; font-size: clamp(1.02rem, 1.45vw, 1.17rem); line-height: 1.65; margin-bottom: 25px; }
.hero-actions { gap: 14px; }
.hero-actions .button { min-height: 54px; }
.hero-visual { min-width: 0; align-self: stretch; display: flex; align-items: center; justify-content: center; margin-right: calc((1120px - 100vw) / 2); overflow: hidden; }
.hero-visual img { display: block; width: 100%; height: 100%; max-height: 490px; object-fit: cover; object-position: 55% center; mix-blend-mode: screen; opacity: .96; mask-image: linear-gradient(90deg, transparent 0%, #000 15%); }
.trust-line { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 26px; color: #d4e7ef; font-size: .84rem; }
.trust-line span { display: inline-flex; align-items: center; gap: 8px; }
.trust-line svg { width: 22px; height: 22px; fill: none; stroke: var(--teal-bright); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trust-line i { height: 22px; width: 1px; background: rgba(190,220,232,.38); }
.service-icon { border-radius: 12px; }
.about-section { padding-top: 0; background: var(--pale); }
.about-panel { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: clamp(28px, 6vw, 80px); align-items: center; padding: clamp(32px, 5vw, 58px); background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.about-copy .eyebrow { color: var(--teal-dark); }
.about-copy h2 { margin-bottom: 18px; color: var(--navy); font-size: clamp(2rem, 3.8vw, 2.75rem); line-height: 1.13; letter-spacing: -.04em; }
.about-copy h2 span { color: var(--teal-dark); }
.about-copy p { color: var(--muted); margin-bottom: 13px; }
.about-copy p:last-child { margin-bottom: 0; }
.about-copy strong { color: var(--navy); }
.since-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 18px; min-height: 210px; border: 1px solid #cdebf0; border-radius: 12px; background: linear-gradient(145deg, #f4fcfd, #fff); text-align: center; }
.since-card span { color: var(--teal-dark); font-size: .76rem; font-weight: 800; letter-spacing: .2em; }
.since-card strong { color: var(--teal); font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1.15; letter-spacing: -.06em; }
.since-card i { width: 46px; height: 3px; background: var(--teal-bright); margin: 13px 0; }
.since-card small { max-width: 150px; color: var(--muted); line-height: 1.5; }
@media (max-width: 960px) {
  .header-inner { gap: 16px; }
  .main-nav { gap: 18px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); min-height: 480px; }
  .hero-content h1 { font-size: clamp(2.5rem, 5vw, 3.6rem); }
  .hero-visual { margin-right: -24px; }
  .trust-line { gap: 10px; }
  .trust-line i { display: none; }
  .about-panel { grid-template-columns: minmax(0, 1fr) 180px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 126px; }
  .header-inner { min-height: 78px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .brand { max-width: 46%; }
  .brand-logo { max-height: 48px; }
  .main-nav { order: 3; width: 100%; justify-content: center; gap: clamp(20px, 7vw, 40px); margin: 0; padding-top: 7px; }
  .main-nav a { font-size: .88rem; }
  .support-nav { margin-left: auto; }
  .hero-layout { display: flex; flex-direction: column; align-items: stretch; min-height: auto; gap: 0; }
  .hero-content { padding: 54px 0 18px; }
  .hero-content h1 { font-size: clamp(2.5rem, 10vw, 3.6rem); }
  .hero-visual { height: clamp(220px, 58vw, 330px); margin: 0 -17px; align-self: auto; }
  .hero-visual img { max-height: none; object-position: 56% center; mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%); }
  .trust-line { margin-top: 22px; }
  .about-panel { grid-template-columns: 1fr; }
  .since-card { min-height: 155px; }
}
@media (max-width: 420px) {
  .support-nav { padding: 9px 10px; font-size: .78rem; gap: 6px; }
  .support-nav svg { width: 17px; height: 17px; }
  .main-nav { gap: 18px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .trust-line { align-items: flex-start; flex-direction: column; }
}

/* Verhindert horizontale Layoutsprünge zwischen Seiten mit/ohne vertikale Scrollbar. */
html {
  scrollbar-gutter: stable;
}
