/* Öffentliche Website (Startseite, Funktionen, Preise, Demo …) — getrennt von app.css, damit die
   eingeloggte App ihre kompakte Optik behält. Alles mit Präfix "ih-m-". */

:root {
    /* osotel-Branding (Brand-Guide): Navy #17233B, Coral #F47743, Violet #755AE8, Mango #FFAA46, Cloud #F7F8FC.
       Coral nie als Fläche unter weisser Schrift (Kontrast 2.8:1) — Buttons sind Navy, Coral-Text in #C94A17. */
    --ih-m-navy: #17233B;
    --ih-m-navy-2: #22324f;
    --ih-m-ink: #17233B;
    --ih-m-coral: #F47743;
    --ih-m-muted: #5b6478;
    --ih-m-line: #e3e8ee;
    --ih-m-soft: #F7F8FC;
    --ih-m-blue: #C94A17; /* Akzent für Text/Icons (Coral, dunkel genug für weissen Hintergrund) */
    --ih-m-violet: #755AE8;
    --ih-m-grad: linear-gradient(135deg, #F47743 0%, #755AE8 100%);
    --ih-m-grad-cool: linear-gradient(135deg, #17233B 0%, #2f3f63 100%);
    --ih-m-grad-deep: linear-gradient(135deg, #17233B 0%, #755AE8 100%);
    --ih-m-shadow: 0 30px 60px -20px rgba(23, 35, 59, 0.25), 0 12px 24px -12px rgba(23, 35, 59, 0.12);
    --ih-m-radius: 1rem;
}

.ih-m-body {
    background: #fff;
    font-size: 0.975rem;
    color: var(--ih-m-ink);
}

.ih-m-body h1, .ih-m-body h2, .ih-m-body h3 {
    color: var(--ih-m-ink);
}

/* ---------- Header ---------- */
.ih-m-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(16, 24, 40, 0.06);
}

.ih-m-header .navbar {
    padding: 0.8rem 0;
}

.ih-m-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--ih-heading-font);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    color: var(--ih-m-ink);
    text-decoration: none;
}

.ih-m-logo:hover {
    color: var(--ih-m-ink);
    text-decoration: none;
}

.ih-m-logo-mark {
    width: 1.75rem;
    height: 2rem;
    flex-shrink: 0;
}

.ih-m-nav .nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--ih-m-muted);
    padding: 0.45rem 0.9rem !important;
    border-radius: 999px;
}

.ih-m-nav .nav-link:hover,
.ih-m-nav .nav-link.active {
    color: var(--ih-m-ink);
    background: var(--ih-m-soft);
    text-decoration: none;
}

/* ---------- Buttons ---------- */
.ih-m-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    font-weight: 600;
    padding: 0.6rem 1.15rem;
    font-size: 0.92rem;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}

.ih-m-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.ih-m-btn-sm {
    padding: 0.42rem 0.95rem;
    font-size: 0.85rem;
}

.ih-m-btn-primary {
    background: var(--ih-m-navy);
    color: #fff;
    box-shadow: 0 8px 20px -10px rgba(23, 35, 59, 0.7);
}

.ih-m-btn-primary:hover {
    background: var(--ih-m-navy-2);
    color: #fff;
    box-shadow: 0 12px 26px -10px rgba(244, 119, 67, 0.55);
}

.ih-m-btn-ghost {
    background: #fff;
    color: var(--ih-m-ink);
    border-color: var(--ih-m-line);
}

.ih-m-btn-ghost:hover {
    color: var(--ih-m-ink);
    border-color: #cfd4de;
}

.ih-m-btn-light {
    background: #fff;
    color: var(--ih-m-ink);
}

.ih-m-btn-light:hover {
    color: var(--ih-m-ink);
}

.ih-m-btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.ih-m-btn-outline-light:hover {
    color: #fff;
    border-color: #fff;
}

/* ---------- Sections ---------- */
.ih-m-section {
    padding: 5rem 0;
}

.ih-m-section-tight {
    padding: 3.5rem 0;
}

