/*
Theme Name: Pirates of Love
Theme URI: https://piratesoflove.de
Author: Pirates of Love
Description: Nautisches Editorial-Theme — Seit 1993 auf See.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: piratesoflove
Tags: blog, custom-menu, featured-images
*/

/* ══ TOKENS ══════════════════════════════════════════════════════════════════ */
:root {
    --navy:         #080f1e;
    --navy-mid:     #0c1830;
    --navy-card:    #0f1f3a;
    --navy-surface: #152845;
    --gold:         #c8a84b;
    --gold-light:   #dfc07a;
    --gold-faint:   rgba(200,168,75,0.12);
    --gold-glow:    rgba(200,168,75,0.25);
    --white:        #ffffff;
    --text-body:    #b8cce0;
    --text-muted:   #627d96;
    --serif:        'Playfair Display', Georgia, serif;
    --sans:         'Inter', system-ui, sans-serif;
    --ease:         cubic-bezier(0.4, 0, 0.2, 1);
    --max:          1280px;
}

/* ══ RESET ════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
    font-family: var(--sans);
    background: var(--navy);
    color: var(--text-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Grain overlay */
body::after {
    content: '';
    position: fixed; inset: 0;
    pointer-events: none; z-index: 9999; opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--gold); text-decoration: none; }

/* ══ NAV ══════════════════════════════════════════════════════════════════════ */
#site-nav {
    position: fixed; inset: 0 0 auto; z-index: 200;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.4rem 3.5rem;
    transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.35s var(--ease);
}

#site-nav.scrolled {
    padding: 1rem 3.5rem;
    background: rgba(8,15,30,0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 1px 0 rgba(200,168,75,0.18), 0 4px 32px rgba(0,0,0,0.4);
}

.nav-brand {
    font-family: var(--serif);
    font-size: 1.05rem; font-weight: 700;
    color: var(--white); text-decoration: none;
    display: flex; align-items: center; gap: 0.55rem;
}

.nav-anchor { color: var(--gold); font-size: 1.15rem; }

/* WordPress generates <ul class="nav-links menu"> */
.nav-links {
    list-style: none;
    display: flex; gap: 2.75rem;
}

.nav-links a {
    color: rgba(255,255,255,0.72);
    font-size: 0.73rem; font-weight: 500;
    letter-spacing: 0.15em; text-transform: uppercase;
    position: relative;
    transition: color 0.3s var(--ease);
}

.nav-links a::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links .current-menu-item > a { color: var(--gold); }
.nav-links a:hover::after,
.nav-links .current-menu-item > a::after { width: 100%; }

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none; border: none; cursor: pointer;
    padding: 0.4rem;
    flex-direction: column; gap: 5px;
}

.nav-toggle span {
    display: block; width: 24px; height: 1.5px;
    background: var(--white);
    transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ══ SHARED HERO ══════════════════════════════════════════════════════════════ */
.site-hero {
    position: relative;
    height: 100svh; min-height: 600px;
    display: flex; align-items: flex-end;
    padding-bottom: 9vh; overflow: hidden;
}

.hero-photo {
    position: absolute; inset: 0;
    background: center/cover no-repeat;
    animation: kenBurns 22s ease-out forwards;
    transform-origin: 55% 50%;
}

@keyframes kenBurns {
    from { transform: scale(1.1) translateX(0); }
    to   { transform: scale(1.0) translateX(-1%); }
}

.hero-vignette {
    position: absolute; inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(8,15,30,0.3)  0%,
            rgba(8,15,30,0.25) 30%,
            rgba(8,15,30,0.6)  60%,
            rgba(8,15,30,0.94) 85%,
            rgba(8,15,30,1.0)  100%
        ),
        linear-gradient(to right, rgba(8,15,30,0.5) 0%, transparent 55%);
}

/* Smaller hero for inner pages */
.site-hero.hero-inner {
    height: 55vh; min-height: 360px;
    padding-bottom: 5vh;
}

.hero-content {
    position: relative; z-index: 2;
    max-width: var(--max); width: 100%;
    margin: 0 auto; padding: 0 3.5rem;
}

.hero-kicker {
    display: inline-flex; align-items: center; gap: 0.8rem;
    color: var(--gold);
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.28em; text-transform: uppercase;
    margin-bottom: 1.75rem;
    opacity: 0; animation: riseIn 0.9s var(--ease) 0.4s forwards;
}

