/* ========================================================================== Zauberturm – Stylesheet der Westreiche-Chronik Fantasy-Look: Nachtblau, Gold, Pergament ========================================================================== */ :root { --night: #0a0d16; --night-2: #10162a; --night-3: #17203a; --gold: #c9a227; --gold-bright: #e8c766; --gold-dim: #7a6320; --parchment: #efe3c8; --parchment-dim: #b9ab8e; --ember: #b3542d; --shadow: 0 18px 40px rgba(0, 0, 0, 0.55); --font-display: "Cinzel", "Trajan Pro", Georgia, serif; --font-body: "EB Garamond", Georgia, "Iowan Old Style", serif; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; min-height: 100vh; color: var(--parchment); font-family: var(--font-body); font-size: clamp(1.18rem, 1.05rem + 0.45vw, 1.4rem); line-height: 1.75; background-color: var(--night); background-image: radial-gradient(ellipse at 50% -10%, rgba(201, 162, 39, 0.16), transparent 60%), radial-gradient(ellipse at 12% 20%, rgba(47, 82, 160, 0.18), transparent 55%), radial-gradient(ellipse at 88% 75%, rgba(120, 60, 30, 0.12), transparent 55%); background-attachment: fixed; } /* feines Sternen-/Rauschmuster */ body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: 0.35; background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px); background-size: 3px 3px; mix-blend-mode: screen; z-index: 0; } a { color: var(--gold-bright); text-decoration: none; } a:hover { color: #fff3c9; text-decoration: underline; text-underline-offset: 3px; } h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.04em; color: var(--gold-bright); line-height: 1.25; } h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 0 0 0.4em; } h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); margin: 2.2em 0 0.6em; } h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); margin: 1.8em 0 0.4em; color: var(--parchment); } p { margin: 0 0 1em; } /* -------------------------------------------------------------------------- Kopfbereich & Navigation -------------------------------------------------------------------------- */ .site-header { position: relative; z-index: 2; text-align: center; padding: 2.2rem 1.2rem 1.6rem; border-bottom: 1px solid var(--gold-dim); background: linear-gradient(to bottom, rgba(23, 32, 58, 0.95), rgba(10, 13, 22, 0.75)); box-shadow: 0 1px 0 rgba(232, 199, 102, 0.25) inset; } .site-header .logo { width: 132px; height: 132px; object-fit: cover; border-radius: 50%; border: 1px solid var(--gold-dim); box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.08), var(--shadow); background: var(--night-2); } .site-header .brand { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); margin: 1rem 0 0.2rem; } .site-header .tagline { margin: 0; color: var(--parchment-dim); font-style: italic; } .site-nav { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.6rem; padding: 0.9rem 1rem; border-bottom: 1px solid rgba(201, 162, 39, 0.22); background: rgba(10, 13, 22, 0.6); font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.16em; text-transform: uppercase; } .site-nav a { color: var(--parchment-dim); text-decoration: none; } .site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-bright); } .site-nav .sep { color: var(--gold-dim); } /* -------------------------------------------------------------------------- Grundlayout -------------------------------------------------------------------------- */ .wrap { position: relative; z-index: 1; width: min(1180px, 92vw); margin: 0 auto; padding: 3rem 0 4rem; } .wrap.narrow { width: min(820px, 92vw); } .wrap.mid { width: min(1000px, 93vw); } .hero { text-align: center; padding: 1rem 0 3rem; } .hero p.lead { font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem); color: var(--parchment); max-width: 44ch; margin: 0.6rem auto 0; } /* dekorative Trennlinie */ .rule { display: flex; align-items: center; gap: 1rem; color: var(--gold); margin: 2.6rem 0; font-size: 0.9rem; } .rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(to right, transparent, var(--gold-dim), transparent); } /* -------------------------------------------------------------------------- Karten -------------------------------------------------------------------------- */ .card-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); } .project-card { position: relative; display: flex; flex-direction: column; padding: 2rem 1.9rem 1.7rem; background: linear-gradient(160deg, rgba(23, 32, 58, 0.95), rgba(16, 22, 42, 0.92)); border: 1px solid var(--gold-dim); border-radius: 4px; box-shadow: var(--shadow); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; } .project-card::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(201, 162, 39, 0.18); border-radius: 2px; pointer-events: none; } .project-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(232, 199, 102, 0.2); } .project-card .kicker { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.7rem; } .project-card h2 { margin: 0 0 0.6rem; font-size: clamp(1.8rem, 2.6vw, 2.1rem); } .project-card p { color: var(--parchment-dim); } .project-card .cta { margin-top: auto; padding-top: 1.2rem; font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.18em; text-transform: uppercase; } /* -------------------------------------------------------------------------- Galerie / Screenshots -------------------------------------------------------------------------- */ .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; } .shot { background: var(--night-2); border: 1px solid rgba(201, 162, 39, 0.25); border-radius: 4px; overflow: hidden; transition: transform 0.25s ease, border-color 0.25s ease; } .shot:hover { transform: translateY(-4px); border-color: var(--gold); } .shot img { display: block; width: 100%; height: 220px; object-fit: cover; background: var(--night); } .shot .meta { padding: 0.85rem 1rem; border-top: 1px solid rgba(201, 162, 39, 0.18); font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.06em; color: var(--parchment-dim); } .shot .meta small { display: block; color: #7d7466; letter-spacing: 0.02em; } .empty { text-align: center; padding: 4rem 1rem; color: var(--parchment-dim); font-style: italic; border: 1px dashed var(--gold-dim); border-radius: 4px; } /* -------------------------------------------------------------------------- Sitzungs- und Dokumentlisten -------------------------------------------------------------------------- */ .session { padding: 1.3rem 0 0.4rem; border-top: 1px solid rgba(201, 162, 39, 0.18); margin-top: 1.6rem; } .session:first-of-type { border-top: none; margin-top: 0; } .session-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1rem; } .session-head h2 { margin: 0; font-size: clamp(1.5rem, 2.2vw, 1.75rem); } .session-head .date { font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.16em; color: var(--gold); } .doc-list { list-style: none; padding: 0; margin: 0.8rem 0 0; display: grid; gap: 0.5rem; } .doc-list li a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 1.1rem; background: rgba(23, 32, 58, 0.6); border: 1px solid rgba(201, 162, 39, 0.2); border-left: 3px solid var(--gold-dim); border-radius: 3px; color: var(--parchment); text-decoration: none; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease; } .doc-list li a:hover { background: rgba(32, 44, 78, 0.9); border-left-color: var(--gold-bright); color: #fff8dd; text-decoration: none; } .doc-list .tag { font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); white-space: nowrap; align-self: center; } /* -------------------------------------------------------------------------- Protokoll-Artikel -------------------------------------------------------------------------- */ article.protocol { background: linear-gradient(170deg, rgba(20, 27, 48, 0.94), rgba(12, 16, 28, 0.96)); border: 1px solid var(--gold-dim); border-radius: 4px; padding: 2.6rem clamp(1.3rem, 4.5vw, 3.6rem) 3rem; box-shadow: var(--shadow); font-size: 1.04em; } article.protocol > h1:first-child { padding-bottom: 0.7rem; border-bottom: 1px solid rgba(201, 162, 39, 0.3); margin-bottom: 1.4rem; } article.protocol h2 { padding-top: 1.4rem; border-top: 1px solid rgba(201, 162, 39, 0.14); } article.protocol ul, article.protocol ol { padding-left: 1.3rem; } article.protocol li { margin-bottom: 0.45rem; } article.protocol li::marker { color: var(--gold); } article.protocol blockquote { margin: 1.4rem 0; padding: 0.8rem 1.2rem; border-left: 3px solid var(--gold); background: rgba(201, 162, 39, 0.07); color: var(--parchment); font-style: italic; } article.protocol table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: 0.94em; display: block; overflow-x: auto; } article.protocol th, article.protocol td { border: 1px solid rgba(201, 162, 39, 0.25); padding: 0.5rem 0.7rem; text-align: left; vertical-align: top; } article.protocol th { background: rgba(201, 162, 39, 0.12); font-family: var(--font-display); font-size: 0.88em; letter-spacing: 0.04em; color: var(--gold-bright); } article.protocol tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); } article.protocol code { background: rgba(201, 162, 39, 0.12); padding: 0.1em 0.35em; border-radius: 2px; font-size: 0.92em; } article.protocol hr { border: none; border-top: 1px solid rgba(201, 162, 39, 0.25); margin: 2rem 0; } article.protocol img { max-width: 100%; height: auto; border-radius: 3px; } .doc-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2rem; font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; } .breadcrumb { font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--parchment-dim); margin-bottom: 1.4rem; } .breadcrumb a { color: var(--gold); } /* -------------------------------------------------------------------------- Fußbereich -------------------------------------------------------------------------- */ .site-footer { position: relative; z-index: 2; text-align: center; padding: 2.4rem 1rem 3rem; border-top: 1px solid rgba(201, 162, 39, 0.22); color: #8b8274; font-size: 1rem; } .site-footer .rune { color: var(--gold-dim); letter-spacing: 0.5em; } @media (max-width: 620px) { .site-header .logo { width: 104px; height: 104px; } .site-header { padding: 1.6rem 1rem 1.2rem; } article.protocol { padding: 1.6rem 1.1rem 2rem; } .wrap { padding: 2rem 0 3rem; } .doc-list li a { flex-direction: column; gap: 0.25rem; } } /* -------------------------------------------------------------------------- Zauberlisten auf der Regeln-Seite (filterbar, aufklappbar) -------------------------------------------------------------------------- */ .toc-inline { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: center; margin: 1.6rem 0 2.4rem; font-family: var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem; } .toc-inline a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-dim); padding-bottom: 2px; } .toc-inline a:hover { color: var(--gold-bright); border-color: var(--gold-bright); } .spell-block { margin: 3.2rem 0 1rem; } .spell-block h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 0 0 0.3rem; } .spell-count { color: var(--parchment-dim); font-size: 1rem; letter-spacing: 0.03em; margin: 0 0 1.2rem; } .spell-filter { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin-bottom: 1.8rem; padding: 1rem 1.1rem; background: var(--night-2); border: 1px solid rgba(201, 162, 39, 0.25); border-radius: 4px; } .spell-filter input, .spell-filter select, .spell-filter button { font-family: var(--font-body); /* 1.05rem ≈ 17px: verhindert den Auto-Zoom auf iOS */ font-size: 1.05rem; line-height: 1.3; color: var(--parchment); background: var(--night-3); border: 1px solid rgba(201, 162, 39, 0.3); border-radius: 4px; padding: 0.65rem 0.8rem; min-height: 2.9rem; } .spell-filter input[type="search"] { flex: 1 1 18rem; min-width: 12rem; } .spell-filter select { flex: 0 1 auto; } .spell-filter input:focus, .spell-filter select:focus { outline: none; border-color: var(--gold); } .spell-filter button { cursor: pointer; color: var(--gold); border-color: var(--gold-dim); background: transparent; } .spell-filter button:hover { color: var(--gold-bright); border-color: var(--gold-bright); } .spell-filter .sf-status { color: var(--parchment-dim); font-size: 0.95rem; margin-left: auto; } details.spell { border-top: 1px solid rgba(201, 162, 39, 0.18); padding: 0.35rem 0.2rem; } details.spell[hidden] { display: none; } details.spell:last-child { border-bottom: 1px solid rgba(201, 162, 39, 0.18); } details.spell summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; align-items: baseline; padding: 0.75rem 0.2rem; min-height: 3rem; } details.spell summary::-webkit-details-marker { display: none; } details.spell summary::before { content: "✦"; color: var(--gold-dim); font-size: 0.7rem; margin-right: 0.5rem; } details.spell[open] summary::before { content: "❖"; color: var(--gold-bright); } .spell-name { font-family: var(--font-display); font-size: 1.3rem; color: var(--parchment); letter-spacing: 0.02em; } details.spell:hover .spell-name, details.spell[open] .spell-name { color: var(--gold-bright); } .spell-meta { color: var(--parchment-dim); font-size: 1rem; line-height: 1.5; } .spell-body { padding: 0.9rem 0 1rem 2.1rem; font-size: 1.08rem; line-height: 1.65; } .spell-body h4 { font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin: 0.9rem 0 0.35rem; } .spell-body ul { padding-left: 1.1rem; margin: 0 0 0.5rem; } .spell-body li { margin-bottom: 0.35rem; } .spell-body li::marker { color: var(--gold); } .spell-teach, .spell-sig, .spell-place { margin: 0 0 0.5rem; font-size: 1rem; line-height: 1.55; color: var(--parchment-dim); } .spell-teach b, .spell-sig b, .spell-place b { color: var(--parchment); } .spell-sig { border-left: 2px solid var(--gold-dim); padding-left: 0.6rem; } .spell-place { border-left: 2px solid var(--ember); padding-left: 0.6rem; } /* -------------------------------------------------------------------------- Zauberliste auf kleinen Bildschirmen: gestapelt, große Trefferflächen -------------------------------------------------------------------------- */ @media (max-width: 700px) { .spell-filter { flex-direction: column; align-items: stretch; padding: 0.9rem; } .spell-filter input[type="search"], .spell-filter select, .spell-filter button { width: 100%; flex: 1 1 auto; min-height: 3.2rem; font-size: 1.1rem; } .spell-filter .sf-status { margin-left: 0; text-align: center; font-size: 1rem; } details.spell summary { flex-direction: column; gap: 0.15rem; padding: 0.9rem 0.2rem; } .spell-name { font-size: 1.4rem; line-height: 1.25; } .spell-meta { font-size: 1.02rem; } .spell-body { padding: 0.7rem 0 1.1rem 0.4rem; font-size: 1.1rem; } .spell-body ul { padding-left: 1rem; } .toc-inline { gap: 0.8rem; font-size: 0.95rem; } } /* Lange Wörter und Code-Schnipsel dürfen nie seitlich ausbrechen */ .spell-name, .spell-meta, .spell-body, .spell-teach, .spell-sig, .spell-place { overflow-wrap: anywhere; } .spell-body code { word-break: break-word; } details.spell { scroll-margin-top: 1rem; }