:root {
  --blue: #0b4fd6;
  --blue-dark: #0a3a9e;
  --blue-soft: #e8f0ff;
  --black: #0a0a0a;
  --ink: #1a1d24;
  --muted: #5b6270;
  --line: #e3e6ec;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --star: #0b4fd6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 20, 50, 0.08);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--black); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: .8rem; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--black); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.35rem; border-radius: 999px; font-weight: 700; font-size: .97rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: .18s ease;
  font-family: inherit; line-height: 1.2;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #2a2a2a; }
.btn-outline { border-color: currentColor; color: var(--black); background: transparent; }
.btn-outline:hover { background: var(--black); color: #fff; border-color: var(--black); }
.btn-light { background: #fff; color: var(--black); }
.btn-light:hover { background: var(--blue-soft); }
.btn svg { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Topbar + Header */
.topbar { background: var(--black); color: #cfd3db; font-size: .85rem; }
.topbar .container { display: flex; gap: 1.4rem; justify-content: flex-end; align-items: center; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #9dbbff; }
.topbar .open-state::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; margin-right: 6px; vertical-align: middle; }
.topbar .open-state.closed::before { background: #ff5a5a; }

header.site {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
header.site .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--black); }
.brand img { height: 56px; width: auto; }
.brand .agent { border-left: 1px solid var(--line); padding-left: .9rem; font-size: .82rem; line-height: 1.25; color: var(--muted); }
.brand .agent strong { display: block; color: var(--black); font-size: .95rem; }
nav.main ul { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; align-items: center; }
nav.main a { text-decoration: none; color: var(--black); font-weight: 600; font-size: .94rem; padding: .5rem .75rem; border-radius: 8px; }
nav.main a:hover { background: var(--bg-alt); color: var(--blue); }
nav.main .btn { color: #fff; padding: .65rem 1.1rem; margin-left: .4rem; }
nav.main .btn:hover { background: var(--blue-dark); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--black); margin: 5px 0; transition: .2s; }

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  nav.main { position: fixed; inset: 76px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); display: none; box-shadow: var(--shadow); }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; }
  nav.main a { display: block; padding: .8rem .5rem; }
  nav.main .btn { margin: .5rem 0 0; }
  .brand .agent { display: none; }
}

/* Hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding-top: 4.5rem; padding-bottom: 4.5rem; }
.hero h1 .accent { color: var(--blue); }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 1.8rem; }
.notice-pill { display: inline-flex; align-items: center; gap: .6rem; background: var(--black); color: #fff; padding: .45rem .9rem .45rem .5rem; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 1.4rem; text-decoration: none; }
.notice-pill b { background: var(--blue); padding: .15rem .55rem; border-radius: 999px; font-size: .75rem; letter-spacing: .05em; }
.rating-inline { display: flex; align-items: center; gap: .8rem; font-size: .95rem; color: var(--muted); }
.rating-inline strong { color: var(--black); font-size: 1.05rem; }
.stars { color: var(--star); letter-spacing: 2px; font-size: 1.05rem; white-space: nowrap; }
.hero-photo { position: relative; justify-self: center; width: min(430px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
/* Rahmen im Stil des Globus-Logos: Farbverlauf-Ring, weißer Innenring, Umlaufbahnen */
.hero-photo .frame {
  position: relative; z-index: 1; width: 88%; aspect-ratio: 1; border-radius: 50%; padding: 18px;
  background: linear-gradient(140deg, #5aa2ff 0%, #0b4fd6 45%, #06215e 100%);
  box-shadow: 0 24px 50px rgba(6, 33, 94, .28), inset 0 2px 6px rgba(255,255,255,.35);
}
.hero-photo .frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 7px solid #fff; }
.hero-photo .orbit { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; }
.hero-photo .orbit-1 { border: 2px solid rgba(11, 79, 214, .35); transform: rotate(-20deg) scaleY(.62); }
.hero-photo .orbit-2 { inset: 3%; border: 1.5px dashed rgba(10, 10, 10, .25); }
.hero-photo .badge {
  position: absolute; z-index: 2; left: -10px; bottom: 8%; background: #fff; border-radius: 16px; padding: .8rem 1rem;
  box-shadow: var(--shadow); display: flex; gap: .7rem; align-items: center; font-size: .85rem; line-height: 1.25;
}
.hero-photo .badge .big { font-size: 1.6rem; font-weight: 800; color: var(--black); }
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 2.5rem; gap: 3rem; }
  .hero-photo { width: min(320px, 82%); }
  .hero-photo .badge { left: 50%; bottom: -6%; transform: translateX(-50%); white-space: nowrap; padding: .6rem .9rem; }
  .hero-photo { margin-bottom: 1.5rem; }
}

/* Quick actions */
.quick { margin-top: -2.2rem; position: relative; z-index: 2; }
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.quick-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1rem; text-align: left;
  display: flex; flex-direction: column; gap: .4rem; text-decoration: none; color: var(--black); font-weight: 700;
  box-shadow: var(--shadow); cursor: pointer; font: inherit; font-weight: 700; transition: .18s;
}
.quick-item:hover { border-color: var(--blue); transform: translateY(-2px); }
.quick-item small { font-weight: 500; color: var(--muted); font-size: .82rem; }
.quick-item .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.quick-item .ic svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } .quick-item:last-child { grid-column: span 2; } }