.hero-kicker::before { content: ''; width: 2.8rem; height: 1px; background: var(--gold); }

.hero-h1 {
    font-family: var(--serif);
    font-size: clamp(4rem, 9.5vw, 8.5rem);
    font-weight: 900; line-height: 0.92;
    letter-spacing: -0.025em; color: var(--white);
    margin-bottom: 2rem;
    opacity: 0; animation: riseIn 1s var(--ease) 0.6s forwards;
}

.hero-h1 .gold-em { font-style: italic; color: var(--gold); }

.hero-inner .hero-h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.hero-meta {
    display: flex; align-items: center; gap: 2rem;
    margin-bottom: 3rem;
    opacity: 0; animation: riseIn 0.9s var(--ease) 0.85s forwards;
}

.hero-rule { width: 3.5rem; height: 1px; background: rgba(255,255,255,0.25); flex-shrink: 0; }

.hero-tagline {
    font-size: 0.9rem; font-weight: 300;
    letter-spacing: 0.06em; color: rgba(255,255,255,0.5);
}

.btn-ghost {
    display: inline-flex; align-items: center; gap: 0.9rem;
    padding: 0.95rem 2.6rem;
    border: 1px solid var(--gold); color: var(--gold);
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    text-decoration: none;
    position: relative; overflow: hidden;
    transition: color 0.35s var(--ease);
    opacity: 0; animation: riseIn 0.9s var(--ease) 1.05s forwards;
}

.btn-ghost::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--gold);
    transform: translateX(-102%);
    transition: transform 0.4s var(--ease);
}

.btn-ghost:hover { color: var(--navy); }
.btn-ghost:hover::before { transform: translateX(0); }
.btn-ghost > * { position: relative; z-index: 1; }

/* Scroll hint */
.hero-scroll-hint {
    position: absolute; bottom: 3.5rem; right: 3.5rem;
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
    opacity: 0; animation: fadeIn 1s ease 2s forwards;
}

.hero-scroll-text {
    font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: rgba(255,255,255,0.3); writing-mode: vertical-rl; transform: rotate(180deg);
}

.hero-scroll-bar {
    width: 1px; height: 4rem;
    background: linear-gradient(to bottom, rgba(200,168,75,0.5), transparent);
    animation: barPulse 2.4s ease-in-out infinite;
}

@keyframes barPulse {
    0%,100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
    50%      { opacity: 1;   transform: scaleY(1); }
}

/* ══ ROPE DIVIDER ═════════════════════════════════════════════════════════════ */
.rope-sep {
    display: block; width: 100%; overflow: hidden;
    line-height: 0; padding: 1.5rem 0;
}
.rope-sep svg { display: block; width: 100%; }

/* ══ SHARED LAYOUT ════════════════════════════════════════════════════════════ */
.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 3.5rem;
}

.eyebrow {
    display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.2rem;
}
.eyebrow-dash { flex-shrink: 0; width: 2rem; height: 1px; background: var(--gold); }
.eyebrow-text {
    font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
}

.text-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--gold); text-decoration: none;
    font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    transition: gap 0.3s var(--ease);
}
.text-link:hover { gap: 1rem; }

/* ══ ABOUT SECTION ════════════════════════════════════════════════════════════ */
.about-section {
    background: var(--navy);
    padding: 8rem 0 7rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.75fr;
    gap: 6rem; align-items: center;
}

.about-ghost {
    font-family: var(--serif);
    font-size: clamp(7rem, 14vw, 12rem);
    font-weight: 900; line-height: 1;
    letter-spacing: -0.06em; color: transparent;
    -webkit-text-stroke: 1px rgba(200,168,75,0.1);
    user-select: none; pointer-events: none;
}

.about-badge { position: absolute; bottom: 0.5rem; left: 0; }

.about-year-num {
    font-family: var(--serif);
    font-size: 3.2rem; font-weight: 700;
    color: var(--gold); line-height: 1; display: block;
}

.about-year-sub {
    font-size: 0.68rem; font-weight: 500;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--text-muted); margin-top: 0.2rem;
}

.about-left { position: relative; }

.about-h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 700; color: var(--white); line-height: 1.25;
    margin-bottom: 1.8rem;
}
.about-h2 em { font-style: italic; color: var(--gold); }

.about-body p {
    font-size: 0.97rem; line-height: 1.85;
    color: var(--text-body); font-weight: 300; margin-bottom: 1rem;
}

