/*
Theme Name: Reiterhofwelt Hofatlas
Template: reiterhofwelt
Version: 1.0.1
Description: Illustrierter Hofatlas mit regionaler Suche und Ratgebern.
*/
@font-face {font-family:Fraunces;src:url(assets/fraunces.woff2) format("woff2");font-weight:400 700;font-display:swap}
:root {
 --primary:#243f50; --primary-dark:#182e3a; --primary-soft:#e6edf0;
 --accent:#e9b576; --accent-dark:#80521e; --text:#26363c; --muted:#556169;
 --bg:#fffdf7; --surface:#fffdf7; --surface-2:#ede9df; --line:#d6cfc0;
 --font-head:Fraunces,Georgia,serif; --radius:12px; --maxw:1240px;
 --card-shadow:0 5px 20px rgba(64,47,30,.06); --card-hover-shadow:0 9px 24px rgba(64,47,30,.13);
}
body,.section:not(.section-tint),.section-tight:not(.section-tint){background:#f8f5ed}
h1,h2,h3,h4,.brand{font-weight:520;letter-spacing:-.025em}
.site-header{background:#faf7ee;border-bottom:1px solid #cfc8b9}
.header-inner{height:78px}.brand{gap:11px;letter-spacing:-.045em;font-size:1.75rem}
.atlas-mark{color:#ecc294;background:var(--primary-dark);border-radius:50% 50% 40% 40%;width:36px;height:40px;display:inline-grid;place-items:center}
.atlas-mark svg{width:80%;height:80%}.main-nav a{font-weight:550}
.hero{padding:clamp(34px,4.5vw,76px) 0;background:#203947;color:#fff9e9}
.hero-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,5vw,76px)}
.hero h1{color:#fff9e9;font-size:clamp(3.4rem,5.25vw,5.4rem);letter-spacing:-.05em;line-height:1.03;margin-bottom:20px}
.hero h1 em{font-family:Georgia,serif;font-weight:400;color:#efc18e}
.hero .lead{max-width:38ch;color:#ebece3}.hero-form label{color:#faf4e8}
.hero .rhw-search{border:0;border-radius:8px;padding:5px}.hero .btn-accent{background:#eaba85;color:#202f36}
.hero .hero-near{align-self:start;color:#f8dfb9}.directory-count{color:#e3e2d6}
.atlas-cover{display:block;color:#352f27;background:#fbf4e4;border:7px solid #fbf4e4;border-radius:4px;box-shadow:0 12px 30px #12252e55;text-decoration:none;transform:rotate(1deg)}
.atlas-cover img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:1px}
.atlas-caption{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 8px 7px;font:520 1.15rem/1.3 var(--font-head)}
.atlas-cover:hover .atlas-caption{text-decoration:underline}
.atlas-towns{padding:22px 0;background:#e9e3d6;border-bottom:1px solid #d6ccbc}
.atlas-towns .container{display:flex;align-items:center;gap:12px 22px;flex-wrap:wrap}
.atlas-towns h2{margin:0;font:600 .93rem/1.3 var(--font-body);letter-spacing:0}
.atlas-towns a{display:inline-flex;align-items:center;min-height:38px;gap:6px;color:var(--primary);font-size:.92rem}
.section-head h2,.archive-hero h1,.profile-hero h1,.article h1{text-wrap:balance}
.section-head h2{font-size:clamp(1.85rem,3.6vw,3.45rem)}
.archive-hero,.profile-hero{background:#e9e3d6;border-block:1px solid var(--line)}
.archive-hero h1,.profile-hero h1,.article h1{font-size:clamp(2.35rem,4.8vw,4.5rem)}
.profile-copy .page-jumps a,.page-jumps a{background:var(--bg);border:1px solid var(--line);border-radius:7px;padding:9px 15px}
.site-footer{background:var(--primary-dark);color:#faf4e8}.site-footer .atlas-mark{color:var(--primary-dark);background:#ecc294}
.site-footer h3,.site-footer h4,.footer-brand .brand,.site-footer a{color:#fff6df}
.grid-states,.grid-cities{gap:12px}
.loc-card,.region-link,.guide-option,.feature-card,.comparison-card,.hour-day,.info-card,.faq-card,.guide-card,.card{
 background:var(--bg);border:1px solid var(--line);box-shadow:var(--card-shadow);border-radius:12px
}
.loc-card{padding:20px 18px}.loc-card .name,.region-name{font:530 1.15rem/1.25 var(--font-head)}
.loc-card .stat-line,.region-count{color:#805235;font-size:.82rem}.loc-card:hover,.region-link:hover{border-color:#ad8d6b}
.card-location .rhw-icon,.region-pin{color:#986438}.card h3,.guide-card h2,.guide-card h3{font-size:clamp(1.4rem,2vw,1.9rem);line-height:1.18}
.card-meta .rating{color:#76502c}.card-indicators .feature-badge{background:#e9eef1;color:#283f4b}
.feature-more,.link-more,.guide-read{color:var(--primary)}
.card-foot .btn,.guide-card .guide-read{background:var(--primary);color:#fffdf7}
.guide-card .thumb{aspect-ratio:3/2}.guide-card .thumb img{width:100%;height:100%;object-fit:cover}
.guide-index{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.guide-index .guide-card:first-child,.guide-index .guide-card:last-child{display:flex;grid-column:auto;align-items:stretch}
.guide-index .guide-card:last-child .thumb{order:0}
.guide-index .guide-card:first-child .pad,.guide-index .guide-card:last-child .pad,.guide-card .pad{padding:24px}
.guide-index .guide-card:first-child h2{font-size:clamp(1.4rem,2vw,1.9rem)}
.guide-card-footer{align-items:center}.guide-option h3,.feature-card h3,.comparison-card h3{font-size:1.4rem}
.article{max-width:850px}.article>header{margin-bottom:24px}.article>img.wp-post-image{width:100%;height:auto}
.article-body{font-size:1.08rem}.article-body h2,.profile-section h2,.faq-content h2{font-size:clamp(1.65rem,3vw,2.5rem)}
.faq-card summary{font:520 1.22rem/1.4 var(--font-head)}
.card:hover,.card:focus-within,.guide-card:hover,.guide-card:focus-visible{border-color:#b19977}
.hour-day.today{background:var(--primary)}.profile-hero .page-jumps a:hover{color:white}
@media(max-width:900px){.header-inner{height:70px}.main-nav{top:70px}.hero-layout{gap:30px}.guide-index{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.hero-layout{grid-template-columns:1fr}.hero h1{font-size:clamp(2.85rem,9vw,4rem)}.hero{padding:34px 0}.atlas-cover{transform:none}.atlas-cover img{aspect-ratio:2.5}.hero-form{margin-top:16px}.atlas-towns .container{gap:3px 15px}.atlas-towns{padding:15px 0}.atlas-towns h2{width:100%}}
@media(max-width:600px){.hero .rhw-search{flex-wrap:nowrap}.hero .rhw-search input{flex:1;width:0}.hero .rhw-search button{width:auto;padding-inline:12px}.grid-states,.grid-cities{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cards .card h3{font-size:1.31rem;line-height:1.19}.brand{font-size:1.44rem}.section-head h2{font-size:1.85rem}.loc-card .name{font-size:1.05rem}.loc-card{padding:16px 12px}.guide-index{grid-template-columns:minmax(0,1fr)}.guide-option h3,.feature-card h3{font-size:1.22rem}.guide-index .guide-card h2{font-size:1.5rem}.region-section .section-head h2,.guide-section .guide-links h2{font-size:1.8rem}.atlas-caption{font-size:1rem}.faq-card summary{font-size:1.07rem}}


/* Give the map heading the same inset as the other profile panels. */
.profile-aside .info-card.side-map-card {
    padding: clamp(18px, 2vw, 26px);
    background: var(--bg);
    box-shadow: var(--card-shadow);
}
.profile-aside .side-map-card > h2 {
    margin: 0 0 18px;
    padding: 0;
}