/* Sections */
section.block { padding: 5.5rem 0; }
section.alt { background: var(--bg-alt); }
section.dark { background: var(--black); color: #c9ced8; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark .eyebrow { color: #7fa6ff; }
.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.feature-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--black); color: #fff; display: grid; place-items: center; }
.feature .ic svg { width: 22px; height: 22px; }
.feature p { margin: 0; color: var(--muted); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.contact-card { box-shadow: var(--shadow); }
.contact-card .person { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.2rem; }
.contact-card .person img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 3px var(--blue), 0 8px 18px rgba(6,33,94,.2); }
.contact-card dl { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; margin: 0 0 1.2rem; }
.contact-card dt { color: var(--muted); font-size: .9rem; }
.contact-card dd { margin: 0; font-weight: 600; }
.contact-card dd a { color: var(--black); text-decoration: none; }
.contact-card dd a:hover { color: var(--blue); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Rebrand band */
.rebrand { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.rebrand .facts { display: grid; gap: 1rem; }
.rebrand .fact { border-left: 3px solid var(--blue); padding: .2rem 0 .2rem 1rem; }
.rebrand .fact strong { color: #fff; display: block; }
@media (max-width: 860px) { .rebrand { grid-template-columns: 1fr; } }

/* Products */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.tab {
  border: 1.5px solid var(--line); background: #fff; color: var(--black); border-radius: 999px; padding: .55rem 1.05rem;
  font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--black); border-color: var(--black); color: #fff; }
.tab:hover:not([aria-selected="true"]) { border-color: var(--blue); color: var(--blue); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; display: flex; flex-direction: column; gap: .4rem;
}
.product h3 { margin: 0; font-size: 1.02rem; }
.product p { margin: 0; color: var(--muted); font-size: .92rem; flex: 1; }
.product button { align-self: flex-start; margin-top: .6rem; background: none; border: 0; color: var(--blue); font: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.product button:hover { text-decoration: underline; }
.product .tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }

/* Highlights */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.highlight { border-radius: var(--radius); padding: 1.8rem; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.highlight.blue { background: var(--blue); color: #e6eeff; border-color: var(--blue); }
.highlight.blue h3 { color: #fff; }
.highlight.black { background: var(--black); color: #c9ced8; border-color: var(--black); }
.highlight.black h3 { color: #fff; }
.highlight p { flex: 1; }
@media (max-width: 860px) { .highlights { grid-template-columns: 1fr; } }

/* Reviews */
.reviews-top { display: grid; grid-template-columns: 340px 1fr; gap: 2.5rem; align-items: start; }
.score-card { position: sticky; top: 100px; }
.score-card .score { font-size: 3.6rem; font-weight: 800; color: var(--black); line-height: 1; }
.score-card .stars { font-size: 1.4rem; }
.score-card .btn { width: 100%; margin-top: .6rem; }
.review-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--line); margin-bottom: 1.5rem; overflow-x: auto; }
.review-tab { background: none; border: 0; padding: .9rem 1.2rem; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; }
.review-tab[aria-selected="true"] { color: var(--black); border-bottom-color: var(--blue); }
.review-list { display: grid; gap: 12px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.review header { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: .4rem; }
.review .who { display: flex; align-items: center; gap: .7rem; font-weight: 700; color: var(--black); }
.review .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--black); color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 700; }
.review .meta { font-size: .82rem; color: var(--muted); }
.review p { margin: .3rem 0 0; }
.review .src { display: inline-block; font-size: .72rem; font-weight: 700; padding: .1rem .5rem; border-radius: 6px; background: var(--blue-soft); color: var(--blue); margin-left: .4rem; }
.toolbar { display: flex; gap: .8rem; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.toolbar select { font: inherit; padding: .5rem .8rem; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; }
.load-more { margin-top: 1.2rem; }
.empty { padding: 2rem; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--radius); }
@media (max-width: 900px) { .reviews-top { grid-template-columns: 1fr; } .score-card { position: static; } }

/* Forms */
form .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--black); }
input, select, textarea {
  width: 100%; font: inherit; padding: .8rem .9rem; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(11, 79, 214, .15); }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); }
.check input { width: auto; margin-top: .25rem; }
.hp { display: none; }
.form-msg { margin-top: 1rem; padding: .8rem 1rem; border-radius: 10px; font-weight: 600; display: none; }
.form-msg.ok { display: block; background: #e9f8ef; color: #106b34; }
.form-msg.err { display: block; background: #fdecec; color: #9b1c1c; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2rem; color: #c8cdd6; cursor: pointer; margin: 0; line-height: 1; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--blue); }
.star-input input:focus-visible + label { outline: 3px solid var(--blue); border-radius: 4px; }
@media (max-width: 640px) { form .grid { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.hours li.today { font-weight: 700; color: var(--blue); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 1.4rem; background: var(--bg-alt); }
.map-wrap iframe { width: 100%; height: 260px; border: 0; display: block; }
.map-consent { padding: 2rem 1.4rem; text-align: center; font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Karriere */
.career { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.cities { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.5rem; }
.cities span { border: 1px solid #333; color: #fff; border-radius: 999px; padding: .3rem .8rem; font-size: .88rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { background: #161616; border: 1px solid #262626; border-radius: var(--radius); padding: 1.3rem; }
.stat b { display: block; font-size: 1.8rem; color: #fff; }
@media (max-width: 860px) { .career { grid-template-columns: 1fr; } .stat-row { grid-template-columns: 1fr 1fr 1fr; } }

/* Modal */
dialog {
  border: 0; border-radius: 18px; padding: 0; width: min(640px, calc(100% - 32px)); max-height: calc(100vh - 40px);
  box-shadow: 0 30px 80px rgba(0,0,0,.35); color: var(--ink);
}
dialog::backdrop { background: rgba(10, 10, 10, .6); }
dialog .dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 1; }
dialog .dlg-head h3 { margin: 0; }
dialog .dlg-body { padding: 1.5rem; }
.close-x { background: var(--bg-alt); border: 0; width: 38px; height: 38px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; line-height: 1; }

/* Footer */
footer.site { background: var(--black); color: #a7adb8; padding: 4rem 0 2rem; font-size: .92rem; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
footer.site h4 { color: #fff; margin: 0 0 1rem; font-size: .95rem; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
footer.site a { color: #a7adb8; text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site .logo-w { background: #fff; border-radius: 12px; padding: 10px 14px; display: inline-block; margin-bottom: 1rem; }
footer.site .logo-w img { height: 64px; width: auto; }
footer.site .bottom { border-top: 1px solid #232323; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #333; display: grid; place-items: center; color: #fff; }
.socials a:hover { background: var(--blue); border-color: var(--blue); }
.socials svg { width: 17px; height: 17px; }
@media (max-width: 860px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { footer.site .cols { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(11,79,214,.45); }
.fab svg { width: 28px; height: 28px; }

/* Legal pages */
.legal { padding: 3.5rem 0 5rem; }
.legal .container { max-width: 820px; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal .box { background: var(--bg-alt); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 1.2rem 0; }
.todo { background: #fff4d6; border: 1px solid #f0c95a; color: #6b4e00; padding: .9rem 1.1rem; border-radius: 10px; font-size: .92rem; }

/* Grid-Kinder dürfen schrumpfen (verhindert horizontales Scrollen auf dem Handy) */
.reviews-top > *, .about-grid > *, .contact-grid > *, .career > *, .rebrand > *, .hero .container > * { min-width: 0; }
@media (max-width: 520px) { .stat-row { grid-template-columns: 1fr; } .stat { display: flex; align-items: baseline; gap: .8rem; } }
.review-tabs > * { flex: none; }
@media (max-width: 640px) { .topbar a[href^="mailto"] { display: none; } .topbar .container { justify-content: space-between; } }

.score-card .btn + .btn { margin-top: .5rem; }
.review .who a { color: inherit; text-decoration: none; }
.review .who a:hover { color: var(--blue); }
.review .avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.review .g-link { display: inline-block; margin-top: .5rem; font-size: .82rem; font-weight: 600; text-decoration: none; }
.g-logo { font-weight: 700; color: var(--black); }
