@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
    --gold: #b8975a;
    --gold-light: #d4b483;
    --dark: #1a1712;
    --dark-mid: #2c2820;
    --cream: #f5f0e8;
    --cream-dark: #ede6d8;
    --text: #3a3530;
    --text-light: #7a7268;
    --border: #d9d0be;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--cream);
    color: var(--text);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    min-height: 100vh;
    background-image:
            radial-gradient(ellipse at 20% 0%, rgba(184,151,90,0.08) 0%, transparent 60%),
            radial-gradient(ellipse at 80% 100%, rgba(184,151,90,0.06) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Header / Seitentitel */
header, .page-header {
    background-color: var(--dark);
    color: var(--cream);
    padding: 2.5rem 3rem;
    position: relative;
    overflow: hidden;
}

header::before, .page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(184,151,90,0.15) 0%, transparent 60%);
    pointer-events: none;
}

header h1, .page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 2.8rem;
    letter-spacing: 0.08em;
    color: var(--gold-light);
}

header p, .page-header p {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 0.3rem;
}

/* Hauptinhalt */
main, .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Sektions-Titel */
h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 2.2rem;
    color: var(--dark);
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
}

h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 1.6rem;
    color: var(--dark);
    letter-spacing: 0.06em;
    margin-bottom: 1.5rem;
}

/* Goldene Trennlinie */
.divider, h1 + p, h2 + p {
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin-top: 0.6rem;
}

/* Zimmertypen Liste */
.zimmertypen {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 2rem;
}

.title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--dark);
    letter-spacing: 0.06em;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

/* Links */
a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--gold);
}

/* Zimmertyp-Links */
.zimmertypen a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    transition: all 0.25s ease;
    color: var(--text);
}

.zimmertypen a::after {
    content: '→';
    color: var(--gold);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.25s ease;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
}

.zimmertypen a:hover {
    color: var(--gold);
    padding-left: 0.5rem;
}

.zimmertypen a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Tabelle */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: white;
    box-shadow: 0 2px 20px rgba(26,23,18,0.06);
}

thead {
    background-color: var(--dark);
    color: var(--cream);
}

th {
    padding: 1rem 1.4rem;
    text-align: left;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-light);
}

td {
    padding: 1rem 1.4rem;
    border-bottom: 1px solid var(--cream-dark);
    font-size: 0.95rem;
    color: var(--text);
}

tr:last-child td {
    border-bottom: none;
}

tbody tr {
    transition: background 0.2s ease;
}

tbody tr:hover {
    background-color: var(--cream-dark);
}

tbody tr:hover td a {
    color: var(--gold);
}

td a {
    font-weight: 500;
    color: var(--dark);
    transition: color 0.2s ease;
}

/* Detail-Seite (buchung.php, zimmertyp.php) */
.detail-card {
    background: white;
    box-shadow: 0 2px 30px rgba(26,23,18,0.08);
    padding: 2.5rem 3rem;
    max-width: 640px;
    margin-top: 2rem;
    position: relative;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), var(--gold-light));
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--cream-dark);
    gap: 2rem;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    white-space: nowrap;
}

.detail-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    color: var(--dark);
    text-align: right;
}

.detail-value.price {
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 600;
}

/* Zurück-Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 2rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--gold);
}

.back-link::before {
    content: '←';
}

/* p Tags allgemein */
p {
    line-height: 1.7;
    color: var(--text);
    font-size: 0.95rem;
}