/* HostSteward – Design-Tokens, abgeleitet aus dem Logo:
   Creme-Hintergrund, dunkles Tannengrün, Gold als sparsamer Akzent. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --hs-cream: #F6F1E6;
    --hs-cream-warm: #EFE7D6;
    --hs-green-900: #17332C;
    --hs-green-700: #1F4A3E;
    --hs-green-500: #2E6355;
    --hs-gold: #B08D4E;
    --hs-gold-soft: #D9C7A0;
    --hs-line: rgba(23, 51, 44, 0.14);

    --hs-font-display: 'Fraunces', Georgia, serif;
    --hs-font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--hs-cream);
    color: var(--hs-green-900);
    font-family: var(--hs-font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.hs-eyebrow {
    font-family: var(--hs-font-body);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--hs-gold);
    font-weight: 600;
}

h1, h2, h3 {
    font-family: var(--hs-font-display);
    font-weight: 500;
    line-height: 1.15;
    margin: 0 0 0.6em;
    letter-spacing: 0.01em;
}

p { margin: 0 0 1em; color: var(--hs-green-700); }

.hs-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 64px);
}

/* --- Kopf / Marke ------------------------------------------------------ */

.hs-brandbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px clamp(20px, 5vw, 64px) 0;
}

.hs-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--hs-font-display);
    font-size: 1.1rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hs-green-900);
    text-decoration: none;
}

.hs-brand-mark {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    object-fit: contain;
}

.hs-brandbar-note {
    font-size: 0.8rem;
    color: var(--hs-green-500);
    letter-spacing: 0.04em;
}

/* --- Hero --------------------------------------------------------------- */

.hs-hero {
    position: relative;
    padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 96px);
    overflow: hidden;
}

.hs-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(32px, 6vw, 72px);
    align-items: center;
}

.hs-hero h1 {
    font-size: clamp(2.4rem, 4.6vw, 3.8rem);
    max-width: 14ch;
}

.hs-hero .hs-lede {
    font-size: 1.15rem;
    max-width: 46ch;
    color: var(--hs-green-700);
}

.hs-divider {
    width: 64px;
    height: 2px;
    background: var(--hs-gold);
    border: none;
    margin: 22px 0 26px;
}

.hs-hero-figure {
    position: relative;
    display: flex;
    justify-content: center;
}

.hs-hero-figure img {
    width: min(100%, 420px);
    height: auto;
}

/* --- Sektionen allgemein ------------------------------------------------ */

section.hs-section {
    padding: clamp(48px, 8vw, 88px) 0;
    border-top: 1px solid var(--hs-line);
}

.hs-section-head {
    max-width: 62ch;
    margin-bottom: clamp(32px, 5vw, 52px);
}

.hs-section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
}

/* --- Gegenüberstellung (Positionierung) --------------------------------- */

.hs-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--hs-line);
    border: 1px solid var(--hs-line);
}

.hs-compare > div {
    background: var(--hs-cream);
    padding: clamp(24px, 4vw, 40px);
}

.hs-compare h3 {
    font-size: 1.05rem;
    font-family: var(--hs-font-body);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hs-compare .hs-compare-them h3 { color: var(--hs-green-500); }
.hs-compare .hs-compare-us { background: var(--hs-cream-warm); }
.hs-compare .hs-compare-us h3 { color: var(--hs-green-900); }

.hs-compare ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hs-compare li {
    padding: 8px 0;
    border-top: 1px solid var(--hs-line);
    font-size: 0.95rem;
    color: var(--hs-green-700);
}
.hs-compare li:first-of-type { border-top: none; }

/* --- Gästeseiten-Showcase ------------------------------------------------ */

.hs-showcase {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
}

.hs-showcase-card {
    background: var(--hs-green-900);
    color: var(--hs-cream);
    border-radius: 18px;
    padding: clamp(22px, 4vw, 34px);
    position: relative;
}

.hs-showcase-card .hs-eyebrow { color: var(--hs-gold-soft); }
.hs-showcase-card h3 {
    color: var(--hs-cream);
    font-size: 1.4rem;
    margin-top: 4px;
}
.hs-showcase-card p { color: rgba(246, 241, 230, 0.78); }

.hs-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hs-tag {
    font-size: 0.78rem;
    padding: 6px 12px;
    border: 1px solid rgba(246, 241, 230, 0.3);
    border-radius: 999px;
    color: rgba(246, 241, 230, 0.85);
}

.hs-feature-list {
    display: grid;
    gap: 22px;
}

.hs-feature {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 16px;
}

.hs-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--hs-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hs-gold);
}

.hs-feature h4 {
    font-family: var(--hs-font-body);
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 4px;
    color: var(--hs-green-900);
}

.hs-feature p { margin: 0; font-size: 0.95rem; }

/* --- Automatisierung: Feature-Grid --------------------------------------- */

.hs-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 32px);
}

.hs-grid-3 .hs-card {
    background: var(--hs-cream-warm);
    border-radius: 14px;
    padding: 26px;
}

.hs-grid-3 h3 {
    font-family: var(--hs-font-body);
    font-weight: 600;
    font-size: 1.02rem;
    margin-bottom: 8px;
}

.hs-grid-3 p { font-size: 0.94rem; margin: 0; }

/* --- Markttest-Notiz ------------------------------------------------------ */