/* ══ LOGBUCH SECTION ══════════════════════════════════════════════════════════ */
.logbuch-section {
    background: var(--navy-mid);
    padding: 7rem 0 8rem;
    position: relative;
}

.logbuch-section::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(to right, transparent, rgba(200,168,75,0.3), transparent);
}

.logbuch-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 3.5rem;
}

.logbuch-h2 {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 700; color: var(--white); line-height: 1;
}
.logbuch-h2 em { display: block; font-style: italic; color: var(--gold); }

.posts-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 1.5rem;
}

/* ══ CARDS ════════════════════════════════════════════════════════════════════ */
.card {
    background: var(--navy-card);
    border: 1px solid rgba(200,168,75,0.1);
    display: flex; flex-direction: column; overflow: hidden;
    transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    text-decoration: none;
}

.card:hover {
    border-color: rgba(200,168,75,0.38);
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(200,168,75,0.06);
}

.card-thumb {
    overflow: hidden; position: relative; flex-shrink: 0;
    aspect-ratio: 16/9;
    background: linear-gradient(145deg, #091830 0%, #0d2a4a 40%, #071422 100%);
}

.card--featured .card-thumb { aspect-ratio: 4/3; }

.card-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.65s var(--ease);
}

.card:hover .card-thumb img { transform: scale(1.05); }

.card-thumb-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, #091830 0%, #0d2a4a 40%, #071422 100%);
}

.card-thumb-sheen {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8,15,30,0.6) 0%, transparent 55%);
}

.card-body {
    padding: 1.8rem 2rem 2.1rem;
    flex: 1; display: flex; flex-direction: column;
}

.card-meta {
    display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem;
}

.card-tag {
    font-size: 0.6rem; font-weight: 700;
    letter-spacing: 0.22em; text-transform: uppercase;
    background: var(--gold); color: var(--navy);
    padding: 0.22rem 0.65rem;
}

.card-date {
    font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.04em;
}

.card-title {
    font-family: var(--serif);
    font-size: 1.5rem; font-weight: 700;
    color: var(--white); line-height: 1.3; margin-bottom: 0.9rem;
}

.card--featured .card-title { font-size: 2.1rem; }

.card-excerpt {
    font-size: 0.88rem; line-height: 1.78;
    color: var(--text-body); font-weight: 300;
    flex: 1; margin-bottom: 1.6rem;
}

.card-more {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--gold); text-decoration: none;
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.14em; text-transform: uppercase;
    align-self: flex-start;
    transition: gap 0.3s var(--ease);
}
.card-more:hover { gap: 1rem; }

/* ══ STATS SECTION ════════════════════════════════════════════════════════════ */
.stats-section {
    background: var(--navy);
    padding: 6.5rem 0;
    position: relative; overflow: hidden;
    border-top: 1px solid rgba(200,168,75,0.12);
    border-bottom: 1px solid rgba(200,168,75,0.12);
}

.stats-section::before {
    content: '';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(200,168,75,0.04) 0%, transparent 65%);
    pointer-events: none;
}

.stats-inner { text-align: center; }

.stats-headline {
    font-family: var(--serif); font-style: italic;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--white); margin-bottom: 0.5rem;
}

.stats-caption {
    font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 5rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.stat { padding: 1rem 2rem; position: relative; }

.stat + .stat::before {
    content: '';
    position: absolute; top: 50%; left: 0;
    transform: translateY(-50%);
    width: 1px; height: 55%;
    background: rgba(200,168,75,0.18);
}

.stat-num {
    display: block;
    font-family: var(--serif);
    font-size: clamp(4rem, 7vw, 6rem);
    font-weight: 900; color: var(--gold); line-height: 1;
}

.stat-lbl {
    display: block;
    font-size: 0.72rem; font-weight: 400;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--text-muted); margin-top: 0.6rem;
}

/* ══ FOOTER ═══════════════════════════════════════════════════════════════════ */
.site-footer {
    background: #050c18;
    padding: 4.5rem 0 2.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center; gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 2.5rem;
}

.footer-name {
    font-family: var(--serif);
    font-size: 1.5rem; font-weight: 700; color: var(--white);
    display: block;
}

.footer-sub {
    font-size: 0.67rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--text-muted); margin-top: 0.3rem; display: block;
}

.footer-compass { transition: transform 1.2s cubic-bezier(0.25,0.46,0.45,0.94); }
.footer-compass:hover { transform: rotate(90deg); }