.ih-m-section-soft {
    background: var(--ih-m-soft);
}

.ih-m-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ih-m-blue);
    margin-bottom: 0.8rem;
}

/* Typografie wie bei Stripe/Channex: klare, nicht übergrosse Überschriften in der Markenschrift. */
.ih-m-h1 {
    font-family: var(--ih-heading-font);
    font-weight: 600;
    letter-spacing: -0.025em;
    font-size: clamp(2.1rem, 4vw, 3.15rem);
    line-height: 1.08;
    margin-bottom: 1.1rem;
}

.ih-m-h2 {
    font-family: var(--ih-heading-font);
    font-weight: 600;
    letter-spacing: -0.02em;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    line-height: 1.15;
    margin-bottom: 0.9rem;
}

.ih-m-h3 {
    font-family: var(--ih-heading-font);
    font-weight: 600;
    letter-spacing: -0.01em;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.ih-m-lead {
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    line-height: 1.6;
    color: var(--ih-m-muted);
}

.ih-m-text {
    color: var(--ih-m-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.ih-m-gradient-text {
    background: var(--ih-m-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Hero ---------- */
.ih-m-hero {
    position: relative;
    padding: 5.5rem 0 4.5rem;
    overflow: hidden;
    background:
        radial-gradient(60% 60% at 85% 10%, rgba(117, 90, 232, 0.22) 0%, rgba(117, 90, 232, 0) 70%),
        radial-gradient(50% 50% at 5% 30%, rgba(244, 119, 67, 0.14) 0%, rgba(244, 119, 67, 0) 70%),
        #fff;
}

.ih-m-hero::after {
    /* feines Punktraster wie bei modernen SaaS-Seiten */
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(23, 35, 59, 0.07) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 75%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 75%);
    pointer-events: none;
}

.ih-m-hero > .container {
    position: relative;
    z-index: 1;
}

.ih-m-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--ih-m-line);
    font-size: 0.85rem;
    color: var(--ih-m-muted);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 6px rgba(16, 24, 40, 0.04);
}

.ih-m-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.4rem;
    margin-top: 1.6rem;
    color: var(--ih-m-muted);
    font-size: 0.92rem;
}

.ih-m-checks i {
    color: var(--ih-m-blue);
    margin-right: 0.3rem;
}

/* Browser-Rahmen um Produkt-Screenshots */
.ih-m-browser {
    border-radius: 0.9rem;
    background: #fff;
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: var(--ih-m-shadow);
    overflow: hidden;
}

.ih-m-browser-bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 0.9rem;
    background: #f3f4f8;
    border-bottom: 1px solid var(--ih-m-line);
}

.ih-m-browser-bar span {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: #d9dce4;
}

.ih-m-browser-bar span:nth-child(1) { background: #ff5f57; }
.ih-m-browser-bar span:nth-child(2) { background: #febc2e; }
.ih-m-browser-bar span:nth-child(3) { background: #28c840; }

.ih-m-browser-url {
    margin-left: 0.8rem;
    flex: 1;
    max-width: 22rem;
    background: #fff;
    border-radius: 0.45rem;
    font-size: 0.75rem;
    color: var(--ih-m-muted);
    padding: 0.2rem 0.7rem;
    border: 1px solid var(--ih-m-line);
}

.ih-m-browser img {
    display: block;
    width: 100%;
    height: auto;
}

.ih-m-hero-visual {
    position: relative;
}

@media (min-width: 992px) {
    .ih-m-hero-visual {
        margin-right: -9rem;
    }
}

/* schwebende Hinweis-Karten über dem Screenshot */
.ih-m-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: #fff;
    border-radius: 0.9rem;
    padding: 0.7rem 1rem;
    box-shadow: 0 18px 40px -14px rgba(16, 24, 40, 0.3);
    border: 1px solid rgba(16, 24, 40, 0.06);
    font-size: 0.85rem;
    line-height: 1.25;
    animation: ih-m-float 6s ease-in-out infinite;
}

.ih-m-float strong {
    display: block;
    color: var(--ih-m-ink);
}

.ih-m-float small {
    color: var(--ih-m-muted);
}

.ih-m-float-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.ih-m-float-1 { left: -2rem; bottom: 2.5rem; }
.ih-m-float-2 { right: 10rem; top: -1.2rem; animation-delay: -3s; }

@keyframes ih-m-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (max-width: 991.98px) {
    .ih-m-float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ih-m-float { animation: none; }
}

/* ---------- Logo-/Integrationsleiste ---------- */
.ih-m-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem 2.8rem;
}

.ih-m-logos span {
    font-family: var(--ih-heading-font);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    color: #9aa3b2;
    white-space: nowrap;
}

.ih-m-caption {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ih-m-muted);
    margin-bottom: 1.4rem;
}

