/*
Theme Name: Of White Castle
Theme URI: https://of-white-castle.de
Author: Marcel Richard
Description: Theme für die Westie-Hobbyzucht Of White Castle (Vera Richard-Neuhaus & Frank Neuhaus, Hamm). Roter Samt, Royalgrün, Gold, Royal-Stewart-Karo. Lokale Schriften, ohne Page-Builder.
Version: 1.0.12
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: owc
*/
@font-face{font-family:Fraktur;src:url(assets/fonts/UnifrakturCook-Bold.woff2) format("woff2");font-weight:100 900;font-display:block}
@font-face{font-family:Cormorant;src:url(assets/fonts/CormorantGaramond-VF.woff2) format("woff2");font-weight:300 700;font-display:swap}
@font-face{font-family:Source;src:local('Nunito')}
:root{--r:#5e0f1c;--r2:#8a1b2c;--g:#0f3d2e;--g2:#1c5a44;--gold:#c9a24a;--gold2:#e4c77d;--off:#fbf7ef;--ink:#2a2420;--rad:22px;--sh:0 10px 30px rgba(94,15,28,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:80px}
body{margin:0;font:18px/1.65 Source,sans-serif;color:var(--ink);background:var(--off)}
img{max-width:100%;display:block}
h1,h2,h3{font-family:Fraktur,serif;font-weight:700;color:var(--g);margin:0 0 .35em;line-height:1.15}
a{color:var(--r2)}
.velvet{background:radial-gradient(ellipse at 50% 25%,#8f1d2f 0%,#5e0f1c 55%,#2e060d 100%)}
.tartan{background:#b5121b url(assets/img/tartan-royal-stewart.jpg) center/170px repeat}
.band{height:12px;border-top:1px solid var(--gold);border-bottom:1px solid var(--gold)}
/* Header */
header{position:sticky;top:0;z-index:50;background:linear-gradient(180deg,#701425,#4a0b16);border-bottom:2px solid var(--gold);box-shadow:0 4px 18px rgba(0,0,0,.25)}
.nav{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:10px 20px}
.logo{font-family:Fraktur;font-size:27px;color:var(--off);text-decoration:none;display:flex;align-items:center;gap:8px}.logo span{color:var(--gold)}
.logo svg{width:26px;height:26px;fill:var(--gold)}
nav{display:flex;align-items:center;gap:6px}
nav a{color:var(--off);text-decoration:none;font-size:15px;padding:8px 13px;border-radius:30px;transition:.2s}
nav a:hover,nav a.on{background:rgba(201,162,74,.18);color:var(--gold2)}
nav a.cta{background:var(--gold);color:var(--r);font-weight:700}
nav .sub{opacity:.75;font-size:14px}
.burger{display:none;background:none;border:2px solid var(--gold);border-radius:14px;width:46px;height:42px;cursor:pointer;padding:0}
.burger span{display:block;width:22px;height:2px;background:var(--gold);margin:5px auto;border-radius:2px;transition:.3s}
/* Hero */
.hero{position:relative;height:min(82vh,760px);min-height:520px;background:url(assets/img/hero.jpg) center 55%/cover;overflow:hidden}
.hero:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 60%,transparent 40%,rgba(46,6,13,.55) 100%)}
.flagwrap{position:absolute;z-index:2;left:50%;top:7%;transform:translateX(-50%);width:min(860px,92vw);filter:drop-shadow(0 14px 18px rgba(0,0,0,.4))}
.flagwrap svg{width:100%;height:auto;display:block;overflow:visible}
.flagtitle{position:absolute;left:0;right:0;top:50%;transform:translateY(-58%);text-align:center;pointer-events:none}
.flagtitle .plate{display:inline-block;background:linear-gradient(180deg,rgba(46,6,13,.92),rgba(94,15,28,.92));border:2px solid var(--gold);border-radius:60px;padding:6px 38px 10px;box-shadow:0 6px 16px rgba(0,0,0,.35)}
.flagtitle h1{color:var(--gold2);font-size:clamp(34px,6.6vw,74px);margin:0;text-shadow:0 2px 0 #2e060d}
.flagtitle small{display:block;font-family:Cormorant;font-style:italic;color:var(--off);font-size:clamp(14px,2vw,20px);margin-top:-6px}
.pole{position:absolute;left:-1.4%;top:-6%;width:12px;height:118%;border-radius:8px;background:linear-gradient(90deg,#8c6a24,#e4c77d,#8c6a24)}
.pole:before{content:"";position:absolute;top:-14px;left:-5px;width:22px;height:22px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff3c8,#c9a24a 60%,#7a5a1c)}
.herobtns{position:absolute;z-index:2;bottom:12%;left:0;right:0;text-align:center}
.btn{display:inline-flex;align-items:center;gap:8px;padding:13px 26px;border-radius:40px;text-decoration:none;font-weight:700;margin:6px;border:2px solid var(--gold);transition:.2s;font-size:16px;cursor:pointer;font-family:Source}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.18)}
.btn.gold{background:var(--gold);color:var(--r)}.btn.light{background:rgba(251,247,239,.95);color:var(--r)}
.btn.green{background:var(--g);border-color:var(--g);color:var(--off)}.btn.wa{background:#1fa855;border-color:#1fa855;color:#fff}
/* Sections */
section{max-width:1200px;margin:auto;padding:80px 20px}.center{text-align:center}
.eyebrow{display:inline-flex;align-items:center;gap:6px;color:var(--r2);font-weight:700;font-size:14px;letter-spacing:.12em;text-transform:uppercase}
.paw{display:inline-block;width:18px;height:18px;background:currentColor;-webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><ellipse cx="32" cy="42" rx="14" ry="12"/><ellipse cx="14" cy="26" rx="6" ry="8"/><ellipse cx="26" cy="15" rx="6" ry="8"/><ellipse cx="38" cy="15" rx="6" ry="8"/><ellipse cx="50" cy="26" rx="6" ry="8"/></svg>') center/contain no-repeat;mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><ellipse cx="32" cy="42" rx="14" ry="12"/><ellipse cx="14" cy="26" rx="6" ry="8"/><ellipse cx="26" cy="15" rx="6" ry="8"/><ellipse cx="38" cy="15" rx="6" ry="8"/><ellipse cx="50" cy="26" rx="6" ry="8"/></svg>') center/contain no-repeat}
.status{max-width:960px;margin:-56px auto 0;position:relative;z-index:3;background:#fff;border-radius:var(--rad);padding:22px 28px;display:flex;gap:22px;align-items:center;box-shadow:var(--sh);border:2px solid var(--gold)}
.status .dot{width:14px;height:14px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 6px rgba(201,162,74,.25);flex:none}
.status h2{font-size:30px;margin:0}.status p{margin:2px 0 0}
.intro{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center}
.intro img{border-radius:var(--rad);box-shadow:var(--sh);aspect-ratio:4/3;object-fit:cover}
.intro p{margin:.6em 0}.ph{background:#fff3cf;border:1px dashed var(--gold);border-radius:6px;padding:0 5px;font-size:.9em}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.tile{position:relative;background:#fff;border-radius:var(--rad);overflow:hidden;box-shadow:var(--sh);text-decoration:none;color:inherit;transition:.25s;display:flex;flex-direction:column}
.tile:hover{transform:translateY(-5px) rotate(-.4deg)}
.tile img{width:100%;height:240px;object-fit:cover}
.tile .tb{padding:20px 24px 26px;flex:1;display:flex;flex-direction:column}
.tile h3{font-size:32px}.tile p{margin:0 0 14px;flex:1}
.tile .more{font-weight:700;color:var(--r2)}
.tile .tag{position:absolute;top:14px;left:14px;background:var(--r);color:var(--gold2);font-size:13px;font-weight:700;padding:4px 12px;border-radius:20px}
.velvetbox{color:var(--off);border-radius:0}.velvetbox h2{color:var(--gold2)}
.minis{display:flex;flex-wrap:wrap;gap:14px;justify-content:center;margin-top:30px}
.mini{background:rgba(255,255,255,.08);border:1px solid rgba(228,199,125,.45);border-radius:40px;padding:10px 20px;color:var(--off);text-decoration:none}
.mini:hover{background:rgba(228,199,125,.2)}
.thumbs{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.thumbs img{aspect-ratio:1;object-fit:cover;border-radius:16px;cursor:zoom-in;transition:.2s}.thumbs img:hover{transform:scale(1.04)}
.contact{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.card{background:#fff;border-radius:var(--rad);padding:28px;box-shadow:var(--sh)}
form{display:grid;gap:12px}input,textarea,select{font:inherit;padding:12px 14px;border:1.5px solid #e3d8c3;border-radius:14px;background:#fffdf9}
input:focus,textarea:focus{outline:2px solid var(--gold);border-color:var(--gold)}
.mapwrap{max-width:1200px;margin:0 auto;padding:0 20px 70px}
.map{position:relative;min-height:320px;border:2px solid var(--gold);border-radius:var(--rad);overflow:hidden;background:linear-gradient(rgba(251,247,239,.9),rgba(251,247,239,.9)),url(assets/img/tartan-royal-stewart.jpg) center/170px;display:grid;place-items:center;text-align:center;padding:20px}
.map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.map p{max-width:560px;font-size:15px}
footer{color:var(--off);padding:44px 20px;text-align:center;font-size:15px}footer a{color:var(--gold2)}
footer .fl{font-family:Fraktur;font-size:32px;color:var(--gold2)}
/* Lightbox */
.lb{position:fixed;inset:0;z-index:99;background:rgba(30,4,9,.92);display:none;place-items:center;padding:20px}
.lb.open{display:grid}.lb img{max-height:86vh;border-radius:16px;border:3px solid var(--gold)}
.lb button{position:absolute;top:18px;right:22px;background:var(--gold);border:0;border-radius:50%;width:44px;height:44px;font-size:22px;cursor:pointer;color:var(--r)}
/* Archiv */
.filters{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:0 0 30px}
.filters button{font:inherit;font-size:15px;border:2px solid var(--gold);background:#fff;color:var(--r);border-radius:30px;padding:8px 18px;cursor:pointer}
.filters button.on{background:var(--r);color:var(--gold2);border-color:var(--r)}
details{background:#fff;border-radius:var(--rad);box-shadow:var(--sh);margin:0 0 18px;overflow:hidden}
summary{list-style:none;cursor:pointer;display:flex;gap:18px;align-items:center;padding:16px 22px}
summary::-webkit-details-marker{display:none}
summary img{width:84px;height:84px;border-radius:16px;object-fit:cover;flex:none}
summary h3{font-size:28px;margin:0}summary p{margin:0;font-size:15px;color:#6b5f57}
summary:after{content:"+";margin-left:auto;font-size:28px;color:var(--gold);transition:.2s}
details[open] summary:after{transform:rotate(45deg)}
.dbody{padding:0 26px 22px 124px;font-size:16px}.dbody li{margin:4px 0}
.pagehead{padding:70px 20px 60px;text-align:center;color:var(--off)}.pagehead h1{color:var(--gold2);font-size:clamp(44px,7vw,72px);margin:0}
.pagehead p{font-family:Cormorant;font-style:italic;font-size:22px;margin:0}
@media(max-width:900px){
.burger{display:block}
nav{position:fixed;top:64px;left:12px;right:12px;flex-direction:column;align-items:stretch;background:linear-gradient(180deg,#701425,#4a0b16);border:2px solid var(--gold);border-radius:var(--rad);padding:14px;gap:4px;transform:translateY(-12px);opacity:0;pointer-events:none;transition:.25s}
nav.open{transform:none;opacity:1;pointer-events:auto}nav a{font-size:17px;padding:12px 16px}
.intro,.contact{grid-template-columns:1fr}.tiles{grid-template-columns:1fr}.thumbs{grid-template-columns:repeat(3,1fr)}
.status{margin:-40px 14px 0;flex-direction:column;text-align:center}section{padding:56px 18px}
.hero{height:76vh;min-height:500px}.flagwrap{top:6%}.flagtitle .plate{padding:4px 20px 8px}
.dbody{padding:0 20px 20px}summary img{width:64px;height:64px}summary h3{font-size:23px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}html{scroll-behavior:auto}}

.hero:after{background:linear-gradient(180deg,rgba(46,6,13,0) 35%,rgba(94,15,28,.55) 62%,rgba(46,6,13,.95) 100%)}
.herotext{position:absolute;z-index:2;left:0;right:0;bottom:70px;max-width:1200px;margin:auto;padding:0 28px;color:var(--off)}
.herotext h1{color:var(--gold2);font-size:clamp(46px,7.5vw,92px);margin:4px 0 0;text-shadow:0 3px 14px rgba(0,0,0,.45)}
.herotext p{font-family:Cormorant;font-style:italic;font-size:clamp(19px,2.4vw,26px);margin:0 0 16px;max-width:620px}
.herotext .btn{margin:6px 10px 6px 0}
.status{margin-top:-40px}
@media(max-width:900px){.herotext{bottom:56px;padding:0 18px}.hero{min-height:560px}}
@font-face{font-family:Nunito;src:url(assets/fonts/Nunito-VF.woff2) format("woff2");font-weight:200 1000;font-display:swap}
body,.btn,input,textarea,select,.filters button{font-family:Nunito,sans-serif}
.hero{height:min(92vh,880px);min-height:600px;background-position:center 30%}
.hero:after{background:linear-gradient(180deg,rgba(46,6,13,0) 55%,rgba(94,15,28,.6) 78%,rgba(46,6,13,.95) 100%)}
.herotext{bottom:44px;text-align:center}
.herotext h1{font-size:clamp(42px,6vw,76px);margin:2px 0 0}
.herotext p{margin:0 auto 12px;font-size:clamp(17px,2vw,22px)}
.herotext .btn{margin:5px}
@media(max-width:900px){.hero{height:80vh;min-height:560px;background-position:42% 30%}.herotext{bottom:44px}.herotext .btn{padding:10px 18px;font-size:15px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* ---- WordPress-Ergänzungen ---- */
nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:6px}
nav li{margin:0}
nav .menu-archiv a{opacity:.8;font-size:14px}
nav .current-menu-item>a:not([href*="#"]){color:var(--gold2)}
.admin-bar header{top:32px}@media(max-width:782px){.admin-bar header{top:46px}}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
.hp{position:absolute;left:-9999px;opacity:0;height:0;overflow:hidden}
.notice{border-radius:16px;padding:14px 18px;margin:0 0 14px;font-weight:600}
.notice.ok{background:#e8f4ec;color:#145c33;border:2px solid #7cc49a}.notice.err{background:#fbe9ea;color:#8a1b2c;border:2px solid #e39aa4}
.westie{width:70px;height:auto;margin:0 auto 6px;display:block}
.westie.float{animation:wiggle 4s ease-in-out infinite;transform-origin:50% 90%}
@keyframes wiggle{0%,100%{transform:rotate(0)}50%{transform:rotate(-5deg)}}
.pawtrail{display:flex;gap:18px;justify-content:center;opacity:.35;color:var(--r2);margin:10px 0 0}.pawtrail .paw:nth-child(odd){transform:translateY(8px) rotate(-15deg)}.pawtrail .paw:nth-child(even){transform:rotate(15deg)}
.content{max-width:860px;margin:auto}.content img{border-radius:18px}
.content h2{font-size:40px}.content h3{font-size:30px}
.wp-block-gallery img,.gallery img{border-radius:16px;cursor:zoom-in}
.archcards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
@media(max-width:900px){.archcards{grid-template-columns:1fr}
nav ul{flex-direction:column;align-items:stretch;gap:4px}}
.bubble{display:inline-block;background:#fff;border:2px solid var(--gold);border-radius:20px 20px 20px 4px;padding:6px 14px;font-size:14px;color:var(--r);font-weight:700;box-shadow:var(--sh)}
.footmenu li{display:inline;list-style:none;margin:0 6px}.footmenu{display:inline}
footer ul{padding:0;margin:0;display:inline}
img{height:auto}.intro img{width:100%}
@media(max-width:900px){nav a{display:block}nav ul{gap:2px}}
/* 1.0.3: Handschrift-Ueberschriften (Caveat, OFL), Fraktur nur im Logo */
@font-face{font-family:Caveat;src:url(assets/fonts/Caveat-VF.woff2) format("woff2");font-weight:400 700;font-display:swap}
h1,h2,h3,h4,summary h3,.card h3{font-family:Caveat,'Comic Sans MS',cursive;font-weight:700;letter-spacing:.01em;line-height:1.1}
h1{font-size:clamp(44px,5.4vw,66px)}h2{font-size:clamp(36px,4.2vw,52px)}h3{font-size:clamp(28px,2.8vw,34px)}
summary h3{font-size:32px}
.pagehead h1{font-size:clamp(48px,6vw,74px)}
.logo,footer .fl,.herotext h1{font-family:Fraktur,serif;letter-spacing:0}
.herotext h1{font-weight:700}
.btn.gold{font-family:Caveat,cursive;font-size:21px;letter-spacing:.02em;padding:9px 26px}
details>summary{font-family:Caveat,cursive;font-weight:700;font-size:27px;line-height:1.2;color:var(--g)}details>summary p{font-family:Nunito,sans-serif;font-weight:400}

/* 1.0.4: groesseres Logo, kein Westie-Icon, Welpen-Sektion statt Status-Streifen */
.nav{padding:8px 20px}
.logo{font-size:clamp(30px,3.4vw,42px);line-height:1;gap:10px;white-space:nowrap}
.logo svg{width:30px;height:30px}
footer .fl{font-size:clamp(40px,5vw,56px);margin-bottom:8px}
.puppybox{max-width:1100px;margin:56px auto 64px;display:grid;grid-template-columns:1fr 1.15fr;gap:0;background:#fff;border-radius:var(--rad);overflow:hidden;box-shadow:var(--sh);padding:0}
.pb-img img{width:100%;height:100%;min-height:320px;object-fit:cover;display:block}
.pb-text{padding:34px 40px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.pb-text h2{margin:4px 0 10px;color:var(--r)}.pb-text p{margin:0 0 16px}
.pb-alt{font-size:15px;margin-top:14px!important}.pb-note{font-size:13px;color:#7a6d63}
@media(max-width:900px){.logo{font-size:30px}.logo svg{width:24px;height:24px}nav{top:60px}
.puppybox{grid-template-columns:1fr;margin:36px 14px 44px}.pb-img img{min-height:0;height:230px}.pb-text{padding:24px 22px;align-items:center;text-align:center}}
@media(max-width:380px){.logo{font-size:26px}}

/* 1.0.5: Foto oben frei, darunter roter Samt-Bereich mit grossem Logo und Welpen-Karte */
.hero-photo{height:min(78vh,760px);min-height:420px;background-position:center 35%}
.hero-photo:after{display:none}
.redstage{position:relative;color:var(--off);text-align:center;padding:56px 20px 64px;overflow:hidden;
background:
 repeating-linear-gradient(115deg,rgba(255,255,255,.018) 0 2px,rgba(0,0,0,.03) 2px 4px),
 radial-gradient(ellipse at 30% 0%,rgba(255,120,140,.16),transparent 55%),
 radial-gradient(ellipse at 50% 30%,#9a2034 0%,#6a1222 50%,#2e060d 100%)}
.redstage:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 120%,rgba(0,0,0,.35),transparent 60%)}
.rs-inner{position:relative;max-width:1000px;margin:0 auto}
.biglogo{font-family:Fraktur,serif;font-weight:700;color:var(--gold2);font-size:clamp(56px,11vw,140px);line-height:1;margin:10px 0 6px;text-shadow:0 3px 0 #2e060d,0 8px 24px rgba(0,0,0,.45)}
.rs-sub{font-family:Cormorant,serif;font-style:italic;font-size:clamp(19px,2.4vw,27px);margin:0 auto 18px;max-width:640px}
.rs-btns{margin-bottom:38px}
.pupcard{margin:0 auto!important;max-width:900px;background:var(--off);color:var(--ink);text-align:left;border:2px solid var(--gold);border-radius:28px;box-shadow:0 14px 36px rgba(0,0,0,.35)}
.pupcard .pb-text{align-items:center;text-align:center}
@media(max-width:900px){.hero-photo{height:56vh;min-height:300px;background-position:42% 35%}
.redstage{padding:40px 14px 46px}.rs-btns .btn{padding:10px 18px;font-size:15px}.pupcard{margin:0 auto!important}}
.redstage{max-width:none!important;width:100%;margin:0!important}

/* 1.0.6 */
.logo{color:var(--gold2)}.logo span.w,.biglogo .w,footer .fl .w{color:#fffaf0}
.biglogo .w{text-shadow:0 3px 0 #2e060d,0 8px 24px rgba(0,0,0,.5)}
.hero-photo{position:relative;overflow:hidden;background-size:cover;background-position:46% 50%}
.hero-photo:after{display:block;content:"";position:absolute;inset:0;background:inherit;background-size:cover;background-position:46% 50%;transform:scale(1.08);transform-origin:46% 50%}
@media(max-width:900px){.hero-photo{height:auto;aspect-ratio:4/3;min-height:0;max-height:70vh}.hero-photo:after{transform:scale(1.03)}}


/* 1.0.7: groessere Eyebrow im Samtbereich, groessere Handschrift-Ueberschriften */
.redstage .rs-eyebrow{font-size:clamp(19px,2.3vw,25px);letter-spacing:.1em;gap:10px;text-shadow:0 2px 6px rgba(0,0,0,.35)}
.redstage .rs-eyebrow svg{width:1.1em;height:1.1em}
h1{font-size:clamp(52px,6.6vw,82px)}h2{font-size:clamp(42px,5.2vw,64px)}h3{font-size:clamp(32px,3.4vw,42px)}h4{font-size:clamp(26px,2.6vw,32px)}
.pagehead h1{font-size:clamp(56px,7.4vw,92px)}
.content h2{font-size:clamp(42px,5vw,50px)}.content h3{font-size:clamp(32px,3.4vw,38px)}
.tile h3,.card h3{font-size:clamp(34px,3.6vw,40px)}
.status h2{font-size:clamp(34px,3.6vw,38px)}
summary h3{font-size:clamp(30px,3.2vw,40px)}
details>summary{font-size:clamp(30px,3vw,34px)}
.sec-title{font-size:clamp(46px,5.8vw,58px)!important}
@media(max-width:900px){summary h3{font-size:28px}}
.tile .note{display:block;margin-top:.4em;font-style:italic;opacity:.85}
