/*
Theme Name: Endloskurbeln
Theme URI: https://example.com/
Author: Endloskurbeln
Description: Eigenständiges responsives WordPress-Theme für Ultracycling, Rennrad und Radreisen mit Instagram-Feed-Platzhalter.
Version: 5.1.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: endloskurbeln
License: GPL-2.0-or-later
*/
:root{--bg:#101316;--surface:#1b2024;--line:#333a3f;--text:#f7f8f8;--muted:#b2b9bd;--accent:#e99a46;--max:1180px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}img{max-width:100%;height:auto}.wrap{width:min(var(--max),calc(100% - 44px));margin:auto}.site-header{position:sticky;top:0;z-index:10;background:rgba(16,19,22,.97);border-bottom:1px solid var(--line)}.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-weight:900;font-size:1.65rem;letter-spacing:.02em;text-transform:uppercase}.brand span{color:#fff;font-weight:300}.menu{display:flex;gap:22px;list-style:none;margin:0;padding:0;flex-wrap:wrap}.menu a{font-size:.88rem;font-weight:700;text-transform:uppercase}.hero{min-height:570px;display:flex;align-items:center;position:relative;overflow:hidden;background:linear-gradient(90deg,rgba(0,0,0,.88),rgba(0,0,0,.2)),linear-gradient(135deg,#34444a,#121517 65%);background-size:cover;background-position:center}.hero-inner{padding:95px 0;position:relative}.eyebrow{text-transform:uppercase;letter-spacing:.23em;font-size:.75rem;color:var(--accent);font-weight:800}.hero h1{font-size:clamp(3.3rem,9vw,7.5rem);line-height:.94;letter-spacing:-.06em;margin:22px 0;max-width:690px;text-transform:uppercase}.hero p{max-width:600px;color:#e2e5e6;font-size:1.16rem}.btn{display:inline-block;background:transparent;border:1px solid var(--accent);color:#fff;padding:13px 22px;border-radius:3px;font-weight:850;text-transform:uppercase;font-size:.85rem;letter-spacing:.04em}.btn:hover{background:var(--accent);color:#101316}.section{padding:86px 0}.section-alt{background:#171c20}.section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:30px}.section h2{font-size:clamp(2rem,4.5vw,3.6rem);text-transform:uppercase;line-height:1.1;letter-spacing:-.045em;margin:10px 0}.muted{color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.tile{background:var(--surface);border:1px solid var(--line);overflow:hidden}.tile-img{height:220px;background:linear-gradient(135deg,#40535b,#222b30);display:flex;align-items:center;justify-content:center;color:var(--accent);font-size:2.8rem}.tile-img img{width:100%;height:100%;object-fit:cover}.tile-content{padding:24px}.tile h3{font-size:1.35rem;line-height:1.3;margin:8px 0}.tile .meta{font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;color:var(--accent)}.instagram-shell{border:1px solid var(--line);background:var(--surface);padding:30px}.instagram-top{display:flex;align-items:center;gap:16px;margin-bottom:18px}.avatar{border:2px solid var(--accent);width:64px;height:64px;border-radius:50%;display:grid;place-items:center;font-weight:900}.story-row{display:flex;gap:18px;flex-wrap:wrap;margin:20px 0}.story-circle{height:74px;width:74px;border-radius:50%;border:3px solid var(--accent);display:grid;place-items:center;font-size:1.7rem}.site-footer{border-top:1px solid var(--line);padding:36px 0;color:var(--muted);font-size:.9rem}.footer-inner{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}.footer-menu{display:flex;gap:18px;list-style:none;margin:0;padding:0}.entry{max-width:820px;margin:auto}.entry h1{font-size:clamp(2.5rem,6vw,4rem);line-height:1.1}.entry-content a{text-decoration:underline;color:var(--accent)}.entry-content{overflow-wrap:anywhere}.pagination{margin-top:36px}.screen-reader-text{position:absolute;left:-9999px}.wp-block-image img{height:auto}@media(max-width:850px){.header-inner{align-items:flex-start;flex-direction:column;padding:16px 0}.menu{gap:12px}.grid{grid-template-columns:1fr 1fr}.hero{min-height:470px}}@media(max-width:600px){.grid{grid-template-columns:1fr}.hero{min-height:420px}.hero-inner{padding:60px 0}.section{padding:58px 0}.section-head{display:block}.menu a{font-size:.78rem}.instagram-shell{padding:18px}}
/* Cinematic edition */
:root{--bg:#0a0d0f;--surface:#14191c;--max:1320px}.site-header{background:rgba(9,12,14,.96)}.hero{min-height:610px;background-position:center 48%;}.hero h1{font-size:clamp(4.5rem,10vw,9rem);max-width:740px;line-height:.86;margin:25px 0 20px}.hero p{letter-spacing:.28em;font-size:clamp(.85rem,1.8vw,1.35rem);max-width:500px;line-height:1.55}.eyebrow{color:var(--accent)}.features{width:100%}.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.feature{min-height:300px;background-size:cover;background-position:center;display:flex;align-items:end;padding:28px;transition:filter .2s}.feature:hover{filter:brightness(1.2);color:#fff}.feature h2{font-size:clamp(1.3rem,2vw,2rem);line-height:1.1;margin:0 0 8px;text-transform:uppercase}.feature p{font-size:.72rem;letter-spacing:.05em;text-transform:uppercase;line-height:1.5;margin:0}.feature-arrow{display:block;color:var(--accent);font-size:1.6rem;margin-top:10px}.insta-section{background:#0d1113}.insta-section h2{font-size:clamp(2rem,4vw,3.2rem)}.insta-profile{display:flex;align-items:center;gap:16px;margin-bottom:24px}.insta-mark{height:64px;width:64px;border:2px solid var(--accent);border-radius:50%;display:grid;place-items:center;font-weight:800}.outline-btn{border:1px solid var(--accent);padding:10px 16px;font-size:.8rem;letter-spacing:.07em}.insta-placeholder{border:1px solid #31373a;padding:35px;background:#151a1d;color:var(--muted)}.insta-placeholder a{color:var(--accent);font-weight:700}.stories-section{background:#121618}.tile-img{height:240px}.tile-content .meta{color:var(--accent)}.menu a{font-weight:500;font-size:.78rem;letter-spacing:.035em}.site-footer{background:#090b0d}@media(max-width:900px){.feature-grid{grid-template-columns:repeat(2,1fr)}.hero{min-height:540px}}@media(max-width:600px){.feature-grid{grid-template-columns:1fr 1fr}.feature{min-height:205px;padding:15px}.feature h2{font-size:1.1rem}.feature p{font-size:.6rem}.hero{min-height:460px}.hero h1{font-size:clamp(3.5rem,15vw,5.5rem)}.hero p{letter-spacing:.13em}}

/* 2.1 – KI-angepasstes Originalfoto als Hero. Schrift ist Teil des Bildes. */
.hero.hero-art{display:block;min-height:0;aspect-ratio: 16 / 9;background-image:url('assets/hero.jpg');background-size:cover;background-position:center;position:relative}
.hero-art-link{position:absolute;left:5.5%;top:52%;width:32%;height:16%;display:block;z-index:2}
.hero-art-link:focus-visible{outline:3px solid #ff8b26;outline-offset:3px}
@media(max-width:650px){.hero.hero-art{aspect-ratio: 4 / 3;background-position:61% center}.hero-art-link{left:4%;top:57%;width:50%;height:14%}}

/* v5 – separate cinematic scene crops */
.hero.hero-art{aspect-ratio: 1648 / 540;background-position:center top}
@media(max-width:650px){.hero.hero-art{aspect-ratio: 4 / 3;background-size:auto 100%;background-position:64% top}}

/* v5.1: deliberate cinematic transition between hero and independent scenes.
   The four cards are distinct photos, not a continuation of the panorama. */
.hero.hero-art{margin-bottom:0}
.features{position:relative;background:#0b0e10;padding-top:14px;border-top:1px solid rgba(238,153,65,.45)}
.features:before{content:"";position:absolute;left:0;right:0;top:-26px;height:26px;pointer-events:none;background:linear-gradient(to bottom,transparent,rgba(9,12,14,.9));}
.feature-grid{gap:3px;background:#0b0e10}
.feature{position:relative;isolation:isolate;background-blend-mode:normal;overflow:hidden;background-position:center 48%;border-top:0;min-height:290px}
.feature:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(8,12,15,.52) 0%,transparent 28%,transparent 50%,rgba(4,7,9,.35) 100%);pointer-events:none}
@media(max-width:600px){.features{padding-top:9px}.feature-grid{gap:2px}.feature{min-height:205px}}