.footer-nav-wrap { display: flex; justify-content: flex-end; }

/* WordPress generates footer nav as <ul> */
.footer-nav {
    list-style: none;
    display: flex; flex-direction: column; gap: 0.75rem; text-align: right;
}

.footer-nav a {
    color: var(--text-muted); text-decoration: none;
    font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
    transition: color 0.25s;
}
.footer-nav a:hover { color: var(--gold); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; flex-wrap: wrap;
}

.footer-copy { font-size: 0.72rem; color: rgba(98,125,150,0.5); }

.footer-quote {
    font-family: var(--serif); font-style: italic;
    font-size: 0.8rem; color: rgba(200,168,75,0.35);
    max-width: 400px; text-align: right;
}

/* ══ SINGLE POST ══════════════════════════════════════════════════════════════ */
.post-content-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 5rem 3.5rem 7rem;
}

.post-back {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--text-muted); text-decoration: none;
    font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
    font-weight: 500; margin-bottom: 3rem;
    transition: color 0.25s, gap 0.25s;
}
.post-back:hover { color: var(--gold); gap: 0.8rem; }

.post-header { margin-bottom: 3rem; }

.post-meta-row {
    display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
}

.post-h1 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700; color: var(--white); line-height: 1.2;
}

/* ── Entry content typography ── */
.entry-content { color: var(--text-body); }

.entry-content p {
    font-size: 1.05rem; line-height: 1.9;
    font-weight: 300; margin-bottom: 1.5rem;
}

.entry-content h2 {
    font-family: var(--serif);
    font-size: 1.9rem; font-weight: 700;
    color: var(--white); line-height: 1.3;
    margin: 3rem 0 1.2rem;
}

.entry-content h3 {
    font-family: var(--serif);
    font-size: 1.4rem; font-weight: 600;
    color: var(--white); line-height: 1.35;
    margin: 2.5rem 0 1rem;
}

.entry-content strong { color: var(--white); font-weight: 600; }

.entry-content em { font-style: italic; color: var(--gold-light); }

.entry-content blockquote {
    border-left: 2px solid var(--gold);
    padding: 1rem 0 1rem 2rem;
    margin: 2.5rem 0;
    font-family: var(--serif); font-style: italic;
    font-size: 1.2rem; color: var(--gold-light);
    line-height: 1.6;
}

.entry-content figure { margin: 2.5rem 0; }

.entry-content figure img {
    width: 100%; border: 1px solid rgba(200,168,75,0.15);
}

.entry-content figcaption {
    font-size: 0.78rem; color: var(--text-muted);
    letter-spacing: 0.06em; margin-top: 0.6rem; text-align: center;
}

.entry-content a {
    color: var(--gold); text-decoration: underline;
    text-decoration-color: rgba(200,168,75,0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.25s;
}
.entry-content a:hover { text-decoration-color: var(--gold); }

.entry-content ul, .entry-content ol {
    padding-left: 1.5rem; margin-bottom: 1.5rem;
}
.entry-content li { font-size: 1.05rem; line-height: 1.8; margin-bottom: 0.4rem; }

.entry-content hr {
    border: none; border-top: 1px solid rgba(200,168,75,0.2);
    margin: 3rem 0;
}

/* Post navigation */
.post-nav {
    display: flex; justify-content: space-between; gap: 1.5rem;
    padding: 3rem 0 0;
    border-top: 1px solid rgba(200,168,75,0.15);
    flex-wrap: wrap;
}

.post-nav-link {
    display: flex; flex-direction: column; gap: 0.4rem;
    max-width: 45%;
}

.post-nav-link span {
    font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--text-muted);
}

.post-nav-link a {
    font-family: var(--serif); font-size: 1rem; font-weight: 600;
    color: var(--white); text-decoration: none;
    transition: color 0.25s;
    line-height: 1.3;
}
.post-nav-link a:hover { color: var(--gold); }

.post-nav-link--next { text-align: right; margin-left: auto; }

/* ══ ARCHIVE PAGE ═════════════════════════════════════════════════════════════ */
.archive-header {
    background: var(--navy-mid);
    padding: 10rem 3.5rem 5rem;
    position: relative;
    border-bottom: 1px solid rgba(200,168,75,0.15);
}

.archive-h1 {
    font-family: var(--serif);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700; color: var(--white); line-height: 1;
    margin-top: 1rem;
}
.archive-h1 em { font-style: italic; color: var(--gold); }