.hs-note {
    background: var(--hs-green-900);
    color: var(--hs-cream);
    border-radius: 18px;
    padding: clamp(28px, 5vw, 48px);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
}

.hs-note .hs-eyebrow { color: var(--hs-gold-soft); }
.hs-note h2, .hs-note p { color: var(--hs-cream); }
.hs-note p { color: rgba(246, 241, 230, 0.78); margin: 0; }

.hs-note-mark {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

/* --- Footer --------------------------------------------------------------- */

footer.hs-footer {
    border-top: 1px solid var(--hs-line);
    padding: 32px clamp(20px, 5vw, 64px) 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hs-footer small {
    color: var(--hs-green-500);
    font-size: 0.82rem;
}

/* --- Responsive ------------------------------------------------------------ */

@media (max-width: 860px) {
    .hs-hero-grid,
    .hs-compare,
    .hs-showcase,
    .hs-grid-3,
    .hs-note {
        grid-template-columns: 1fr;
    }
    .hs-compare > div { border-top: 1px solid var(--hs-line); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* --- Admin-Bereich (Login/Dashboard) --------------------------------------- */

.hs-admin-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.hs-login-box {
    background: var(--hs-cream-warm);
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 360px;
}

.hs-login-box form {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.hs-login-box label {
    display: grid;
    gap: 6px;
    font-size: 0.88rem;
    color: var(--hs-green-700);
}

.hs-login-box input,
.hs-login-box textarea {
    font-family: var(--hs-font-body);
    padding: 10px 12px;
    border: 1px solid var(--hs-line);
    border-radius: 8px;
    background: var(--hs-cream);
    font-size: 0.95rem;
}

.hs-login-box button {
    font-family: var(--hs-font-body);
    font-weight: 600;
    background: var(--hs-green-900);
    color: var(--hs-cream);
    border: none;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    font-size: 0.95rem;
}

.hs-form-error {
    color: #9A3B2E;
    font-size: 0.88rem;
}

.hs-dashboard {
    width: 100%;
    max-width: 640px;
    padding: 40px 20px;
}

.hs-dashboard .hs-card {
    background: var(--hs-cream-warm);
    border-radius: 14px;
    padding: 22px 26px;
    margin-bottom: 16px;
}

.hs-muted { color: var(--hs-green-500); }

/* --- Workspace-Layout (Seitenleiste), gemeinsam für /admin/ und /steward/ - */

body.hs-workspace-page {
    margin: 0;
    min-height: 100vh;
    display: flex;
}

.hs-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: var(--hs-green-900);
    color: var(--hs-cream);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.hs-sidebar-header {
    padding: 24px 24px 18px;
    font-family: var(--hs-font-display);
    font-size: 1.08rem;
    line-height: 1.25;
    border-bottom: 1px solid rgba(246, 241, 230, 0.14);
    margin-bottom: 8px;
}

.hs-sidebar-header span {
    display: block;
    font-family: var(--hs-font-body);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hs-gold-soft);
    margin-top: 4px;
}

.hs-sidebar-section {
    padding: 14px 24px 6px;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(246, 241, 230, 0.5);
}

.hs-sidebar nav a,
.hs-sidebar a.hs-sidebar-link {
    display: block;
    padding: 9px 24px;
    color: rgba(246, 241, 230, 0.85);
    text-decoration: none;
    font-size: 0.92rem;
    border-left: 3px solid transparent;
}

.hs-sidebar a.hs-sidebar-link:hover {
    background: rgba(246, 241, 230, 0.06);
}

.hs-sidebar a.hs-sidebar-link.active {
    background: rgba(246, 241, 230, 0.1);
    color: var(--hs-cream);
    font-weight: 600;
    border-left-color: var(--hs-gold);
}

.hs-sidebar-footer {
    margin-top: auto;
    padding: 16px 24px 22px;
    border-top: 1px solid rgba(246, 241, 230, 0.14);
}

.hs-sidebar-footer a {
    color: rgba(246, 241, 230, 0.7);
    font-size: 0.85rem;
    text-decoration: none;
}

.hs-workspace-main {
    flex: 1;
    min-width: 0;
    padding: 40px clamp(20px, 4vw, 56px) 64px;
    max-width: 920px;
}

.hs-workspace-main h1 {
    font-size: 1.7rem;
    margin-bottom: 4px;
}

@media (max-width: 860px) {
    body.hs-workspace-page {
        flex-direction: column;
    }
    .hs-sidebar {
        width: 100%;
        height: auto;
        position: static;
        flex-direction: row;
        overflow-x: auto;
        align-items: center;
        padding: 8px 0;
    }
    .hs-sidebar-header, .hs-sidebar-footer, .hs-sidebar-section { display: none; }
    .hs-sidebar nav { display: flex; }
    .hs-sidebar a.hs-sidebar-link {
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
        padding: 10px 16px;
    }
    .hs-sidebar a.hs-sidebar-link.active { border-bottom-color: var(--hs-gold); }
}

/* --- Wiederverwendbare Tabelle für Listen im Workspace --------------------- */

.hs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.hs-table th {
    text-align: left;
    padding: 8px 6px;
    border-bottom: 1px solid var(--hs-line);
}

.hs-table td {
    padding: 10px 6px;
    border-bottom: 1px solid var(--hs-line);
}

.hs-link-button {
    background: none;
    border: none;
    color: var(--hs-green-500);
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
    padding: 0;
}
