/* Adler Hotel Frankfurt – gemeinsames Stylesheet (Desktop, Tablet, Smartphone) */

@font-face {
  font-family: "Yanone Kaffeesatz";
  src: url("../fonts/YanoneKaffeesatz.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --brand: #eb6f00;
  --brand-dark: #bf5900;
  --brand-soft: #fff1e3;
  --ink: #26211c;
  --muted: #6a625a;
  --bg: #faf8f5;
  --card: #ffffff;
  --line: #e7e0d7;
  --dark: #17130f;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(38, 33, 28, .06), 0 8px 24px rgba(38, 33, 28, .07);
  --head: "Yanone Kaffeesatz", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 76px;
  /* Vorschaubilder in Originalgröße; bei Bedarf z. B. auf 160px setzen */
  --thumb-w: auto;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.65 var(--body); color: var(--ink); background: var(--bg); }
img { border: 0; }
a { color: var(--brand-dark); text-underline-offset: 2px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--head); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; color: var(--ink); letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); }
h2, .h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: .6em 1em; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Kopfbereich ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: block; text-decoration: none; color: var(--ink); line-height: 1; flex: none; }
.brand { margin-right: auto; }
.brand strong { display: block; font: 500 clamp(1.7rem, 3vw, 2.2rem)/1 var(--head); letter-spacing: .01em; white-space: nowrap; }
.brand strong span { color: var(--brand); }
.brand small { display: block; margin-top: 3px; font-size: .78rem; color: var(--muted); }
.nav ul { display: flex; gap: 4px; align-items: center; }
.nav a { display: block; padding: .55em .8em; white-space: nowrap; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dark); }
.nav a.btn { display: flex; justify-content: center; background: var(--brand); color: #fff; padding: .6em 1.2em; }
.nav a.btn:hover { background: var(--brand-dark); color: #fff; }
.lang { display: flex; gap: 6px; align-items: center; flex: none; }
.lang a { position: relative; display: block; width: 32px; height: 22px; line-height: 0; border-radius: 4px; opacity: .6; transition: opacity .2s, transform .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); overflow: hidden; }
.lang a:hover, .lang a[aria-current="true"] { opacity: 1; transform: scale(1.08); }
.lang a[aria-current="true"] { box-shadow: 0 0 0 2px var(--brand), 0 1px 3px rgba(0, 0, 0, .3); }
.lang img { display: block; width: 100%; height: 100%; object-fit: cover; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .75em 1.4em; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, transform .15s; }
.btn:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--brand-dark); box-shadow: inset 0 0 0 2px var(--brand); }
.btn.ghost:hover { background: var(--brand-soft); color: var(--brand-dark); }
.btn.block { display: flex; width: 100%; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); margin: auto; position: relative; transition: transform .2s, background .2s; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { position: absolute; top: 6px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 727px) minmax(280px, 1fr); gap: 24px; align-items: stretch; padding: 28px 0 0; }
.slider { position: relative; min-height: 293px; overflow: hidden; border-radius: var(--radius); background: #ddd6cc; box-shadow: var(--shadow); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; z-index: 0; transition: none; }
.slide.is-prev { opacity: 1; z-index: 1; }
.slide.is-active { opacity: 1; z-index: 2; transition: opacity .7s ease-in-out; }
/* Bild fuellt immer die komplette Flaeche (keine schwarzen Raender links/rechts) */
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; display: block; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.slider-dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; opacity: .85; }
.slider-dots button[aria-current="true"] { background: #fff; }
.booking-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; border-top: 5px solid var(--brand); }
.booking-card h2 { margin-bottom: .15em; font-size: 1.9rem; }
.booking-card .sub { margin: 0 0 14px; color: var(--muted); font-size: .92rem; }
.field { margin-bottom: 12px; }
.field label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 4px; }
.field input, .field select { width: 100%; padding: .7em .8em; font: inherit; color: var(--ink); background: #fff; border: 1px solid #cfc7bd; border-radius: 10px; min-height: 46px; }
.field input:focus, .field select:focus { border-color: var(--brand); outline: 3px solid rgba(235, 111, 0, .25); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- Inhalt ---------- */
.page-title { padding: 34px 0 6px; }
.page-title p { color: var(--muted); max-width: 60ch; margin: 0; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; padding: 24px 0 56px; align-items: start; }
.layout.single { grid-template-columns: minmax(0, 1fr); }
.stack > * + * { margin-top: 24px; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 34px); }
.card > h2, .card > .h2 { position: relative; padding-bottom: .35em; margin-bottom: .7em; }
.card > h2::after, .card > .h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--brand); }
.lead { font-size: 1.1rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; }
.facts li { background: var(--brand-soft); border-radius: 12px; padding: 12px 14px; font-size: .95rem; line-height: 1.45; }
.facts b { display: block; font: 500 1.7rem/1 var(--head); color: var(--brand-dark); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.features .feature:last-child:nth-child(odd) { grid-column: 1 / -1; }
.feature { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; }
.feature img { flex: none; }
.feature p { margin: 0; font-size: .93rem; line-height: 1.5; }
.feature p b { display: block; margin-bottom: 2px; }
.media { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.media > img { border-radius: 12px; border: 1px solid var(--line); }
.checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 26px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }
.checklist li img { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.bullets li { position: relative; padding-left: 1.2em; margin: .35em 0; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.time-table { border-collapse: collapse; margin-top: .5em; }
.time-table td { padding: .2em 1.2em .2em 0; font-weight: 600; }

/* Galerie: Vorschaubilder in Originalgröße */
.gallery { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.gallery a { display: block; line-height: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .2s; }
.gallery a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.gallery img { display: block; width: var(--thumb-w); max-width: 100%; height: auto; }

/* Messe-Bereich */
.strip { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 14px; scroll-snap-type: x proximity; }
.strip img { flex: none; display: block; width: auto; max-width: none; height: auto; border-radius: 8px; scroll-snap-align: start; }
.strip.logos { flex-wrap: wrap; overflow: visible; align-items: center; }
.strip.logos img { background: #fff; }
.hint { color: var(--muted); font-size: .88rem; margin: 0 0 8px; }

/* Aside */
.aside { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 18px; }
.aside .card { padding: 20px 22px; }
.aside h2 { font-size: 1.5rem; margin-bottom: .4em; }
.aside h2::after { display: none; }
.aside li { margin: .35em 0; }
.aside .sub { margin: 0 0 .4em; color: var(--muted); }

/* Lageplan / Karte */
.map-plan { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.map-plan > a { line-height: 0; display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.map-plan .facts { grid-template-columns: 1fr; }
.map-plan img { display: block; max-width: 100%; height: auto; }
.map-embed { position: relative; min-height: 360px; border-radius: 12px; overflow: hidden; background: #ece6dd; display: grid; place-items: center; text-align: center; padding: 24px; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed p { max-width: 46ch; color: var(--muted); font-size: .92rem; }
.route-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.route-grid > div { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.route-grid h3 { margin-bottom: .3em; }

/* Buchung */
.iframe-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.iframe-box iframe { display: block; width: 100%; min-height: 900px; border: 0; }
.notice { background: var(--brand-soft); border-left: 4px solid var(--brand); border-radius: 8px; padding: 12px 16px; font-size: .95rem; }

/* Kontakt / Impressum */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.contact-grid address { font-style: normal; }
.legal { font-size: .92rem; color: #3b352f; }
.legal strong { display: block; margin-top: 1.1em; }
/* Kontaktformular */
.cform { display: grid; gap: 4px; width: 100%; max-width: none; }
.cform .field-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cform .field input { width: 100%; }
.cform textarea { width: 100%; padding: .7em .8em; font: inherit; color: var(--ink); background: #fff; border: 1px solid #cfc7bd; border-radius: 10px; resize: vertical; min-height: 240px; display: block; }
.cform textarea:focus { border-color: var(--brand); outline: 3px solid rgba(235, 111, 0, .25); }
.cform .check { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 2px; font-size: .95rem; cursor: pointer; }
.cform .check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); }
.cform .small { font-size: .84rem; color: var(--muted); margin: 4px 0 10px; }
.cform .btn { justify-self: start; }
.form-status { min-height: 1.5em; margin: 8px 0 0; font-weight: 600; }
.form-status.ok { color: #1d7a3a; } .form-status.err { color: #b3261e; }
body.m .cform .field-row { grid-template-columns: 1fr; }
@media (max-width: 820px) { .cform .field-row { grid-template-columns: 1fr; } }

/* Captcha (eigener Spam-Schutz, ohne Drittanbieter) */
.captcha { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 10px 0 8px; padding: 12px 16px; max-width: 420px; background: #fff; border: 1px solid #cfc7bd; border-radius: 12px; }
.cap-btn { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; font: 600 .98rem/1.3 var(--body); color: var(--ink); cursor: pointer; text-align: left; }
.cap-box { position: relative; flex: none; width: 28px; height: 28px; border: 2px solid #b9afa3; border-radius: 8px; background: #fff; transition: background .2s, border-color .2s; }
.cap-btn:hover .cap-box { border-color: var(--brand); }
.captcha.busy .cap-box { border-color: var(--brand); border-top-color: transparent; border-radius: 50%; animation: cap-spin .8s linear infinite; }
.captcha.ok .cap-box { background: #1d7a3a; border-color: #1d7a3a; }
.captcha.ok .cap-box::after { content: ""; position: absolute; left: 8px; top: 3px; width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.captcha.ok .cap-btn { cursor: default; }
.captcha.fail { border-color: #b3261e; }
.captcha.fail .cap-text { color: #b3261e; }
.cap-brand { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; color: var(--muted); }
@keyframes cap-spin { to { transform: rotate(360deg); } }

/* Free-WiFi-Badge */
.wifi-badge { display: inline-flex; align-items: center; gap: 10px; padding: 5px 16px 5px 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(38, 33, 28, .12); line-height: 1; }
.wifi-ico { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #ff9a3c, var(--brand-dark)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.wifi-ico svg { width: 24px; height: 24px; }
.wifi-txt b { display: block; font: 600 1.35rem/1 var(--head); letter-spacing: .02em; color: var(--ink); text-transform: uppercase; }
.wifi-txt small { display: block; margin-top: 3px; font-size: .72rem; color: var(--muted); }
.slider .wifi-badge { position: absolute; top: 12px; left: 12px; z-index: 5; background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); }
.aside .wifi-badge { margin: 4px 0 12px; box-shadow: none; background: var(--brand-soft); border-color: #f6d9bb; }

.map-full a { display: block; line-height: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.map-full img { display: block; max-width: 100%; height: auto; margin-inline: auto; }

/* Entfernungen als Kacheln */
.dist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; }
.map-plan .dist { grid-template-columns: 1fr; margin: 0; }
.dist li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--brand-soft); border: 1px solid #f6d9bb; border-radius: 14px; }
.dist-ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(38, 33, 28, .1); }
.dist-body { display: block; min-width: 0; font-size: .92rem; line-height: 1.35; }
.dist-body b { display: block; font: 500 2rem/1 var(--head); color: var(--brand-dark); margin-bottom: 2px; }
.dist-body a { font-weight: 600; }

/* Lightbox */
dialog.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100dvh; color: #fff; }
dialog.lb::backdrop { background: rgba(10, 8, 6, .92); }
.lb-inner { display: grid; grid-template-rows: 1fr auto; height: 100%; padding: 16px; }
.lb-stage { display: grid; place-items: center; min-height: 0; position: relative; }
.lb-stage img { max-width: min(100%, 1400px); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lb-cap { text-align: center; padding: 10px 56px 0; font-size: .95rem; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lb button:hover { background: rgba(255, 255, 255, .3); }
.lb .lb-close { top: 14px; right: 14px; z-index: 3; }
.lb .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Fuß */
.site-footer { background: var(--dark); color: #d8d0c6; padding: 44px 0 22px; margin-top: 24px; }
.site-footer a { color: #ffb066; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 1.5rem; }
.site-footer li { margin: .3em 0; }
.site-footer .legal-row { margin-top: 30px; padding-top: 16px; border-top: 1px solid #3a322a; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .88rem; }
.site-footer .legal-row ul { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Tablet ---------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .booking-card { max-width: none; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* ---------- Smartphone ---------- */
@media (max-width: 1180px) {
  :root { --header-h: 104px; }
  .site-header .wrap { flex-wrap: wrap; gap: 8px 12px; padding: 8px 0; }
  .brand { order: 1; flex: 1 1 calc(100% - 64px); }
  .nav-toggle { display: block; order: 2; }
  .lang { order: 4; margin-left: auto; }
  .nav { order: 5; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(0, 0, 0, .08); display: none; padding: 8px 20px 18px; }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: .9em 1em; border-radius: 10px; }
  .nav .btn { margin-top: 8px; }
  .brand small { display: none; }
}
@media (max-width: 820px) {
  .media, .map-plan { grid-template-columns: 1fr; }
  .media > img { justify-self: start; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 28px); }
  .hero { padding-top: 14px; }
  .slider { border-radius: 10px; }
  .field-row { grid-template-columns: 1fr; }
  .facts, .features, .dist { grid-template-columns: 1fr; }
  .slider .wifi-badge { top: 8px; left: 8px; padding-right: 12px; }
  .slider .wifi-txt small { display: none; }
  .slider { min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr; }
  .lb-cap { padding-inline: 8px; }
  .lb .lb-prev { left: 4px; } .lb .lb-next { right: 4px; }
}

/* ---------- Mobile One-Pager (/mobile/) ---------- */
body.m { padding-bottom: 76px; }
body.m .slider { margin: 4px 0 6px; height: 220px; min-height: 0; }
body.m .site-header .wrap { min-height: 60px; }
body.m .section { padding: 28px 0 8px; }
body.m .section > h2 { display: flex; justify-content: space-between; align-items: center; }
body.m .section > h2 a { font: 400 .8rem var(--body); text-transform: none; text-decoration: none; color: var(--muted); }
body.m .photo { display: block; width: auto; max-width: 100%; height: auto; border-radius: 12px; margin: 0 0 14px; }
body.m .m-hero { padding: 20px 0 4px; }
body.m .m-hero h1 { margin-bottom: .1em; }
body.m .m-hero .tag { color: var(--muted); margin-bottom: 14px; }
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.action-bar .btn { padding: .7em .4em; font-size: .92rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide.is-active { transition: none; }
  * { transition-duration: .01ms !important; }
}
@media print {
  .site-header, .aside, .action-bar, .site-footer, .booking-card, .slider { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; padding: 0; }
}