.archive-grid {
    max-width: var(--max);
    margin: 0 auto;
    padding: 5rem 3.5rem 7rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.5rem;
}

.pagination {
    max-width: var(--max); margin: 0 auto;
    padding: 0 3.5rem 5rem;
    display: flex; gap: 0.5rem; flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.6rem; height: 2.6rem;
    border: 1px solid rgba(200,168,75,0.2);
    color: var(--text-muted); text-decoration: none;
    font-size: 0.85rem; font-weight: 500;
    transition: border-color 0.25s, color 0.25s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    border-color: var(--gold); color: var(--gold);
}

/* ══ STATIC PAGES ═════════════════════════════════════════════════════════════ */
.page-header {
    background: var(--navy-mid);
    padding: 10rem 3.5rem 5rem;
    border-bottom: 1px solid rgba(200,168,75,0.15);
}

.page-h1 {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700; color: var(--white);
    margin-top: 1rem;
}

.page-content-wrap {
    max-width: 780px; margin: 0 auto;
    padding: 5rem 3.5rem 7rem;
}

/* Contact page pirate-speak intro */
.contact-intro {
    font-family: var(--serif); font-style: italic;
    font-size: 1.25rem; color: var(--gold-light);
    line-height: 1.7; margin-bottom: 3rem;
    border-left: 2px solid var(--gold); padding-left: 1.5rem;
}

/* WordPress contact forms (e.g. Contact Form 7) */
.wpcf7-form label {
    display: block; font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: 0.5rem; margin-top: 1.5rem;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%; padding: 0.8rem 1rem;
    background: var(--navy-card);
    border: 1px solid rgba(200,168,75,0.2); color: var(--white);
    font-family: var(--sans); font-size: 0.95rem;
    transition: border-color 0.25s;
    outline: none;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus { border-color: var(--gold); }
.wpcf7-form input[type="submit"] {
    margin-top: 1.5rem; cursor: pointer;
    padding: 0.95rem 2.6rem;
    background: transparent; border: 1px solid var(--gold);
    color: var(--gold); font-family: var(--sans);
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    transition: background 0.3s, color 0.3s;
}
.wpcf7-form input[type="submit"]:hover {
    background: var(--gold); color: var(--navy);
}

/* ══ ANIMATIONS ═══════════════════════════════════════════════════════════════ */
@keyframes riseIn {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.22s; }
.reveal-d3 { transition-delay: 0.32s; }
.reveal-d4 { transition-delay: 0.42s; }

/* ══ RESPONSIVE ═══════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
    #site-nav            { padding: 1rem 1.5rem; }
    #site-nav.scrolled   { padding: 0.9rem 1.5rem; }
    .nav-links           { display: none; flex-direction: column; gap: 0;
                           position: fixed; inset: 0; background: rgba(8,15,30,0.97);
                           padding-top: 6rem; align-items: center; justify-content: center; }
    .nav-links.open      { display: flex; }
    .nav-links li        { padding: 1rem 0; }
    .nav-links a         { font-size: 1.1rem; }
    .nav-toggle          { display: flex; }

    .hero-content, .archive-header, .page-header,
    .wrap, .archive-grid, .pagination,
    .post-content-wrap, .page-content-wrap { padding-left: 1.5rem; padding-right: 1.5rem; }

    .hero-scroll-hint    { display: none; }
    .about-grid          { grid-template-columns: 1fr; gap: 2rem; }
    .about-ghost         { font-size: 6rem; }
    .about-badge         { position: static; margin-top: -1.5rem; }
    .posts-grid          { grid-template-columns: 1fr; }
    .stats-row           { grid-template-columns: 1fr; gap: 3rem; }
    .stat + .stat::before { display: none; }
    .footer-top          { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .footer-nav-wrap     { justify-content: center; }
    .footer-nav          { flex-direction: row; flex-wrap: wrap; justify-content: center; text-align: center; gap: 1rem 2rem; }
    .footer-bottom       { justify-content: center; }
    .footer-quote        { text-align: center; }
    .archive-grid        { grid-template-columns: 1fr; padding-top: 3rem; }
    .logbuch-head        { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

@media (max-width: 640px) {
    .hero-h1             { font-size: clamp(3rem, 13vw, 4rem); }
    .stats-caption       { margin-bottom: 3rem; }
}