/* ---------- Feature-Showcase (Text + Bild im Wechsel) ---------- */
.ih-m-showcase + .ih-m-showcase {
    margin-top: 5.5rem;
}

.ih-m-bullets {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
}

.ih-m-bullets li {
    display: flex;
    gap: 0.75rem;
    padding: 0.45rem 0;
    color: var(--ih-m-ink);
}

.ih-m-bullets i {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #fdeee6;
    color: var(--ih-m-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-top: 0.1rem;
}

.ih-m-shot-tilt {
    transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
    transition: transform 0.4s ease;
}

.ih-m-shot-tilt-left {
    transform: perspective(1600px) rotateY(6deg) rotateX(2deg);
    transition: transform 0.4s ease;
}

.ih-m-shot-tilt:hover,
.ih-m-shot-tilt-left:hover {
    transform: none;
}

/* ---------- Dunkler Integrationsbereich ---------- */
.ih-m-dark {
    background:
        radial-gradient(50% 60% at 90% 0%, rgba(117, 90, 232, 0.28) 0%, rgba(117, 90, 232, 0) 70%),
        radial-gradient(45% 55% at 0% 100%, rgba(244, 119, 67, 0.3) 0%, rgba(244, 119, 67, 0) 70%),
        var(--ih-m-navy);
    color: #c9d1e0;
}

.ih-m-dark .ih-m-h2,
.ih-m-dark .ih-m-h3 {
    color: #fff;
}

.ih-m-dark .ih-m-lead,
.ih-m-dark .ih-m-text {
    color: #a9b4c7;
}

.ih-m-glass {
    height: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--ih-m-radius);
    padding: 2rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ih-m-glass:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
}

.ih-m-glass .ih-m-bullets li {
    color: #dfe5ef;
}

.ih-m-glass .ih-m-bullets i {
    background: rgba(255, 255, 255, 0.1);
    color: #7fd0f7;
}

.ih-m-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.2rem;
}

.ih-m-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e7ecf4;
}

.ih-m-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 1.2rem;
}

