
:root{--ink:#15232b;--blue:#0873ba;--stone:#777465;--paper:#f5f4f1;--line:#e2e4e4;--muted:#647079;--dark:#111c25}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:16px/1.75 Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}img{max-width:100%;display:block}button{font:inherit;cursor:pointer}.wrap{width:min(1220px,calc(100% - 54px));margin:auto}.eyebrow{font-size:.73rem;letter-spacing:.22em;font-weight:700;text-transform:uppercase;color:var(--blue)}h1,h2,h3{line-height:1.15;letter-spacing:-.035em}h1{font-size:clamp(2.65rem,5.4vw,5.65rem);font-weight:500}h2{font-size:clamp(2rem,3.8vw,3.5rem);font-weight:500}h3{font-size:1.35rem}p{margin:0 0 1.2em}.top{background:var(--dark);color:#d3dce2;font-size:.76rem}.top .wrap{display:flex;justify-content:space-between;padding:7px 0;gap:16px}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}.head{display:flex;align-items:center;justify-content:space-between;min-height:91px;gap:22px}.logo{display:flex;align-items:center;gap:13px;flex-shrink:0}.logo img{width:176px;height:auto}.logo small{border-left:1px solid #cfd5d9;padding-left:13px;font-size:.69rem;letter-spacing:.13em;font-weight:700;text-transform:uppercase;line-height:1.5}.nav{display:flex;align-items:center;gap:20px;font-size:.84rem;font-weight:600}.nav a:last-child{background:var(--dark);color:white;padding:12px 18px}.menu{display:none;background:none;border:1px solid #b7c1c8;padding:6px 13px;font-size:1.35rem}.hero{min-height:720px;display:flex;align-items:center;position:relative;background-color:#233442;background-position:center 52%;background-size:cover;background-repeat:no-repeat;color:#fff;isolation:isolate}.hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(9,22,32,.79) 0%,rgba(9,22,32,.53) 39%,rgba(9,22,32,.13) 72%,rgba(9,22,32,.03) 100%)}.hero .inner{max-width:850px;padding:90px 0}.hero h1{margin:14px 0 25px}.hero h1 em{font-style:normal;color:#b9dff4}.hero p{font-size:1.13rem;max-width:660px;color:#e5edf2}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:13px 22px;border:1px solid var(--blue);background:var(--blue);color:#fff!important;font-weight:700;font-size:.87rem}.btn.ghost{background:transparent;border-color:#d1dce2}.section{padding:96px 0}.soft{background:var(--paper)}.dark{background:var(--dark);color:#fff}.section-head{max-width:800px;margin-bottom:44px}.section-head h2{margin:10px 0 20px}.section-head p{color:var(--muted);font-size:1.07rem}.dark .section-head p{color:#bfcbd4}.split{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.split img{width:100%;aspect-ratio:4/3;object-fit:cover}.split p{color:var(--muted)}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.tile{background:white;display:flex;flex-direction:column;border:1px solid var(--line)}.tile img{width:100%;height:245px;object-fit:cover}.tile-body{padding:27px;flex:1}.tile h3{margin:9px 0 14px}.tile p{color:var(--muted);font-size:.92rem}.more{color:var(--blue);font-size:.85rem;font-weight:700}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.metric{border-top:1px solid #52616c;padding-top:25px}.metric strong{font-size:1.35rem;display:block;color:#c1dfee}.metric p{color:#bdc8d0;font-size:.92rem}.links{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.linkbox{border-top:2px solid var(--blue);padding-top:20px}.linkbox a{display:block;padding:11px 0;border-bottom:1px solid var(--line)}.cta{background:#e7ecef;padding:65px 0}.cta .wrap{display:flex;align-items:center;justify-content:space-between;gap:30px}.cta h2{margin:10px 0}.foot{background:#0b1720;color:#d1d9df;padding:60px 0 25px}.foot-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:40px}.foot img{width:185px;background:white;padding:9px}.foot h3{font-size:.95rem;color:#b6d8ef}.foot a{display:inline-block;margin-right:10px}.foot p{font-size:.9rem;color:#b8c3cb}.bottom{border-top:1px solid #34424b;margin-top:36px;padding-top:22px;display:flex;justify-content:space-between;gap:20px;font-size:.79rem}.legal{max-width:1000px;margin:auto;padding:72px 27px 110px;overflow-wrap:anywhere}.legal h1{font-size:clamp(2.3rem,4vw,3.8rem)}.legal h2{font-size:1.65rem;margin-top:2em}.legal h3{font-size:1.3rem}.legal a{color:#086cae;text-decoration:underline}.legal p,.legal li{line-height:1.75}.faq details{border-bottom:1px solid var(--line);padding:19px 0}.faq summary{cursor:pointer;font-weight:700}.faq details p{padding-top:12px;color:var(--muted)}@media(max-width:950px){.nav{gap:11px;font-size:.75rem}.logo img{width:140px}.logo small{font-size:.58rem}.split{gap:35px}.grid3{gap:12px}}@media(max-width:740px){.wrap{width:calc(100% - 34px)}.top .wrap{justify-content:center}.top .wrap span:first-child{display:none}.head{min-height:72px}.logo img{width:130px}.logo small{font-size:.54rem}.menu{display:block}.nav{display:none;position:absolute;top:72px;left:0;right:0;padding:14px 22px 22px;background:white;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 12px 24px #0002}.nav.open{display:flex}.nav a{padding:11px;border-bottom:1px solid var(--line)}.hero{min-height:600px}.hero .inner{padding:60px 0}.section{padding:66px 0}.split,.grid3,.metrics,.links,.foot-grid{grid-template-columns:1fr}.split img{order:-1}.tile img{height:220px}.cta .wrap{display:block}.bottom{flex-direction:column}.legal{padding:55px 18px 85px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* REBA HIGH-END EDITORIAL REFINEMENT */
:root{--paper:#f7f6f3;--dark:#101b23;--blue:#0874b9;--line:#e7e6e2}
body{font-family:Arial,Helvetica,sans-serif;letter-spacing:.005em}
.site-header{background:#fff}.head{min-height:102px}.logo img{width:188px}.logo small{font-size:.64rem;letter-spacing:.16em;color:#59636a}.nav{font-size:.81rem;gap:18px}.nav a:last-child{padding:15px 21px}
.hero{min-height:740px}.hero .inner{max-width:760px;padding:120px 0 115px}.hero .eyebrow{color:#e0eaf0!important;letter-spacing:.25em}.hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(3.3rem,6.1vw,6.5rem);font-weight:400;letter-spacing:-.055em;line-height:1.07;margin:22px 0 28px;text-shadow:0 2px 20px #07111a55}.hero h1 em{color:#e7eef1}.hero p{font-size:1.15rem;max-width:640px;line-height:1.85;color:#f4f5f6;text-shadow:0 1px 10px #09151d88}.hero .btn{background:#fff;border-color:#fff;color:#142430!important}.hero .btn.ghost{background:transparent;color:#fff!important;border-color:#fff9}.hero .btn:hover{background:#cde5f2;border-color:#cde5f2;color:#152630!important}
h2{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.04em;font-weight:400}.section{padding:112px 0}.section-head{margin-bottom:52px}.eyebrow{letter-spacing:.21em}.tile{border:0;box-shadow:0 16px 50px #1725300c}.tile img{height:270px}.tile-body{padding:34px}.tile h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:1.5rem}.split{gap:90px}.split img{aspect-ratio:5/4}.dark{background:#13232e}.metric strong{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:1.65rem}.cta{background:#e9eff2}.foot{background:#101b23}
@media(max-width:1050px){.logo small{display:none}.nav{gap:12px}.logo img{width:160px}}
@media(max-width:740px){.head{min-height:76px}.logo img{width:142px}.hero{min-height:650px;background-position:58% center}.hero:before{background:linear-gradient(90deg,rgba(9,22,32,.82),rgba(9,22,32,.49) 80%)}.hero .inner{padding:90px 0 85px}.hero h1{font-size:clamp(2.8rem,10vw,4.3rem)}.hero p{font-size:1.03rem}.section{padding:75px 0}.split{gap:35px}}

/* Hero photo: resolve from site root, not the /assets/ stylesheet folder */
.hero{background-position:center center;background-size:cover}
.hero:before{background:none!important}
.hero .inner{max-width:930px}
.hero h1{font-size:clamp(3rem,5.1vw,5.6rem)}
@media(max-width:740px){.hero{background-position:57% center;}}

/* REBA – refined institutional navigation */
.nav{gap:clamp(12px,1.35vw,24px);font-size:.77rem;font-weight:600;letter-spacing:.025em}
.nav a:not(:last-child){position:relative;display:inline-flex;align-items:center;min-height:54px;white-space:nowrap;color:#263740;transition:color .2s ease}
.nav a:not(:last-child)::after{content:"";position:absolute;left:0;right:100%;bottom:8px;height:1px;background:#0874b9;transition:right .25s ease}
.nav a:not(:last-child):hover,.nav a:not(:last-child):focus-visible,.nav a[aria-current="page"]{color:#0874b9}
.nav a:not(:last-child):hover::after,.nav a:not(:last-child):focus-visible::after,.nav a[aria-current="page"]::after{right:0}
.nav a:last-child{background:#14232d;color:#fff;padding:13px 21px;border:1px solid #14232d;letter-spacing:.065em;font-size:.75rem;transition:background .2s ease,border-color .2s ease}
.nav a:last-child:hover,.nav a:last-child:focus-visible{background:#0874b9;border-color:#0874b9;color:#fff}
@media(max-width:1120px) and (min-width:741px){.logo small{display:none}.nav{gap:11px;font-size:.72rem}.logo img{width:145px}}
@media(max-width:740px){.nav{gap:0;font-size:.88rem;letter-spacing:.01em}.nav a:not(:last-child){min-height:48px;display:flex}.nav a:not(:last-child)::after{bottom:0;right:100%}.nav a:last-child{text-align:center;margin-top:12px}.menu{border-color:#d6dfe4;color:#172a36}}

/* REBA footer brand: no white logo plaque */
.foot .footer-brand{display:inline-flex;flex-direction:column;align-items:flex-start;margin:0 0 23px;padding:0 0 17px;border-bottom:1px solid rgba(165,196,215,.32);background:transparent}.footer-brand-name{font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.6rem,4vw,3.7rem);font-weight:400;line-height:1;letter-spacing:.035em;color:#e9e7de}.footer-brand-name span{color:#62b1e4}.footer-brand-sub{margin-top:8px;font-size:.68rem;letter-spacing:.3em;font-weight:600;color:#c7d0d5}.foot .footer-brand+p{max-width:360px;line-height:1.85}.foot img{background:transparent;padding:0}

/* REBA Hero: Firmenname auf Desktop in einer Zeile */
.hero .inner{max-width:1050px}
.hero h1 .hero-company{display:inline-block;white-space:nowrap;font-size:.79em;letter-spacing:-.055em;color:#e7eef1}
@media(max-width:740px){.hero h1 .hero-company{white-space:normal;font-size:.83em}}

/* Typografische Zeilenführung – REBA High-End */
.split h2,.section-head h2,.cta h2{overflow-wrap:normal;word-break:normal;text-wrap:balance;}
.split h2 .heading-line{display:block;white-space:nowrap;}
@media(min-width:741px){.split h2{font-size:clamp(2rem,3.15vw,3.2rem);line-height:1.2;letter-spacing:-.045em;} .split{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(35px,5vw,80px);}}
@media(max-width:740px){.split h2 .heading-line{white-space:normal;} .split h2,.section-head h2,.cta h2{font-size:clamp(1.95rem,7.8vw,3.2rem);line-height:1.16;} }

/* REBA: kontrollierte, elegante Überschriften auf allen Leistungsseiten */
.section-head h2 .heading-line{display:block;white-space:nowrap;}
@media(min-width:741px){.section-head h2{max-width:100%;font-size:clamp(2rem,3.1vw,3.25rem);line-height:1.18;}}
@media(max-width:740px){.section-head h2 .heading-line{white-space:normal;}.section-head h2{overflow-wrap:break-word;}}

/* SEO typography and responsive layout refinement */
.section-head h2, .split h2, .hero h1 { overflow-wrap: normal; word-break: normal; hyphens: manual; }
.section-head h2, .split h2 { max-width: 100%; }
@media (max-width: 760px) {
  .hero h1, .section h2, .section h3 { max-width: 100%; overflow-wrap: break-word; }
  .wrap, .split, .grid3, .section-head, .tile { min-width: 0; }
  img { max-width: 100%; height: auto; }
  .section-head h2, .split h2 { font-size: clamp(1.9rem, 7vw, 3rem); line-height: 1.12; }
}

/* REBA Footer: vollständiges Logo, ohne Hintergrundkasten */
.foot .footer-brand{display:inline-flex;align-items:center;border:0;padding:0;margin:0 0 18px;background:transparent;max-width:100%}
.foot .footer-brand img{display:block;width:clamp(190px,22vw,270px);height:auto;max-width:100%;object-fit:contain;background:transparent;padding:0;filter:none}
@media(max-width:600px){.foot .footer-brand img{width:215px}}

/* REBA Footer Kontakt – kompakt, anklickbar und mobilfreundlich */
.footer-contact{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-top:20px}.footer-contact a{color:#c9dce9;text-decoration:none;overflow-wrap:anywhere;transition:color .2s ease}.footer-contact a:hover,.footer-contact a:focus-visible{color:#4aa6e7;text-decoration:underline;text-underline-offset:5px}

/* Footer-Kontaktdaten: Bezeichnung und Wert auf einer Zeile */
.footer-contact{display:flex;flex-direction:column;gap:10px;align-items:flex-start;margin-top:20px}
.footer-contact p{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;column-gap:7px;row-gap:2px;line-height:1.6}
.footer-contact-label{color:#e7edf2;white-space:nowrap}
.footer-contact a{overflow-wrap:anywhere}

/* REBA legal pages: restore the two-column label/value layout from the legacy imprint. */
.legal{max-width:1050px;padding-top:65px;color:#24313a;overflow-wrap:break-word}
.legal #left-col{width:100%;min-width:0}
.legal h1{margin:0 0 18px;line-height:1.16}
.legal h2,.legal h3{color:#15232b;line-height:1.28;letter-spacing:-.018em}
.legal h3{margin:35px 0 18px}
.legal .lead{color:#596873;font-size:1.08rem;margin-bottom:30px}
.legal .table{display:grid;grid-template-columns:minmax(165px,32%) minmax(0,1fr);gap:0 24px;margin:12px 0 28px}
.legal .table>.imprint-left,.legal .table>.imprint-right{padding:9px 0;border-bottom:1px solid #e6e9eb;min-width:0;line-height:1.65}
.legal .table>.imprint-left{font-weight:600;color:#334651}
.legal .table>.imprint-right{color:#24313a}
.legal .table>.clear,.legal .table>.clearfix{display:none}
.legal .imprint-right a{overflow-wrap:anywhere}
.legal a[href^="mailto:"],.legal a[href^="tel:"]{text-decoration:underline;text-underline-offset:3px}
.legal p{margin:0 0 17px}
.legal ul,.legal ol{padding-left:25px}
@media(max-width:650px){.legal{padding:42px 18px 75px}.legal .table{grid-template-columns:minmax(0,1fr);gap:0}.legal .table>.imprint-left{padding:15px 0 2px;border-bottom:0}.legal .table>.imprint-right{padding:0 0 13px}.legal h1{font-size:clamp(2rem,8vw,2.8rem)}}

/* Individuelle Headergrafiken der Unterseiten */
.page-photo-banner{position:relative;min-height:clamp(220px,30vw,390px);background-image:linear-gradient(90deg,rgba(13,28,40,.82),rgba(13,28,40,.18)),var(--page-header-image);background-position:center 48%;background-size:cover;display:flex;align-items:center;color:#fff}
.page-photo-banner .wrap{width:100%;padding-top:48px;padding-bottom:48px}
.page-photo-banner .eyebrow{color:#c0e4ff}
.page-photo-banner h1,.page-photo-banner .page-photo-title{font-family:Georgia,serif;font-size:clamp(2.3rem,5vw,4.5rem);line-height:1.1;letter-spacing:-.025em;max-width:100%;overflow-wrap:break-word;margin:.5em 0 0;color:#fff}
@media(max-width:700px){.page-photo-banner{min-height:230px;background-position:center}.page-photo-banner .wrap{padding-top:36px;padding-bottom:36px}}

/* Einheitliche Headerhoehe und seitenindividuelle Bilder (Korrektur 13.11.2026) */
.hero,.page-photo-banner{height:540px;min-height:540px;max-height:none;box-sizing:border-box;display:flex;align-items:center;background-size:cover;background-repeat:no-repeat;background-position:center center}
.hero{}
.hero:before{display:none!important}
.hero .inner{padding:44px 0;max-width:1000px}
.hero h1{font-size:clamp(2.5rem,4.6vw,4.6rem);line-height:1.08;margin:12px 0 20px}
.hero p{font-size:clamp(.96rem,1.25vw,1.1rem);line-height:1.6;margin:0}
.page-photo-banner{background-image:linear-gradient(90deg,rgba(8,20,28,.70),rgba(8,20,28,.22) 65%,rgba(8,20,28,.04)),var(--page-header-image)!important}
.page-photo-banner .wrap{padding-top:44px;padding-bottom:44px}
.page-photo-banner h1,.page-photo-banner .page-photo-title{font-size:clamp(2.5rem,4.6vw,4.6rem);line-height:1.08}
@media(max-width:740px){.hero,.page-photo-banner{height:auto;min-height:450px;max-height:none;background-position:center center}.hero{}.page-photo-banner{background-image:linear-gradient(90deg,rgba(8,20,28,.77),rgba(8,20,28,.34)),var(--page-header-image)!important}.hero .inner{padding:60px 0}.hero h1,.page-photo-banner h1,.page-photo-banner .page-photo-title{font-size:clamp(2.15rem,8vw,3.5rem);overflow-wrap:anywhere}.hero h1 .hero-company{white-space:normal}.page-photo-banner .wrap{padding-top:60px;padding-bottom:60px}}

/* Einheitliche, bildgestützte Header und saubere Umbrüche */
.hero,.page-photo-banner{width:100%;min-height:510px;height:auto;max-height:none;background-repeat:no-repeat;background-size:cover;background-position:center center}
.hero{}
.page-photo-banner{background-image:linear-gradient(90deg,rgba(8,20,28,.78),rgba(8,20,28,.34) 72%,rgba(8,20,28,.14)),var(--page-header-image)!important}
.hero .inner,.page-photo-banner>.wrap{width:min(1200px,calc(100% - 48px));max-width:1200px;margin-inline:auto;padding:80px 0}
.hero h1,.page-photo-banner h1,.page-photo-banner .page-photo-title{font-size:clamp(2.5rem,4.2vw,4.8rem);line-height:1.12;letter-spacing:-.045em;overflow-wrap:normal;word-break:normal;hyphens:none;max-width:100%;margin:18px 0 22px;text-wrap:balance}
.hero p{max-width:760px}.hero .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.section h2,.section h3,.cta h2{overflow-wrap:normal;word-break:normal;hyphens:none;text-wrap:pretty}
@media(max-width:740px){.hero,.page-photo-banner{min-height:410px;height:auto}.hero .inner,.page-photo-banner>.wrap{width:calc(100% - 36px);padding:60px 0}.hero h1,.page-photo-banner h1,.page-photo-banner .page-photo-title{font-size:clamp(2.05rem,8vw,3.25rem);overflow-wrap:break-word;line-height:1.12}.hero p{font-size:1rem}.hero .actions .btn{max-width:100%}}

/* Header consistency: image is explicitly set on each page's hero inline */
.hero,.page-photo-banner{min-height:540px;height:auto;display:flex;align-items:center;background-position:center center;background-size:cover;background-repeat:no-repeat}
.hero .inner,.page-photo-banner>.wrap{box-sizing:border-box;max-width:1200px;width:min(1200px,calc(100% - 48px));margin-inline:auto;padding:75px 0}
@media(max-width:740px){.hero,.page-photo-banner{min-height:420px;height:auto}.hero .inner,.page-photo-banner>.wrap{width:calc(100% - 36px);padding:60px 0}.hero h1,.page-photo-banner h1{overflow-wrap:break-word;hyphens:auto;font-size:clamp(2rem,7.5vw,3.25rem)}}


/* Abstand zwischen Aktionsbuttons und nachfolgendem Text.
   Gilt websiteweit, auch auf neuen SEO-Landingpages. */
.section-head > .btn + p,
.section-head > .actions + p,
.section-head > .btn + .text,
.section-head > .actions + .text,
.split > div > .btn + p,
.split > div > .actions + p,
main .btn + p,
main .actions + p {
  margin-top: 20px;
}


/* REBA: kompakte Themenbereiche und einheitliche Abstände */
.reba-topic-section{padding-block:clamp(58px,6vw,88px)}
.reba-topic-section .section-head{margin-bottom:28px}
.reba-topic-section .section-head p{margin-bottom:0}
.reba-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;max-width:1040px}
.reba-topic-link{display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0;padding:18px 22px;background:#fff;border:1px solid var(--line);font-weight:600;line-height:1.4;transition:border-color .2s,transform .2s}
.reba-topic-section:not(.soft) .reba-topic-link{background:var(--paper)}
.reba-topic-link:hover{border-color:var(--blue);transform:translateY(-2px)}
.reba-topic-link span{flex:none;color:var(--blue)}
/* Kein zusätzlicher Leerraum durch den letzten Absatz eines Abschnitts */
.section-head>p:last-child{margin-bottom:0}
/* Nach Buttons und Button-Gruppen genügend Abstand zum Folgetext */
main .btn + p, main .actions + p, main .section-head > .btn + p{margin-top:22px}
@media(max-width:740px){
 .reba-topic-section{padding-block:52px}
 .reba-topic-section .section-head{margin-bottom:22px}
 .reba-topic-grid{grid-template-columns:1fr;gap:10px}
 .reba-topic-link{padding:15px 17px}
}

/* Hochwertige, ruhige Themen-Navigation – REBA Markenwelt */
.reba-topic-section .reba-topic-grid {
  counter-reset: reba-topics;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  max-width: 1120px;
}
.reba-topic-section .reba-topic-link {
  counter-increment: reba-topics;
  position: relative;
  min-height: 88px;
  padding: 21px 62px 21px 26px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(19, 43, 59, .11);
  border-left: 3px solid transparent;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 5px 22px rgba(14, 32, 45, .035);
  color: #162b39;
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.reba-topic-section .reba-topic-link::before {
  content: counter(reba-topics, decimal-leading-zero);
  display: inline-block;
  flex: 0 0 38px;
  margin-right: 17px;
  color: #7892a2;
  font: 600 11px/1.5 Arial, sans-serif;
  letter-spacing: .08em;
}
.reba-topic-section .reba-topic-link > span {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #edf5fa;
  color: #0072bc;
  font-size: 17px;
  font-weight: 400;
  transition: background-color .22s ease, color .22s ease;
}
.reba-topic-section .reba-topic-link:hover,
.reba-topic-section .reba-topic-link:focus-visible {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(0, 114, 188, .32);
  border-left-color: #0072bc;
  box-shadow: 0 12px 28px rgba(14, 32, 45, .09);
}
.reba-topic-section .reba-topic-link:hover > span,
.reba-topic-section .reba-topic-link:focus-visible > span {
  background: #0072bc;
  color: #fff;
}
.reba-topic-section .reba-topic-link:focus-visible { outline: 2px solid #0072bc; outline-offset: 3px; }
.reba-topic-section.soft .reba-topic-link { background: #fff; }
@media (max-width: 760px) {
  .reba-topic-section .reba-topic-grid { grid-template-columns: 1fr; gap: 11px; }
  .reba-topic-section .reba-topic-link { min-height: 72px; padding: 16px 57px 16px 18px; }
  .reba-topic-section .reba-topic-link::before { flex-basis: 29px; margin-right: 12px; }
  .reba-topic-section .reba-topic-link > span { right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .reba-topic-section .reba-topic-link,
  .reba-topic-section .reba-topic-link > span { transition: none; }
}

/* Kontrastkorrektur: Ghost-Buttons in hellen Content-Abschnitten */
main .section:not(.dark) .btn.ghost,
main .section.soft .btn.ghost {
  color:var(--ink)!important;
  background:#fff;
  border:1px solid #cbd7df;
  box-shadow:0 1px 2px rgba(12,35,50,.04);
}
main .section:not(.dark) .btn.ghost:hover,
main .section.soft .btn.ghost:hover {
  color:#fff!important;
  background:var(--blue);
  border-color:var(--blue);
}
main .section:not(.dark) .btn.ghost:focus-visible {
  outline:3px solid var(--blue);outline-offset:3px;
}

/* REBA Hotelmakler – local typography and mobile refinements */
.hero{background-position:center;background-size:cover}
.grid3 .tile{background:#fff;border:1px solid #e7e9eb;min-height:100%}
.grid3 .tile-body{height:100%;display:flex;flex-direction:column;align-items:flex-start}
.grid3 .tile-body .more{margin-top:auto;padding-top:12px}
.section-head p{max-width:850px}
.section .actions+p,.section .btn+p{margin-top:22px}
@media(max-width:980px){.logo small{font-size:.58rem;letter-spacing:.07em}}
@media(max-width:680px){.logo small{font-size:.54rem}.hero h1{overflow-wrap:break-word}.grid3{grid-template-columns:1fr}}



/* Hotelmakler: Bildquelle je Seite im HTML festgelegt; kein globales Hero-Hintergrundbild. */
.hero{background-color:#243642;background-size:cover;background-position:center center}

/* Hotelmakler: einheitlicher vertikaler Rhythmus zwischen Inhaltsabschnitten.
   Verhindert die zu grossen Leerraeume zwischen Sanierung und Leistungsspektrum. */
@media (min-width: 741px) {
  main > .section { padding-top: 68px; padding-bottom: 68px; }
  main > .section + .section { padding-top: 56px; }
  main > .section .section-head:last-child { margin-bottom: 0; }
}
@media (max-width: 740px) {
  main > .section { padding-top: 52px; padding-bottom: 52px; }
  main > .section + .section { padding-top: 46px; }
  main > .section .section-head:last-child { margin-bottom: 0; }
}

/* Editorial portrait: refined, frameless image presentation on the homepage */
.hotelmakler-portrait{margin:0;justify-self:center;width:min(100%,390px);position:relative;}
.hotelmakler-portrait img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:center top;border-radius:18px;box-shadow:0 22px 55px rgba(16,34,48,.17);transition:transform .35s ease,box-shadow .35s ease;}
@media(hover:hover){.hotelmakler-portrait img:hover{transform:translateY(-3px);box-shadow:0 28px 60px rgba(16,34,48,.20);}}
@media(max-width:740px){.hotelmakler-portrait{width:min(100%,350px);justify-self:center;}.hotelmakler-portrait img{border-radius:14px;}}
@media(prefers-reduced-motion:reduce){.hotelmakler-portrait img{transition:none;}}

/* Kontaktportrait: Originalgroesse mit versetzter, feiner Editorial-Kontur
   nach dem vom Kunden gezeigten Hotel-Sansibar-Beispiel. */
.hotelmakler-portrait{width:min(100%,315px);margin:0 auto 20px;position:relative;isolation:isolate;overflow:visible;}
.hotelmakler-portrait::after{content:"";position:absolute;z-index:-1;left:22px;right:-16px;top:18px;bottom:-17px;border-right:1px solid #b7b4a8;border-bottom:1px solid #b7b4a8;pointer-events:none;}
.split .hotelmakler-portrait img,.hotelmakler-portrait img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:center top;clip-path:polygon(0 0,95% 0,100% 5%,100% 100%,5% 100%,0 95%);border-radius:0;box-shadow:none;transform:none;transition:none;}
@media(hover:hover){.hotelmakler-portrait img:hover{transform:none;box-shadow:none;}}
@media(max-width:740px){.hotelmakler-portrait{width:min(100% - 25px,315px);margin:0 auto 24px;}.hotelmakler-portrait img{border-radius:0;}}

/* Finalcheck: responsive typography and safe line wrapping */
html{overflow-x:clip}body{overflow-wrap:break-word}main,section,.wrap{min-width:0}h1,h2,h3,p,a{overflow-wrap:break-word}img{max-width:100%;height:auto} .grid3>*{min-width:0}
@media(max-width:767px){.wrap{max-width:100%;box-sizing:border-box}.split{grid-template-columns:minmax(0,1fr)!important}.hero h1{overflow-wrap:break-word}.footer-contact a{overflow-wrap:anywhere}}

/* Hotel Makler: responsive editorial layout and accessible FAQ */
html,body{max-width:100%;overflow-x:clip} .wrap,.split,.grid3{min-width:0} .hero h1,h1,h2,h3{overflow-wrap:break-word} .faq-list{max-width:960px;margin:26px auto 0}.faq-list details{border-bottom:1px solid #dce2e5;padding:18px 0}.faq-list summary{cursor:pointer;font-weight:700;color:#152631;font-size:1.1rem}.faq-list details p{margin:12px 0 0;line-height:1.7}.hotelmakler-portrait{width:min(100%,315px);margin:0 auto 22px;position:relative;isolation:isolate}.hotelmakler-portrait:after{content:"";position:absolute;z-index:-1;left:20px;right:-17px;top:18px;bottom:-17px;border-right:1px solid #b7b4a8;border-bottom:1px solid #b7b4a8}.hotelmakler-portrait img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;clip-path:polygon(0 0,95% 0,100% 5%,100% 100%,5% 100%,0 95%);border-radius:0;box-shadow:none}@media(max-width:740px){.split{grid-template-columns:minmax(0,1fr)!important}.hotelmakler-portrait{width:min(90%,315px)}.hero h1{font-size:clamp(2rem,9vw,3.4rem)}.faq-list summary{font-size:1rem}}

.region-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 18px;margin-top:26px}.region-links a{display:block;padding:12px 0;border-bottom:1px solid #dbe3e8;color:#143449;text-decoration:none}.region-links a:hover{color:#0072bc}@media(max-width:900px){.region-links{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.region-links{grid-template-columns:minmax(0,1fr)}}

/* Hotelauflösung: Porträt wie REBA-Hotelmakler, dezente versetzte Linie */
.hotelaufloesung-portrait{position:relative;isolation:isolate;max-width:360px;width:100%;margin:0 auto 15px;align-self:start;}
.hotelaufloesung-portrait::after{content:"";position:absolute;z-index:-1;inset:12px -11px -12px 11px;border:1px solid rgba(30,83,112,.35);clip-path:polygon(0 0,calc(100% - 20px) 0,100% 20px,100% 100%,20px 100%,0 calc(100% - 20px));pointer-events:none;}
.hotelaufloesung-portrait img{display:block;width:100%;height:auto;max-height:440px;object-fit:contain;object-position:center top;clip-path:polygon(0 0,calc(100% - 20px) 0,100% 20px,100% 100%,20px 100%,0 calc(100% - 20px));}
html,body{max-width:100%;overflow-x:clip;} .section p,.tile p,.hero p{overflow-wrap:break-word;} img{max-width:100%;} @media(max-width:720px){.hotelaufloesung-portrait{max-width:300px;margin:15px auto 22px;}}

#page-preloader{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;background:#101d28;color:#fff;font-size:clamp(18px,3vw,32px);font-weight:600;letter-spacing:.14em;text-align:center;padding:24px;transition:opacity .35s,visibility .35s}#page-preloader.is-hidden{opacity:0;visibility:hidden;pointer-events:none}@media(prefers-reduced-motion:reduce){#page-preloader{transition:none}}


/* REBA Hotel Investor – hochwertige Investment-Typografie und Inhaltsarchitektur */
:root{--investor-navy:#132631;--investor-gold:#a18b67;--investor-rule:#dce1e3}
main>.section{padding-block:clamp(76px,8vw,124px)}
main>.section>.wrap{max-width:1160px}
main>.section>.wrap>.eyebrow{display:block;margin-bottom:16px;color:#587484;font-size:.7rem;letter-spacing:.19em}
main>.section>.wrap>h2{max-width:880px;margin:0 0 28px;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.15rem,3.8vw,3.7rem);font-weight:400;line-height:1.18;letter-spacing:-.035em;text-wrap:balance}
main>.section>.wrap>h2+p{font-size:clamp(1.07rem,1.25vw,1.21rem);line-height:1.9;color:#354650;max-width:850px}
main>.section>.wrap>p{max-width:850px;line-height:1.9;color:#53616b;font-size:1.025rem}
main>.section>.wrap>p+p{margin-top:16px}
main>.section>.wrap>h3{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.48rem,2.3vw,2rem);font-weight:400;letter-spacing:-.02em;margin:38px 0 17px}
main>.section>.wrap>.grid{margin-top:48px}
main>.section>.wrap>.grid.two{align-items:start;gap:clamp(28px,4.5vw,68px)}
main>.section>.wrap>.grid.two>div>img{width:100%;height:auto;aspect-ratio:5/4;object-fit:cover;box-shadow:0 24px 50px rgba(19,38,49,.09)}
main>.section>.wrap>.grid.two h3{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.5rem,2.2vw,2.05rem);font-weight:400;line-height:1.25;margin:0 0 22px}
main>.section>.wrap>.grid.two p{line-height:1.86;color:#53616b}
main>.section.soft{background:#f4f6f6}
main .service-card{background:#fff;border:1px solid #e3e7e8;border-top:2px solid var(--investor-gold);padding:clamp(25px,2.7vw,38px);box-shadow:0 15px 35px rgba(19,38,49,.045);transition:transform .2s,box-shadow .2s,border-color .2s}
main .service-card:hover{transform:translateY(-4px);box-shadow:0 24px 48px rgba(19,38,49,.11);border-color:#c5d0d4}
main .service-card h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:clamp(1.28rem,1.7vw,1.65rem);line-height:1.35;margin:0 0 18px}
main .service-card p{color:#64717a;line-height:1.7;font-size:.95rem;margin:0}
main>.section>.wrap>p a:not(.btn){color:#116c9b;text-decoration:underline;text-decoration-color:#b6cad4;text-underline-offset:5px}
main>.section>.wrap>h3:not(:first-child){border-top:1px solid var(--investor-rule);padding-top:28px}
main>.section .faq details{padding-block:24px}
main>.section .faq summary{font-family:Georgia,'Times New Roman',serif;font-size:1.2rem;font-weight:400}
@media(max-width:740px){main>.section{padding-block:66px}main>.section>.wrap>h2{font-size:clamp(2rem,8vw,2.7rem)}main>.section>.wrap>.grid{margin-top:28px}main>.section>.wrap>h2+p{font-size:1.05rem}main .service-card{padding:25px}}
@media(prefers-reduced-motion:reduce){main .service-card{transition:none}}


/* Korrektur: Investment-Leistungskarten als echtes responsives Raster. */
main .grid.two, main .grid.three {display:grid;align-items:stretch;gap:clamp(18px,2.3vw,28px);min-width:0}
main .grid.two {grid-template-columns:repeat(2,minmax(0,1fr))}
main .grid.three {grid-template-columns:repeat(3,minmax(0,1fr))}
main .grid.two > *,main .grid.three > * {min-width:0}
main .grid .service-card {display:flex;flex-direction:column;align-items:flex-start;min-width:0;height:100%;text-decoration:none;overflow-wrap:break-word}
main .grid .service-card h3 {width:100%;overflow-wrap:break-word}
main .grid .service-card p {width:100%;margin-top:auto}
@media(max-width:980px){main .grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){main .grid.two,main .grid.three{grid-template-columns:minmax(0,1fr);gap:16px}}

/* Footer-Navigation: einheitliche Investmentbereiche auf allen Seiten */
.foot .footer-investment-links{display:flex;flex-direction:column;align-items:flex-start;gap:11px;margin-top:18px}
.foot .footer-investment-links a{display:inline-block;line-height:1.5;text-decoration:none;overflow-wrap:anywhere}
.foot .footer-investment-links a:hover,.foot .footer-investment-links a:focus-visible{text-decoration:underline;text-underline-offset:4px}
.foot .foot-grid>div{min-width:0}
@media(max-width:680px){.foot .footer-investment-links{gap:10px}}