/* Icon-Kacheln nur in Markenfarben: Verlauf, Blau, Navy, Lavendel. */
.ih-m-icon-brand { background: var(--ih-m-grad); }
.ih-m-icon-blue { background: var(--ih-m-grad-cool); }
.ih-m-icon-navy { background: linear-gradient(135deg, #2f3f63, #17233B); }
.ih-m-icon-violet { background: linear-gradient(135deg, #5d44d6, #755AE8); }

.ih-m-phone {
    max-width: 18rem;
    margin: 0 auto;
    border-radius: 2.2rem;
    padding: 0.55rem;
    background: #1c2638;
    box-shadow: 0 40px 70px -25px rgba(0, 0, 0, 0.6);
}

.ih-m-phone img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.75rem;
}

/* ---------- Modul-Raster ---------- */
.ih-m-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--ih-m-line);
    border-radius: var(--ih-m-radius);
    padding: 1.4rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ih-m-card:hover {
    transform: translateY(-3px);
    border-color: #d8dce6;
    box-shadow: 0 22px 44px -22px rgba(16, 24, 40, 0.22);
}

.ih-m-card .ih-m-icon {
    width: 2.3rem;
    height: 2.3rem;
    font-size: 1.05rem;
    border-radius: 0.6rem;
    margin-bottom: 0.9rem;
}

.ih-m-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: #f2edff;
    color: #6a4bd0;
    vertical-align: middle;
    margin-left: 0.35rem;
}

/* ---------- Kennzahlen ---------- */
.ih-m-stat {
    text-align: center;
}

.ih-m-stat-value {
    font-family: var(--ih-heading-font);
    font-weight: 600;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    letter-spacing: -0.03em;
    line-height: 1;
}

.ih-m-stat-label {
    color: var(--ih-m-muted);
    margin-top: 0.4rem;
    font-size: 0.92rem;
}

/* ---------- FAQ ---------- */
.ih-m-faq .accordion-item {
    border: 1px solid var(--ih-m-line);
    border-radius: 1rem !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.ih-m-faq .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1.15rem 1.35rem;
    color: var(--ih-m-ink);
    background: #fff;
    box-shadow: none;
}

.ih-m-faq .accordion-button:not(.collapsed) {
    color: var(--ih-m-ink);
    background: var(--ih-m-soft);
}

.ih-m-faq .accordion-body {
    color: var(--ih-m-muted);
    padding: 0 1.35rem 1.25rem;
    background: var(--ih-m-soft);
    line-height: 1.65;
}

/* ---------- Abschluss-CTA ---------- */
.ih-m-cta {
    position: relative;
    border-radius: 1.75rem;
    padding: 4rem 2rem;
    background: var(--ih-m-grad-deep);
    color: #fff;
    overflow: hidden;
    text-align: center;
}

.ih-m-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent);
    -webkit-mask-image: radial-gradient(70% 80% at 50% 50%, #000, transparent);
}

.ih-m-cta > * {
    position: relative;
}

.ih-m-cta .ih-m-h2 {
    color: #fff;
}

.ih-m-cta p {
    color: rgba(255, 255, 255, 0.9);
}

/* ---------- Seitenkopf für Unterseiten ---------- */
.ih-m-page-hero {
    padding: 4.5rem 0 3rem;
    text-align: center;
    background:
        radial-gradient(55% 80% at 50% 0%, rgba(244, 119, 67, 0.1) 0%, rgba(117, 90, 232, 0.08) 45%, rgba(255, 255, 255, 0) 75%),
        #fff;
}

.ih-m-page-hero .ih-m-lead {
    max-width: 44rem;
    margin: 0 auto;
}

.ih-m-group-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--ih-heading-font);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    margin: 0 0 1.3rem;
}

.ih-m-group-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--ih-m-line);
}

/* ---------- Footer ---------- */
.ih-m-footer {
    background: var(--ih-m-navy);
    color: #8f9bb0;
    padding: 4.5rem 0 2rem;
    font-size: 0.92rem;
}

.ih-m-footer .ih-m-logo {
    color: #fff;
}

.ih-m-footer h6 {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.ih-m-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ih-m-footer li {
    margin-bottom: 0.55rem;
}

.ih-m-footer a {
    color: #b8c2d3;
    text-decoration: none;
}

.ih-m-footer a:hover {
    color: #fff;
    text-decoration: none;
}

.ih-m-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3rem;
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.ih-m-maker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0.6rem 0.35rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ih-m-maker:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.ih-m-maker span {
    font-size: 0.8rem;
    color: #8f9bb0;
    white-space: nowrap;
}

.ih-m-maker img {
    height: 1.35rem;
    width: auto;
}

/* Inhalt der Unterseiten, die noch nicht eigene Sektionen haben (Login, Demo, AGB …) */
.ih-m-main-plain {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}

.ih-m-logo .os-wordmark {
    font-size: 1.75rem;
}

/* Auf dunklem Grund die Reverse-Wortmarke laut Brand-Guide: "os" Coral, "otel" Weiss. */
.ih-m-footer .os-wordmark-otel {
    color: #fff;
}

/* Markenslogan "the operating system for hotels" — immer Englisch, klein geschrieben wie die Wortmarke. */
.ih-m-slogan {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ih-m-blue);
}

.ih-m-footer .ih-m-slogan {
    color: var(--ih-m-coral);
}
