/*
Theme Name: Bad Leonfeldner Anglerfreunde – Vorlage Plus 2026
Author: Designvorlage Bad Leonfeldner Anglerfreunde
Description: Gestaltung mit visuell bearbeitbarer Gutenberg-Startseite nach einmaliger Umstellung, Vereinsnavigation und Unterseiten.
Version: 94.2.157
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: anglerfreunde-modern
*/
:root{--blue:#0875b5;--navy:#142c45;--text:#456075;--pale:#eef8fd;--max:1440px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);background:#edf7fc;font:16px/1.65 system-ui,-apple-system,"Segoe UI",sans-serif}a{color:var(--blue)}img{max-width:100%;height:auto}.container{width:min(calc(100% - 76px),var(--max));margin-inline:auto}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;color:var(--navy);line-height:1.12}h1{font-size:clamp(3.06rem,4.95vw,5.49rem)}h2{font-size:clamp(2.025rem,3.42vw,3.285rem)}h3{font-size:1.368rem}p{margin-top:0}.site-header{z-index:30;position:relative;background:rgba(255,255,255,.96)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:96px}.brand{display:flex;flex:0 0 auto;align-items:center}.brand img{display:block;width:248px;max-height:75px;object-fit:contain;object-position:left}.navwrap{display:flex;align-items:center;gap:24px}.main-nav ul{display:flex;align-items:center;gap:clamp(12px,1.3vw,22px);padding:0;margin:0;list-style:none}.main-nav li{position:relative}.main-nav a{text-decoration:none;color:var(--navy);white-space:nowrap;font-weight:650;font-size:14px}.main-nav a:hover,.main-nav .current-menu-item>a{color:var(--blue)}.main-nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:220px;padding:12px;background:white;box-shadow:0 12px 32px #0e3b502a;border-radius:12px;z-index:20}.main-nav .sub-menu li{padding:7px 2px}.main-nav li:hover>.sub-menu,.main-nav li:focus-within>.sub-menu{display:block}.cta,.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 21px;background:var(--blue);border:1px solid var(--blue);border-radius:30px;text-decoration:none;color:white;font-size:14px;font-weight:700;transition:background .2s,transform .2s;line-height:1.25}.cta:hover,.btn:hover{background:#075b90;color:white;transform:translateY(-1px)}.btn.ghost{background:transparent;color:var(--blue)}.btn.ghost:hover{background:#e7f3fb}.menu-toggle{display:none;background:#fff;border:1px solid #d4e7f0;border-radius:10px;font-size:24px;padding:7px 12px;color:var(--navy)}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:15px;top:10px;z-index:99;background:white;padding:10px}.page-surface{background:radial-gradient(ellipse at 9% 12%,#d8effa 0,transparent 37%),linear-gradient(115deg,#fbfeff 8%,#edf8fe 61%,#e6f4fb 100%);overflow:hidden;min-height:100vh}.hero{position:relative;display:grid;grid-template-columns:minmax(0,45%) minmax(0,55%);align-items:center;gap:22px;min-height:660px;padding-top:38px;padding-bottom:72px}.hero-copy{z-index:2;padding:25px 0}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.17em;color:#477c9d;text-transform:uppercase;margin-bottom:23px}.hero h1{margin:0 0 25px;letter-spacing:-.035em}.hero h1 span{color:var(--blue)}.hero-lead{max-width:540px;font-size:17px;color:#304d62;line-height:1.72;margin-bottom:27px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px}.hero-actions .btn{min-width:214px;min-height:49px}.hero-tags{display:flex;flex-wrap:wrap;gap:20px;margin:30px 0 0;font-size:13px;color:#527b94}.hero-tags span{display:inline-flex;gap:9px;align-items:center}.hero-tags b{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;border:1px solid #a7cfdf;border-radius:50%;font-weight:700;color:var(--blue)}.hero-image{position:relative;height:clamp(450px,45vw,670px);min-width:0;overflow:hidden;border-radius:145px 10px 10px 38%/130px 10px 10px 30%;background:#badce9;transform:translateX(clamp(0px,2.5vw,35px));}.hero-image img{width:100%;height:100%;object-fit:cover;display:block}.hero-image:after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,#061e3657);pointer-events:none}.image-script{position:absolute;z-index:1;bottom:8%;right:6%;max-width:270px;color:white;text-shadow:0 3px 12px #0d293b;font:italic 600 clamp(23px,2.45vw,38px)/1.1 "Segoe Print","Bradley Hand",cursive;text-align:right;transform:rotate(-5deg)}.soft-divider{height:36px;background:linear-gradient(176deg,transparent 47%,#e8f6fc 48%);margin-top:-30px;position:relative}.news-section{padding:65px 0 93px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.section-heading h2{margin:0}.section-heading .eyebrow{margin-bottom:5px}.section-more{white-space:nowrap;font-weight:700;text-decoration:none;font-size:14px}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.news-card{background:#fff;border:1px solid #e1edf5;border-radius:16px;overflow:hidden;box-shadow:0 15px 40px #113c5710;transition:transform .2s}.news-card:hover{transform:translateY(-4px)}.news-card figure{margin:0;aspect-ratio:16/10;background:#cde7f1}.news-card img{width:100%;height:100%;object-fit:cover}.news-body{padding:23px}.news-body time{font-size:12px;color:#5b88a4}.news-body h3{font-size:20.7px;margin:8px 0 11px}.news-body h3 a{color:var(--navy);text-decoration:none}.news-body p{font-size:14px;line-height:1.65}.news-body>a{font-weight:750;font-size:14px;text-decoration:none}.empty-news{grid-column:1/-1;background:#fff;border:1px solid #e1edf5;border-radius:16px;padding:32px 35px}.intro-section{padding:30px 0 104px}.intro-layout{display:grid;grid-template-columns:1fr 1.08fr;align-items:center;gap:65px}.intro-layout h2{margin:8px 0 22px}.intro-layout p:not(.eyebrow){max-width:550px}.intro-layout .btn{margin-top:12px}.intro-photo{border-radius:20px;aspect-ratio:16/10;object-fit:cover;width:100%;display:block}.footer{background:#e3f2f9;border-top:1px solid #d7ebf5;padding:48px 0 18px}.footer-grid{display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:40px}.footer-brand img{width:235px;display:block}.footer h3{font:800 14px/1.4 system-ui,sans-serif;margin:0 0 14px}.footer p,.footer li{font-size:14px}.footer ul{list-style:none;padding:0;margin:0}.footer li{padding:2px 0}.footer a{text-decoration:none;color:#315f7e}.footer a:hover{text-decoration:underline}.footer-bottom{border-top:1px solid #cfe5f0;padding-top:17px;margin-top:33px;font-size:12px}.inner-top{padding:65px 0 48px}.inner-top h1{margin:0;font-size:clamp(2.7rem,4.5vw,4.32rem)}.inner-page{padding:20px 0 100px;min-height:390px}.prose{max-width:940px;background:#ffffffbd;padding:clamp(22px,4vw,55px);border:1px solid #e3eff4;border-radius:20px}.prose h2,.prose h3{margin-top:28px}.prose .wp-block-image img{border-radius:14px}.prose a{font-weight:650}.prose img{max-width:100%}.post-image{max-width:900px;border-radius:18px;margin:20px 0;display:block}.screen-reader-text{position:absolute;left:-9999px}@media(max-width:1280px){.brand img{width:215px}.header-inner{gap:16px}.main-nav ul{gap:11px}.main-nav a{font-size:12.5px}.navwrap{gap:12px}.cta{font-size:12px;padding:12px 15px}}@media(max-width:1080px){.menu-toggle{display:block}.header-inner{flex-wrap:wrap;min-height:82px}.navwrap{display:none;width:100%;flex-direction:column;align-items:stretch;padding-bottom:18px}.navwrap.is-open{display:flex}.main-nav ul{flex-direction:column;align-items:stretch;gap:0}.main-nav a{display:block;font-size:16px;padding:9px 0}.main-nav .sub-menu{position:static;display:block;box-shadow:none;padding:0 0 0 16px}.navwrap>.cta{align-self:flex-start}.hero{grid-template-columns:1fr 1fr}.hero h1{font-size:clamp(2.7rem,4.5vw,4.14rem)}.hero-tags{gap:11px}.hero-tags span{font-size:11px}}@media(max-width:790px){.container{width:min(calc(100% - 36px),var(--max))}.hero{grid-template-columns:1fr;gap:22px;padding-top:22px;padding-bottom:55px}.hero-copy{padding:4px 0}.hero h1{font-size:clamp(2.79rem,9vw,4.5rem)}.hero-image{height:440px;transform:none;border-radius:80px 10px 10px 31%/75px 10px 10px 27%}.hero-tags{gap:16px}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.intro-layout{grid-template-columns:1fr;gap:30px}.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}}@media(max-width:560px){.brand img{width:205px}.hero-image{height:320px}.hero-actions .btn{width:100%}.hero-tags{display:none}.news-section{padding:46px 0 65px}.news-grid{grid-template-columns:1fr}.section-heading{align-items:start;flex-direction:column}.intro-section{padding-bottom:70px}.footer-grid{grid-template-columns:1fr;gap:16px}.footer-brand{grid-column:auto}.image-script{font-size:23px}.inner-top{padding:35px 0}.prose{border-radius:12px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* =====================================================
   2.0 – Vorlage: originalgetreue Desktop-Komposition
   ===================================================== */
:root{--blue:#086ec9;--navy:#0b223d;--max:1370px}
body{background:#e8f5fc;color:#233b54;font-family:Arial,Helvetica,sans-serif}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif}
.container{width:min(calc(100% - 112px),var(--max))}
.site-header{background:#fff;box-shadow:none}
.header-inner{width:min(calc(100% - 100px),1480px);min-height:96px;gap:22px}
.brand img{width:257px;max-height:72px}
.navwrap{gap:22px}.main-nav ul{gap:clamp(14px,1.3vw,25px)}.main-nav a{font-size:14px;font-weight:700}
.cta{padding:15px 24px;white-space:nowrap;font-size:14px}
.reference-home{background:radial-gradient(ellipse 70% 38% at 14% 15%,#fff 0%,#f1f9fe 78%,transparent 100%),linear-gradient(#f1f9ff,#e8f5fc 58%,#eaf6fd);overflow:hidden}
.hero-shell{position:relative;background:radial-gradient(ellipse 50% 55% at 19% 55%,white 12%,#e9f5fd 89%,transparent 100%)}
.hero.hero-wide{position:relative;width:min(calc(100% - 104px),1480px);max-width:none;margin:0 auto;grid-template-columns:minmax(0,44%) minmax(0,56%);gap:20px;min-height:665px;padding:0 0 55px;align-items:center}
.hero-copy{align-self:center;padding:35px 0 8px;z-index:2}
.hero h1{font-size:clamp(59.4px,4.995vw,85.5px);line-height:1.015;letter-spacing:-.04em;margin:0 0 24px}
.hero h1 span{color:#066ec6}
.eyebrow{font:700 11px/1.6 Arial,Helvetica,sans-serif;color:#4777a5;letter-spacing:.16em;margin-bottom:20px}
.hero-lead{max-width:530px;font-size:16px;line-height:1.64;color:#263f56;margin-bottom:23px}
.hero-actions{gap:12px;flex-wrap:wrap}.hero-actions .btn{min-width:210px;min-height:52px;padding:12px 20px;font-size:13px}
.hero-tags{gap:clamp(9px,1.25vw,22px);flex-wrap:nowrap;white-space:nowrap;margin-top:40px;color:#213c58;font-size:12px;line-height:1.35}
.hero-tags span{gap:10px}.hero-tags b{color:#076ccc;font-size:27px;border:0;width:31px;height:34px}
.hero-image{height:625px;min-width:0;transform:translateX(max(0px,calc((100vw - 1480px)/2)));border-radius:125px 0 0 42% / 120px 0 0 36%;overflow:hidden;margin-right:calc((min(100vw,1480px) - 100vw)/2);background:#bedceb}
.hero-image img{height:100%;width:100%;object-fit:cover;object-position:50% 50%}
.hero-image:after{inset:65% 0 0;background:linear-gradient(transparent,#09263d66)}
.image-script{right:7%;bottom:7%;font-size:clamp(27px,2.8vw,42px);transform:rotate(-7deg);line-height:1.02;text-shadow:0 2px 8px #06233a}
.wave-divider{position:absolute;bottom:-1px;left:0;width:100%;height:68px;pointer-events:none}.wave-divider svg{display:block;width:100%;height:100%}
.news-section{padding:48px 0 75px;background:#e8f5fc}.section-heading{margin-bottom:22px}.section-heading .eyebrow{margin-bottom:3px}.section-heading h2{font-size:clamp(29.7px,3.015vw,45px)}.section-more{font-size:14px}
.news-grid{gap:18px}.news-card{border-radius:17px;border:1px solid #edf3f9;box-shadow:0 10px 20px #183c5a0a}.news-card figure{aspect-ratio:2.6/1;padding:8px 8px 0;background:#fff}.news-card figure img{border-radius:10px;display:block}.news-body{padding:12px 18px 20px}.news-body time,.news-meta{font-size:11px;font-weight:700;color:#5282b0}.news-body h3{font-size:20.7px;margin:9px 0}.news-body p{font-size:13px;margin-bottom:9px}.news-body>a{font-size:13px}
.banner-section{background:#e8f5fc;padding:0 10px 35px}.banner-card{width:min(100%,1650px);margin:0 auto;min-height:340px;border-radius:34px;display:flex;align-items:center;overflow:hidden;background:linear-gradient(90deg,#061d34e8 0%,#061d349c 43%,#061d3420 80%),var(--banner-bg) center/cover no-repeat}.banner-content{color:#fff;width:min(600px,90%);margin-left:clamp(35px,6vw,110px);padding:42px 0}.banner-content .eyebrow,.banner-content h2{color:white}.banner-content h2{font-size:clamp(34.2px,4.14vw,57.6px);margin:0 0 14px}.banner-content p:not(.eyebrow){font-size:15px;line-height:1.5;margin-bottom:18px}
.pond-section{padding:40px 0 42px;background:#eaf6fd}.pond-layout{display:grid;grid-template-columns: 42% 1fr;align-items:center;gap:34px}.pond-copy h2{font-size:clamp(31.5px,3.06vw,45.9px);margin:0 0 12px}.pond-copy p:not(.eyebrow){font-size:15px;line-height:1.6;max-width:480px;margin-bottom:15px}.pond-photo{display:block;width:100%;height:260px;object-fit:cover;border-radius:18px}.link-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px}.link-tiles>a{min-height:100px;display:flex;align-items:center;gap:13px;padding:18px 20px;background:white;border-radius:17px;text-decoration:none;box-shadow:0 10px 22px #1237550a;color:#193249}.tile-symbol{font-size:31px;color:var(--blue)}.link-tiles strong{display:block;font-size:14px}.link-tiles small{display:block;line-height:1.35;font-size:12px;color:#5c7284}.tile-arrow{margin-left:auto;background:#ebf5fd;color:var(--blue);border-radius:50%;padding:5px 10px}
.resources-section{padding:34px 0 58px;background:#e7f4fc}.resources-section h2{font-size:clamp(29.7px,2.97vw,43.2px);margin:0 0 20px}.resources-section .eyebrow{margin-bottom:2px}.resource-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.resource-card{min-height:145px;display:flex;align-items:center;position:relative;overflow:hidden;border-radius:17px;background:white;color:var(--navy);text-decoration:none;box-shadow:0 8px 25px #163d5710;padding:18px}.resource-icon{z-index:1;font-size:32px;color:#0073d8;margin-right:15px;align-self:flex-start}.resource-copy{position:relative;z-index:2;display:flex;flex-direction:column;max-width:57%;gap:5px}.resource-copy strong{font:700 22px/1.2 Georgia,serif}.resource-copy small{font-size:12px;line-height:1.45}.resource-copy em{font-size:12px;color:var(--blue);font-style:normal;font-weight:700;margin-top:8px}.resource-card img{position:absolute;right:0;top:0;width:45%;height:100%;object-fit:cover;mask-image:linear-gradient(90deg,transparent,#000 46%)}
.footer{background:#fff}.footer-grid{grid-template-columns:1.6fr 1fr 1.4fr}.footer-bottom{margin-top:25px}
@media(max-width:1250px){.header-inner{width:min(calc(100% - 56px),1480px)}.brand img{width:205px}.main-nav a{font-size:12px}.main-nav ul{gap:10px}.cta{font-size:12px;padding:12px 15px}.hero.hero-wide{width:calc(100% - 62px)}.hero h1{font-size:clamp(47.7px,4.77vw,69.3px)}.hero-tags{flex-wrap:wrap;white-space:normal}.hero-image{transform:none;margin-right:-31px}}
@media(max-width:1080px){.main-nav a{font-size:16px}.hero.hero-wide{grid-template-columns:46% 54%}.hero-image{height:540px}.hero h1{font-size:clamp(40.5px,4.95vw,60.3px)}.hero-actions .btn{min-width:190px}.hero-tags{margin-top:22px}.hero-shell .hero-copy{padding-top:10px}}
@media(max-width:780px){.container{width:calc(100% - 36px)}.hero.hero-wide{width:calc(100% - 36px);grid-template-columns:1fr;min-height:0;gap:12px;padding:24px 0 62px}.hero h1{font-size:clamp(43.2px,9vw,66.6px)}.hero-image{margin:0;transform:none;height:410px;border-radius:90px 12px 12px 36%/90px 12px 12px 32%}.hero-tags{gap:12px}.news-grid{grid-template-columns:repeat(2,1fr)}.banner-card{min-height:300px}.pond-layout{grid-template-columns:1fr}.link-tiles{grid-template-columns:1fr}.resource-grid{grid-template-columns:1fr}}
@media(max-width:540px){.hero.hero-wide{padding-top:12px}.hero h1{font-size:clamp(40.5px,10.8vw,57.6px)}.hero-image{height:335px}.hero-actions .btn{width:100%}.hero-tags{display:grid;grid-template-columns:1fr 1fr;margin-top:24px}.news-grid{grid-template-columns:1fr}.section-heading{align-items:start}.banner-section{padding-inline:10px}.banner-card{border-radius:20px}.banner-content{padding:27px 0;margin-left:26px}.banner-content h2{font-size:36px}.pond-photo{height:210px}.resource-card{min-height:152px}.resource-copy{max-width:65%}}

/* 5.0 – mehr Natur, abgestimmte Farbverläufe über alle Bereiche */
.reference-home,
.page-surface {
 background:
 radial-gradient(ellipse 65% 28% at 4% 7%, rgba(255,255,255,.98) 0%,rgba(226,243,254,.8) 66%,transparent 100%),
 radial-gradient(ellipse 46% 22% at 92% 23%,rgba(181,222,247,.47) 0%,transparent 100%),
 radial-gradient(ellipse 55% 18% at 6% 50%,rgba(255,255,255,.95) 0%,transparent 100%),
 radial-gradient(ellipse 80% 25% at 80% 83%,rgba(184,224,249,.47) 0%,transparent 100%),
 linear-gradient(165deg,#fff 0%,#e9f6ff 21%,#f9fdff 43%,#dceffa 69%,#f8fcff 94%,#e7f4fd 100%);
 background-attachment:scroll;
}
.hero-shell {position:relative;background:transparent}
.hero-shell:before {content:"";position:absolute;pointer-events:none;left:0;top:6px;width:clamp(120px,19vw,310px);height:430px;background:url("assets/forest-silhouette.svg") left top / contain no-repeat;opacity:.56;z-index:0}
.hero.hero-wide{position:relative;z-index:1}
.hero-shell .wave-divider{height:92px}
.hero-shell .wave-divider svg path{fill:#e6f4fe}
.news-section{background:linear-gradient(180deg,#e6f4fe 0%,#eef8ff 68%,#e6f4fc 100%)}
.banner-section{background:linear-gradient(180deg,#e6f4fc 0%,#e4f4fd 100%)}
.pond-section{background:linear-gradient(165deg,#e4f4fd 0%,#f7fcff 55%,#e6f4fc 100%)}
.resources-section{background:linear-gradient(145deg,#e6f4fc 0%,#f8fcff 48%,#dfedf9 100%)}
.news-section,.pond-section,.resources-section{position:relative;isolation:isolate}
.news-section:after,.pond-section:after,.resources-section:after{content:"";position:absolute;bottom:-1px;left:0;width:100%;height:110px;pointer-events:none;z-index:-1;opacity:.4;background:url("assets/soft-waves.svg") center bottom / 100% 100% no-repeat}
.inner-top {position:relative;background:linear-gradient(95deg,#fff 0%,#e8f5ff 100%)}
.inner-page {background:transparent}
.prose {line-height:1.76;max-width:1040px;background:#ffffffdf;box-shadow:0 18px 45px rgba(35,94,134,.07)}
.prose h2 {font-size:clamp(22.5px,2.7vw,32.4px)}
.prose h3 {font-size:clamp(18px,1.89vw,23.4px)}
.prose p,.prose li {font-size:16px}
.prose table{border-collapse:collapse;width:100%;margin:20px 0}
.prose th,.prose td{padding:13px;border-bottom:1px solid #dbeaf3;text-align:left}
.prose th{background:#e9f6ff}
.prose .wp-block-quote{border-left:4px solid #0875b5;padding-left:22px}
@media(max-width:780px){.hero-shell:before{width:190px;height:250px;opacity:.35}.hero-shell .wave-divider{height:52px}}


/* ========================================================
   6.0 – RUHIGE EINHEITLICHE NATURFARBEN
   Kein Abschnittswechsel der Hintergrundfarbe;
   dezente Baum-/Wellenornamente nur im Kopfbereich.
   Das zugeschnittene Titelbild bestimmt seine Kontur selbst.
   ======================================================== */
:root {
  --af-surface: #f4faff;
  --af-surface-blue: #edf7fd;
  --af-surface-white: #fcfeff;
}
html { background: var(--af-surface); }
body { background: var(--af-surface); }
.reference-home,
.page-surface {
  background:
    radial-gradient(ellipse 75% 520px at 18% 0%, #ffffff 0%, rgba(255,255,255,.72) 46%, transparent 100%),
    linear-gradient(180deg, #f9fcff 0%, #f3faff 22%, #eff8fe 54%, #f6fbff 84%, #f9fcff 100%);
  background-attachment: scroll;
}
/* Alle Hauptabschnitte auf ein und derselben transparenten Ebene. */
.hero-shell, .news-section, .banner-section,
.pond-section, .resources-section,
.inner-top, .inner-page { background: transparent !important; }

/* Ein sanfter Übergang – keine durchgehenden Abschnitts-Wellen. */
.hero-shell .wave-divider { display: none !important; }
.news-section::after, .pond-section::after,
.resources-section::after { content: none !important; display: none !important; }

/* Ein einziges, sehr zartes Baumornament in der oberen linken Ecke. */
.hero-shell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: clamp(110px, 17vw, 260px);
  height: 340px;
  background: url("assets/forest-silhouette.svg") left top / contain no-repeat;
  opacity: .105;
  pointer-events: none;
  z-index: 0;
}
/* Durchgehende, zarte Wellen direkt unter der Begrüßung, nur oben. */
.hero-shell::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: 2px;
  height: 125px;
  opacity: .17;
  pointer-events: none;
  z-index: 0;
  background: url("assets/soft-waves.svg") center bottom / 100% 100% no-repeat;
}
.hero.hero-wide { z-index: 1; }

/* Kein CSS-Zuschnitt mehr: Die Bilddatei darf bereits organisch zugeschnitten sein.
   Besonders geeignet: transparentes PNG oder WebP. */
.hero-image {
  background: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
  transform: none !important;
  margin-right: 0 !important;
  box-shadow: none !important;
}
.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center;
  border-radius: 0 !important;
}
.hero-image::after { content: none !important; display: none !important; }
/* Die optionale Beschriftung bleibt im Customizer bearbeitbar. */
.image-script { z-index: 2; }

/* Gleicher heller Hintergrund, keine harten Farbkanten an Karten, Teich und Banner. */
.news-section { padding-top: 62px; }
.banner-section { padding-top: 18px; padding-bottom: 30px; }
.pond-section { padding-top: 52px; padding-bottom: 52px; }
.resources-section { padding-top: 40px; padding-bottom: 74px; }
.news-card,.link-tiles>a,.resource-card {
  border: 1px solid rgba(198,224,239,.52);
  box-shadow: 0 12px 35px rgba(24,75,114,.055);
}
.footer { background: #fafcff; border-top: 1px solid #e4f0f8; }

@media(max-width:780px) {
  .hero-shell::before { width: 150px; height: 225px; opacity: .08; }
  .hero-shell::after { height: 70px; opacity: .11; }
  .hero-image { height: 410px; }
}
@media(max-width:540px) {
  .hero-shell::after { height: 45px; opacity: .08; }
  .hero-image { height: 335px; }
}

/* V7: Desktopflaeche grosszuegig nutzen; Stil von V6 bleibt bestehen */
@media (min-width: 1081px) {
 :root { --max: 1800px; }
 .container { width: calc(100% - clamp(38px, 4vw, 96px)); max-width:1800px; }
 .header-inner { width: calc(100% - clamp(38px, 4vw, 96px)); max-width:1800px; }
 .hero.hero-wide { width:calc(100% - clamp(38px, 4vw, 96px)); max-width:1800px; margin-inline:auto; grid-template-columns:minmax(0,43%) minmax(0,57%); }
 .hero-image { margin-right:0;transform:none; }
 .banner-card { width:calc(100% - clamp(38px, 4vw, 96px));max-width:1800px; }
 .prose { max-width: 1100px; }
}
/* Untermenues: bessere Lesbarkeit ohne die Hauptnavigation zu veraendern */
.main-nav .sub-menu {min-width:245px;max-width:320px;padding:13px 17px;background:#fff;border:1px solid #e7f0f5;}
.main-nav .sub-menu a {display:block;white-space:normal;font-size:14px;line-height:1.35;padding:7px 4px;}
@media (max-width:1080px){.main-nav .sub-menu{max-width:none;border:0;padding:0 0 0 17px;background:transparent;box-shadow:none}.main-nav .sub-menu a{font-size:14px;padding:6px 0}}


/* === Bedienbarkeit und Navigation 8.0 === */
:root{scroll-padding-top:110px}
:where(a,button,input,textarea,select):focus-visible{outline:3px solid #0875b5;outline-offset:4px}
button{font:inherit;cursor:pointer}
.site-header{position:sticky;top:0;z-index:100;box-shadow:0 4px 22px rgba(20,50,70,.055)}
body.admin-bar .site-header{top:32px}
.header-inner{position:relative}
.main-nav ul.menu{gap:clamp(10px,1.05vw,22px)}
.main-nav .menu>li>a{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;font-size:clamp(13px,.82vw,15px)}
.main-nav li.menu-item-has-children{display:flex;align-items:center;flex-wrap:wrap;column-gap:3px}
.main-nav .submenu-toggle{display:inline-flex;align-items:center;justify-content:center;width:30px;height:36px;padding:0;background:transparent;border:0;border-radius:8px;color:var(--navy);transition:background .15s ease;flex-shrink:0}
.main-nav .submenu-toggle:hover{background:rgba(8,117,181,.08)}
.main-nav .submenu-toggle svg{width:16px;height:16px;transition:transform .2s ease}
.main-nav li.submenu-open>.submenu-toggle svg{transform:rotate(180deg)}
.main-nav .sub-menu{min-width:245px;padding:9px;border:1px solid #e2edf4;border-radius:14px;box-shadow:0 18px 38px rgba(15,45,63,.14);top:calc(100% - 2px)}
.main-nav .sub-menu li{display:block;padding:0}
.main-nav .sub-menu a{display:block;font-size:14px;line-height:1.35;padding:12px 13px;white-space:normal;border-radius:8px}
.main-nav .sub-menu a:hover,.main-nav .sub-menu a:focus-visible{background:#eff7fb}
.main-nav .current-menu-ancestor>a,.main-nav .current_page_ancestor>a{color:var(--blue)}
.main-nav .submenu-open>.sub-menu{display:block}
.menu-toggle{min-height:44px;min-width:48px;align-items:center;justify-content:center}
.cta,.btn{min-height:46px}
.cta:focus-visible,.btn:focus-visible{outline-offset:3px}
.news-card:focus-within,.resource-card:focus-visible{box-shadow:0 0 0 3px rgba(8,117,181,.20)}
.news-card a,.resource-card,.section-more{transition:color .2s ease,background .2s ease}
.inner-top,.news-section,.intro-section{scroll-margin-top:115px}
@media(max-width:1160px){
 .menu-toggle{display:inline-flex}
 .header-inner{flex-wrap:wrap;min-height:82px}
 .navwrap{display:none;width:100%;flex-direction:column;align-items:stretch;gap:14px;padding:8px 0 24px;max-height:calc(100dvh - 90px);overflow-y:auto}
 .navwrap.is-open{display:flex}
 .main-nav ul.menu{flex-direction:column;align-items:stretch;gap:0}
 .main-nav .menu>li{border-bottom:1px solid #e6eff5;min-height:50px}
 .main-nav .menu>li>a{font-size:16px;padding:12px 0;min-height:50px;flex:1}
 .main-nav li.menu-item-has-children{display:flex;justify-content:space-between;flex-wrap:wrap}
 .main-nav .submenu-toggle{width:46px;height:46px}
 .main-nav .sub-menu,.main-nav li:hover>.sub-menu,.main-nav li:focus-within>.sub-menu{display:none;position:static;flex-basis:100%;width:100%;min-width:0;padding:0 0 8px 16px;border:0;box-shadow:none;border-radius:0;background:transparent}
 .main-nav li.submenu-open>.sub-menu{display:block}
 .main-nav .sub-menu li{border:0}
 .main-nav .sub-menu a{font-size:15px;padding:12px 14px;white-space:normal}
 .navwrap>.cta{align-self:stretch;text-align:center}
 .navwrap:not(.is-open){display:none}
}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
@media(max-width:600px){body.admin-bar .site-header{top:0}}
@media(prefers-reduced-motion:reduce){.main-nav .submenu-toggle svg{transition:none}}

/* V9: Einfache, grosszuegige Unterseiten, unveraenderte Startseite */
.af-subpage-breadcrumbs{font:600 13px/1.6 Arial,Helvetica,sans-serif;margin:0 0 18px;color:#517b93}
.af-subpage-breadcrumbs a{color:#397895;text-decoration:none}
.af-subpage-breadcrumbs a:hover{text-decoration:underline}
.af-subpage-lead{font-size:clamp(16px,1.35vw,19px);max-width:850px;color:#47657a;margin:12px 0 0;line-height:1.65}
.af-inner-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:clamp(20px,3vw,48px)}
.af-inner-layout .prose{width:100%;max-width:none;min-width:0;padding:clamp(26px,3vw,56px);box-shadow:0 15px 42px #2b6b9410;background:#ffffffed}
.af-inner-layout .prose>:first-child{margin-top:0}
.af-inner-layout .prose p{max-width:85ch}
.af-inner-layout .prose h2{border-bottom:1px solid #e0edf4;padding-bottom:12px;margin-top:32px}
.af-inner-layout .prose .wp-block-buttons{display:flex;flex-wrap:wrap;gap:12px}
.af-inner-layout .prose .wp-block-button__link{background:#0875b5;color:#fff;border-radius:999px;padding:12px 22px}
.af-inner-layout .prose .wp-block-image img{max-height:590px;object-fit:cover}
.af-side-nav{position:sticky;top:110px;background:#fff;border:1px solid #deedf5;border-radius:20px;padding:24px 18px;box-shadow:0 14px 32px #12517d0c}
.af-side-nav h2{font:750 15px/1.4 Arial,Helvetica,sans-serif;letter-spacing:.03em;margin:0 0 14px}
.af-side-nav ul{list-style:none;margin:0;padding:0}
.af-side-nav li+li{border-top:1px solid #edf3f7}
.af-side-nav a{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#34546a;text-decoration:none;font:600 14px/1.5 Arial,Helvetica,sans-serif;padding:12px 7px;border-radius:8px}
.af-side-nav a:hover,.af-side-nav a[aria-current="page"]{background:#eaf6fc;color:#086ec9}
.af-side-nav a:after{content:"→";font-size:17px;opacity:.65}
.af-side-nav .af-side-parent{border-top:1px solid #e1edf3;margin-top:9px;padding-top:16px}
.af-side-nav .af-side-parent a{color:#0875b5}
.af-subpage-help{display:block;margin-top:16px;padding:16px;background:#f0f9fe;border-radius:12px;font-size:13px;line-height:1.55;color:#49687c}
.af-inner-layout a:focus-visible,.af-subpage-breadcrumbs a:focus-visible{outline:3px solid #0875b5;outline-offset:3px}
@media(max-width:1040px){.af-inner-layout{grid-template-columns:minmax(0,1fr)}.af-side-nav{position:static;display:block;max-width:none}.af-side-nav ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}}
@media(max-width:640px){.af-side-nav ul{display:block}.af-inner-layout .prose{padding:23px 20px}.af-side-nav{padding:20px}.af-subpage-lead{font-size:16px}}

/* V10 Gutenberg editierbare redaktionelle Infobereiche */
.prose .af-editor-panel{background:rgba(232,245,251,.62);border:1px solid rgba(8,117,181,.09);border-radius:20px;padding:clamp(20px,3vw,34px);margin:30px 0;}
.prose .af-editor-panel h2{margin-top:0;}
.prose .af-editor-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px 20px;margin-bottom:0;padding-left:20px;}
.prose .af-editor-links a{font-weight:650;text-decoration:none;}
.prose .af-editor-links a:hover{text-decoration:underline;}

/* 13.0 – Native Gutenberg-Blöcke, visuell verschiebbar und bearbeitbar */
.af-block-home{background:linear-gradient(125deg,#fff 0%,#f4fafe 24%,#eaf6fd 64%,#f7fcff 100%)}
.af-block-home .af-edit-section{max-width:none;padding:58px clamp(20px,4vw,80px);margin:0 !important;background:transparent}
.af-block-home .af-edit-section>.wp-block-group__inner-container{max-width:1800px;margin:auto}
.af-block-home .af-edit-hero{padding-top:38px;padding-bottom:45px}
.af-edit-hero-cols{align-items:center!important;gap:clamp(22px,3vw,54px)}
.af-edit-hero-copy{flex-basis:43%!important}.af-edit-hero-image{flex-basis:57%!important}
.af-edit-hero .wp-block-heading{font:700 clamp(54px,5.5vw,91px)/1.04 Georgia,serif;letter-spacing:-.035em;margin:12px 0 24px}
.af-edit-hero .af-blue{color:#0875b5}
.af-edit-hero .hero-lead{font-size:16px;max-width:560px}
.af-block-home .wp-block-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.af-block-home .wp-block-button__link{background:#0875b5;color:#fff;text-decoration:none;border-radius:40px;padding:14px 23px;font-size:14px;font-weight:700;border:1px solid #0875b5}
.af-block-home .is-style-outline .wp-block-button__link{background:transparent;color:#0875b5;border-color:#0875b5}
.af-edit-photo{position:relative;min-height:540px;overflow:hidden;border-radius:110px 0 0 32% / 120px 0 0 30%;background:#d4eaf4}
.af-edit-photo figure.af-hero-photo{position:absolute;inset:0;margin:0;width:100%;height:100%}
.af-edit-photo .af-hero-photo img{width:100%;height:100%;object-fit:cover;display:block}
.af-edit-photo .af-photo-caption{position:absolute;bottom:6%;right:6%;z-index:2;color:#fff;font:italic 600 clamp(24px,2.8vw,40px)/1.05 "Segoe Print",cursive;text-shadow:0 3px 11px #172c4d;text-align:right;max-width:285px}
.af-edit-news{padding-top:45px}.af-edit-news .news-grid{margin-top:25px}
.af-edit-banner-cols{gap:0!important;align-items:stretch!important;border-radius:26px;overflow:hidden;min-height:335px;background:#123653}
.af-edit-banner-copy{padding:50px clamp(24px,5vw,80px);color:white;flex-basis:48%!important}
.af-edit-banner-copy h2,.af-edit-banner-copy .eyebrow{color:#fff}.af-edit-banner-copy p{color:#ecf5fc}
.af-edit-banner-picture{flex-basis:52%!important}
.af-banner-photo{height:100%;margin:0!important}.af-banner-photo img{width:100%;height:100%;min-height:335px;object-fit:cover}
.af-edit-pond-cols{align-items:center!important;gap:35px}.af-edit-pond-cols .wp-block-column{flex-basis:50%!important}
.af-pond-photo{margin:0!important}.af-pond-photo img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:20px}
.af-edit-resource-cols{gap:24px}.af-resource-tile{background:#fff;padding:20px;border-radius:18px;box-shadow:0 12px 30px #183c5a0a}
.af-resource-photo{margin:0!important}.af-resource-photo img{width:100%;height:170px;object-fit:cover;border-radius:12px}
.af-resource-tile h3{font-size:21.6px;margin:17px 0 8px}
.af-block-home .eyebrow{font-size:11px;letter-spacing:.15em;font-weight:700;color:#567d98}
.af-block-home .af-edit-section h2{font-size:clamp(30.6px,3.15vw,45.9px);margin:4px 0 18px}
@media(max-width:850px){.af-edit-hero-cols,.af-edit-banner-cols,.af-edit-pond-cols,.af-edit-resource-cols{flex-wrap:wrap!important}.af-edit-hero-cols>.wp-block-column,.af-edit-banner-cols>.wp-block-column,.af-edit-pond-cols>.wp-block-column,.af-edit-resource-cols>.wp-block-column{flex-basis:100%!important}.af-edit-photo{min-height:395px}.af-edit-banner-copy{padding:30px}.af-banner-photo img{height:250px;min-height:250px}.af-edit-hero .wp-block-heading{font-size:clamp(45px,9vw,68px)}}
@media(max-width:540px){.af-block-home .af-edit-section{padding:38px 18px}.af-edit-photo{min-height:310px;border-radius:65px 10px 10px 25%}.af-block-home .wp-block-button{width:100%}.af-block-home .wp-block-button__link{width:100%}}


/* ====================================================
   V14 – Gutenberg Startseite: Typografie und Interaktion
   Diese Regeln ändern keine gespeicherten Gutenberg-Blöcke.
   ==================================================== */
.af-block-home {font-family:system-ui,-apple-system,"Segoe UI",sans-serif;}
.af-block-home .af-edit-section {box-sizing:border-box;}
.af-block-home .af-edit-section.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.af-block-home .af-edit-section > .wp-block-group__inner-container {max-width:1800px;width:100%;margin-left:auto;margin-right:auto;}
.af-block-home .af-edit-hero-cols {display:flex;align-items:center;gap:clamp(24px,3vw,56px);margin-block:0;}
.af-block-home .af-edit-hero-copy {min-width:0;flex:1 1 43%!important;}
.af-block-home .af-edit-hero-image {min-width:0;flex:1 1 57%!important;}
.af-block-home .af-edit-hero .wp-block-heading {font-family:Georgia,"Times New Roman",serif;font-size:clamp(48px,5vw,86px);font-weight:700;line-height:1.09;letter-spacing:-.035em;margin:14px 0 25px;}
.af-block-home .af-edit-hero .eyebrow {margin:0 0 16px;}
.af-block-home .af-edit-hero .hero-lead {font-size:16px;line-height:1.72;margin:0 0 26px;}
.af-block-home .wp-block-buttons {display:flex;flex-wrap:wrap;align-items:stretch;gap:12px;margin:22px 0;}
.af-block-home .wp-block-button {display:flex;margin:0;}
.af-block-home .wp-block-button__link,
.af-block-home .wp-block-button__link:visited {display:inline-flex;align-items:center;justify-content:center;min-height:49px;box-sizing:border-box;border-radius:999px;padding:13px 24px;background:#0875b5;border:1px solid #0875b5;color:#fff;text-decoration:none;font:700 14px/1.35 system-ui,-apple-system,"Segoe UI",sans-serif;transition:background-color .22s ease,color .22s ease,border-color .22s ease,box-shadow .22s ease,transform .22s ease;}
.af-block-home .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {background:#075a91;border-color:#075a91;color:#fff;box-shadow:0 9px 22px rgba(8,117,181,.2);transform:translateY(-2px);}
.af-block-home .wp-block-button.is-style-outline .wp-block-button__link {background:transparent;border:1px solid #0875b5;color:#0875b5;}
.af-block-home .wp-block-button.is-style-outline .wp-block-button__link:hover {background:#e5f3fb;color:#075a91;border-color:#075a91;box-shadow:0 8px 18px rgba(8,117,181,.10);transform:translateY(-2px);}
.af-block-home .wp-block-button__link:focus-visible {outline:3px solid #0b86cb;outline-offset:3px;}
.af-block-home .af-edit-hero .wp-block-buttons .wp-block-button {min-width:215px;}
.af-block-home .af-edit-hero .wp-block-buttons .wp-block-button__link {width:100%;}
.af-block-home .af-edit-photo {margin:0;}
.af-block-home .af-edit-photo .af-photo-caption {margin:0;line-height:1.1;}
.af-block-home .af-edit-section h2 {font-family:Georgia,"Times New Roman",serif;line-height:1.14;letter-spacing:-.018em;}
.af-block-home .af-edit-section p {line-height:1.7;}
@media(max-width:850px){.af-block-home .af-edit-hero-cols{flex-wrap:wrap}.af-block-home .af-edit-hero-cols>.wp-block-column{flex-basis:100%!important}.af-block-home .af-edit-hero .wp-block-heading{font-size:clamp(46px,8.5vw,68px)}}
@media(max-width:560px){.af-block-home .af-edit-hero .wp-block-buttons .wp-block-button{width:100%;min-width:0}.af-block-home .af-edit-hero .wp-block-buttons .wp-block-button__link{width:100%}}
@media(prefers-reduced-motion:reduce){.af-block-home .wp-block-button__link{transition:none!important}}


/* ==========================================================
   V15 FINAL – RUHIGER, DURCHGEHENDER HINTERGRUND
   Keine Änderungen an Gutenberg-Blöcken oder deren Inhalten.
   Header, Startseite, Unterseiten und Footer harmonisieren.
   ========================================================== */
:root {
  --af-final-white: #fcfeff;
  --af-final-surface: #f6fbff;
  --af-final-blue: #eef7fc;
}
html, body {
  background-color: var(--af-final-surface);
}
/* Sanftes Auslaufen statt einer weißen Kante am Header. */
.site-header {
  background: linear-gradient(180deg,
    var(--af-final-white) 0%,
    #fbfdff 45%,
    #f8fcff 100%) !important;
  border-bottom: 0 !important;
  box-shadow: none;
}
/* Ein gemeinsames, sehr dezentes Farbfeld über alle Bereiche. */
.reference-home,
.page-surface,
.af-block-home {
  background: linear-gradient(180deg,
    #f8fcff 0%,
    #f3faff 24%,
    #eef7fc 56%,
    #f3faff 79%,
    #f6fbff 100%) !important;
  background-attachment: scroll;
}
/* Einzelne Abschnitte dürfen keine neuen Farbkanten erzeugen. */
.af-block-home .af-edit-section,
.af-block-home .wp-block-group.af-edit-section,
.hero-shell,
.news-section,
.pond-section,
.resources-section,
.inner-top,
.inner-page {
  background: transparent !important;
  box-shadow: none;
}
/* Nur die obersten, sehr leichten Baum- und Wellenornamente. */
.hero-shell::before { opacity: .075 !important; }
.hero-shell::after { opacity: .095 !important; }
.news-section::after,
.pond-section::after,
.resources-section::after { display:none !important; }
/* Keine harte Abschlusskante: Der Footer setzt das Farbfeld fort. */
.site-footer,
.footer {
  background: linear-gradient(180deg,
    #f6fbff 0%,
    #f8fcff 55%,
    #fbfdff 100%) !important;
  border-top: 0 !important;
  box-shadow: none !important;
}
.footer-bottom {
  border-top-color: rgba(142, 187, 212, .24) !important;
}
/* Buttons und deren Interaktionen aus V14 bleiben unangetastet. */
@media (max-width: 780px) {
  .hero-shell::before { opacity: .06 !important; }
  .hero-shell::after { opacity: .07 !important; }
}


/* V16 – Überblicksseiten und sanfte Scrollübergänge */
.af-overview-jump{margin:2.3rem 0 2.6rem;padding:1.5rem 1.7rem;border:1px solid #dcecf4;border-radius:20px;background:rgba(255,255,255,.72)}
.af-overview-jump h2{font-size:clamp(1.215rem,1.98vw,1.62rem);margin:0 0 1rem}
.af-overview-links{display:flex;gap:.65rem;flex-wrap:wrap}
.af-overview-links a{display:inline-flex;align-items:center;gap:.55rem;text-decoration:none;color:#126795;background:#f0f8fd;border:1px solid #d7e9f3;border-radius:999px;padding:.65rem 1.05rem;font-size:.94rem;font-weight:650;transition:transform .22s,background .22s,border-color .22s}
.af-overview-links a:hover{background:#e4f3fb;border-color:#a9d4e9;transform:translateY(-2px)}
.af-overview-sections{display:grid;gap:1.5rem;margin-bottom:3rem}
.af-overview-section{scroll-margin-top:110px;background:rgba(255,255,255,.72);padding:clamp(1.3rem,3vw,2.4rem);border-radius:22px;border:1px solid #dcebf4;box-shadow:0 12px 32px rgba(37,94,134,.04)}
.af-overview-section h2{font-size:clamp(1.485rem,2.52vw,2.025rem);margin-top:0}
.af-overview-section .af-overview-content>:last-child{margin-bottom:.65rem}
.af-overview-more{display:inline-flex;gap:.5rem;align-items:center;font-weight:700;font-size:.92rem;text-decoration:none;margin-top:.65rem}
.af-overview-more:hover{text-decoration:underline}
.af-overview-section img{border-radius:12px}
.af-overview-jump a:focus-visible,.af-overview-more:focus-visible{outline:3px solid #0875b5;outline-offset:4px}
html{scroll-behavior:smooth;scroll-padding-top:100px}
/* Elements remain visible without JavaScript. JS toggles only a brief entrance animation. */
@media (prefers-reduced-motion:no-preference){
 .af-ux-reveal{opacity:0;transform:translateY(17px);transition:opacity .56s ease,transform .56s cubic-bezier(.2,.7,.2,1)}
 .af-ux-reveal.is-visible{opacity:1;transform:none}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.af-ux-reveal{opacity:1!important;transform:none!important;transition:none!important}}
@media(max-width:760px){.af-overview-jump{padding:1.1rem}.af-overview-section{scroll-margin-top:80px}}

/* V17 – Schlichte Übersichtsseiten, dauerhaft sichtbare Themennavigation */
/* overflow:hidden auf der Elternfläche hat position:sticky verhindert. */
.af-subpage-surface { overflow: visible; }
.af-subpage-surface .af-inner-layout { align-items: start; }
.af-subpage-surface .af-side-nav {
  position: sticky;
  align-self: start;
  top: 118px;
  max-height: calc(100vh - 136px);
  max-height: calc(100dvh - 136px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  z-index: 5;
}
body.admin-bar .af-subpage-surface .af-side-nav {
  top: 150px;
  max-height: calc(100vh - 168px);
  max-height: calc(100dvh - 168px);
}
@media (max-width: 1040px) {
  .af-subpage-surface .af-side-nav {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

/* V19 – coherent editorial and event presentation */
.af-subpage-surface .prose{color:#334f62;font-size:16px;line-height:1.85}
.af-subpage-surface .prose>p:first-child{font-size:1.075rem;color:#4a687c}
.af-subpage-surface .prose h2{font-size:clamp(1.395rem,2.34vw,2.025rem);margin:2rem 0 .85rem;letter-spacing:-.025em}
.af-subpage-surface .prose h3{font-size:1.17rem;margin:1.6rem 0 .6rem}
.af-subpage-surface .prose ul,.af-subpage-surface .prose ol{padding-left:1.4rem}
.af-subpage-surface .prose li{padding-left:.2rem;margin:.4rem 0}
.af-subpage-surface .prose .wp-block-file{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;border:1px solid #dbeaf3;border-radius:15px;background:#fff;padding:18px 22px;box-shadow:0 8px 30px #16486a0b;margin:12px 0}
.af-subpage-surface .prose .wp-block-file a.wp-block-file__button{background:#0875b5;color:#fff;border-radius:999px;padding:9px 20px;text-decoration:none}
.af-subpage-surface .prose .wp-block-file embed{display:none}
.afm-social{display:inline-flex;align-items:center;gap:8px;flex-shrink:0}
.afm-social a{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d3e5ef;border-radius:50%;color:#0875b5;background:#f4faff;transition:background .2s,color .2s}
.afm-social a:hover,.afm-social a:focus-visible{background:#0875b5;color:#fff}
.afm-social svg{width:17px;height:17px;fill:currentColor}
.footer .afm-social{margin-top:15px}.footer .afm-social a{background:transparent;color:inherit;border-color:currentColor}
.afm-event-card{display:grid;grid-template-columns:minmax(0,35%) minmax(0,65%);border:1px solid #d9eaf4;background:white;border-radius:22px;overflow:hidden;box-shadow:0 18px 45px #1e527014;margin:22px 0 32px;color:#365267}
.afm-event-card:not(:has(.afm-event-picture)){grid-template-columns:1fr}
.afm-event-picture{margin:0;min-height:270px;background:#e7f4fb}.afm-event-picture img{width:100%;height:100%;object-fit:cover;display:block}
.afm-event-content{padding:clamp(22px,3vw,38px)}.afm-event-card h2{font-size:clamp(1.53rem,2.7vw,2.34rem)!important;margin:0 0 13px!important;line-height:1.2}
.afm-event-tag,.afm-section-label{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#0875b5;margin-bottom:10px}
.afm-event-intro{max-width:58ch;margin:0 0 22px}.afm-event-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;border-top:1px solid #e4edf3;border-bottom:1px solid #e4edf3;padding:17px 0}
.afm-event-facts span{font-size:14px;line-height:1.5}.afm-event-facts strong{display:block;color:#142c45;font-size:12px;margin-bottom:3px}
.afm-event-recurrence{font-size:13px;color:#668096;margin:16px 0 0}.afm-event-more{display:inline-block;font-weight:750;margin-top:15px}
.afm-current-intro{font-size:17px;color:#506e80;margin-bottom:18px}
.news-grid:has(.afm-event-card){display:block}.news-grid .afm-event-card{width:100%;margin:0}
.afm-contact-layout>section{margin-bottom:30px}.afm-contact-people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.afm-contact-person,.afm-contact-address,.afm-contact-directions{border:1px solid #dbe9f3;background:white;border-radius:18px;padding:24px;box-shadow:0 12px 36px #1b4f7010}
.afm-contact-person h3{margin:5px 0 9px!important;font-size:1.305rem!important}.afm-contact-person p{font-size:14px;line-height:1.6;min-height:45px}.afm-contact-person a{font-weight:750}
.afm-contact-role{font-size:12px;color:#0875b5;font-weight:750}.afm-action-link{display:inline-flex;border-radius:999px;background:#0875b5;color:white!important;padding:11px 19px;text-decoration:none;font-weight:750}
@media(max-width:1100px){.header-inner{gap:12px}.navwrap{gap:12px}.afm-social a{width:31px;height:31px}}
@media(max-width:780px){.afm-contact-people{grid-template-columns:1fr}.afm-event-card{grid-template-columns:1fr}.afm-event-picture{min-height:185px}.afm-event-facts{grid-template-columns:1fr}.afm-contact-person p{min-height:0}}

/* V20 — definitive visual polish: typography and breathing room on Gutenberg pages */
.afm-designed-page .inner-top{padding-top:clamp(38px,6vw,80px);padding-bottom:26px}
.afm-designed-page .afm-kicker{font-size:12px;letter-spacing:.16em;font-weight:800;color:#0875b5;margin:22px 0 9px}
.afm-designed-page .inner-top h1{margin:0 0 15px;font-size:clamp(2.025rem,4.32vw,3.825rem);line-height:1.1;letter-spacing:-.035em}
.afm-designed-page .af-subpage-lead{font-size:clamp(1rem,1.5vw,1.18rem);max-width:740px;line-height:1.85}
.afm-contact-page-body,.afm-news-page-body{padding-bottom:clamp(55px,7vw,100px)}
.afm-contact-page-body .afm-contact-layout>section:first-child{margin-bottom:36px}
.afm-contact-page-body .afm-contact-layout h2{font-size:clamp(1.17rem,1.8vw,1.71rem);margin-bottom:20px}
.afm-contact-page-body .afm-contact-person{padding:clamp(22px,3vw,32px);border-color:#d7e9f2;box-shadow:0 18px 55px rgba(15,67,99,.07)}
.afm-contact-page-body .afm-contact-person h3{font-size:1.125rem!important}
.afm-contact-page-body .afm-contact-address,.afm-contact-page-body .afm-contact-directions{padding:clamp(26px,4vw,42px)}
.afm-news-page-body .afm-event-card{margin-top:0}
.af-subpage-surface .prose{font-size:1.055rem;line-height:1.86;letter-spacing:.002em}
.af-subpage-surface .prose>p:first-child{font-size:1.12rem;line-height:1.85;color:#415f72}
.af-subpage-surface .prose h2{font-size:clamp(1.305rem,2.07vw,1.8rem);margin-top:1.65em;margin-bottom:.55em;letter-spacing:-.02em;line-height:1.28}
.af-subpage-surface .prose h3{font-size:clamp(1.035rem,1.485vw,1.26rem);margin-top:1.4em;margin-bottom:.45em}
.af-subpage-surface .prose ul,.af-subpage-surface .prose ol{padding-left:1.5em;margin:18px 0 24px}
.af-subpage-surface .prose li{padding-left:.3em;margin-bottom:.55em}
.af-subpage-surface .prose blockquote{border-left:4px solid #0875b5;background:#eff7fb;padding:18px 24px;border-radius:0 12px 12px 0}
.af-subpage-surface .prose .wp-block-file{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;border:1px solid #dceaf3;border-radius:16px;padding:20px 24px;background:#fff;box-shadow:0 8px 25px #1249680a;margin:16px 0}
.af-subpage-surface .prose .wp-block-file a:first-child{font-weight:700;color:#163a55;text-decoration:none;overflow-wrap:anywhere}
.af-subpage-surface .prose .wp-block-file .wp-block-file__button{background:#0875b5;color:#fff;text-decoration:none;border-radius:999px;padding:12px 20px;white-space:nowrap}
.afm-shop-page{background:linear-gradient(180deg,#f0f8fc,#fff 420px);padding:clamp(30px,5vw,75px) 0 90px}
.afm-shop-heading{text-align:center;max-width:740px;margin:0 auto 35px}
.afm-shop-heading h1{font-size:clamp(1.8rem,4.05vw,3.285rem);letter-spacing:-.035em;line-height:1.12}
.afm-shop-heading p:not(.afm-shop-eyebrow){font-size:1.05rem;color:#5a7080;line-height:1.75}
.afm-shop-card{border:1px solid #dceaf3;border-radius:24px;background:#fff;padding:clamp(20px,4vw,48px);box-shadow:0 20px 65px #14496b13;max-width:1020px;margin:auto}
.afm-shop-card-product .woocommerce div.product{display:block!important}
.afm-shop-card-product div.product .summary{float:none!important;width:100%!important;max-width:720px;margin:0 auto!important}
.afm-shop-card-product div.product .product_title{font-size:clamp(1.35rem,2vw,1.9rem)!important;line-height:1.25}
.afm-shop-card-product div.product .price{font-size:1.55rem!important;font-weight:800;color:#0875b5!important}
.afm-shop-card-product .single_add_to_cart_button,.afm-shop-card-product .button.alt{background:#0875b5!important;border:0!important;color:#fff!important;border-radius:12px!important;padding:16px 28px!important;font-size:1rem!important;font-weight:750!important;min-height:50px;cursor:pointer}
.afm-shop-card-product .single_add_to_cart_button:hover{background:#075b8c!important}
.afm-shop-card-product input[type=text],.afm-shop-card-product input[type=date],.afm-shop-card-product select{min-height:45px;border:1px solid #bfcfdc;border-radius:9px;padding:10px 12px;background:#fff;color:#173953;max-width:100%}
.afm-shop-card-product label{color:#243f53;font-weight:650}
.afm-shop-card-product .quantity{margin-right:12px!important}
.afm-shop-card-product .product_meta,.afm-shop-card-product .related.products,.afm-shop-card-product .upsells.products{display:none!important}
.afm-shop-card-product .woocommerce-breadcrumb{font-size:.82rem;color:#647b8b;margin-bottom:22px}
.afm-social a{min-width:34px;min-height:34px}
@media(max-width:650px){.afm-shop-card{padding:22px 16px}.af-subpage-surface .prose .wp-block-file{align-items:stretch;flex-direction:column}.afm-contact-page-body .afm-contact-person{padding:24px}}

/* V21 – compact news cards, single-product shop, collage */
.afm-news-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:1120px;margin:0 auto}
.afm-news-mini{background:#fff;border:1px solid #dbeaf2;border-radius:20px;box-shadow:0 12px 30px #123c5b12;overflow:hidden;min-width:0}
.afm-news-mini-image img{height:180px;width:100%;object-fit:cover;display:block}
.afm-news-mini-placeholder{height:126px;background:linear-gradient(125deg,#d9edf7,#f6fafc);display:flex;align-items:center;justify-content:center;color:#225b78;font:600 1.25rem Georgia,serif}
.afm-news-mini-info{padding:20px}.afm-news-mini-meta{font-size:11px;font-weight:800;letter-spacing:.08em;color:#0875b5}.afm-news-mini h3{font:700 1.45rem Georgia,serif;margin:10px 0!important;color:#173752}.afm-news-mini p{margin:0 0 15px;color:#547182}.afm-news-mini a{font-weight:750;color:#086eaa}
.news-grid:has(.afm-news-mini-grid){display:block!important}.afm-news-page-body .afm-news-mini-grid{margin:0}
.afm-collage-wrap{width:min(100%,1120px);margin:30px auto 8px}.afm-collage-grid{position:relative;aspect-ratio:16/8;overflow:hidden;border-radius:22px;box-shadow:0 14px 45px #092f4926;background:#e6f2f9}.afm-collage-slide{position:absolute;inset:0;margin:0;opacity:0;transition:opacity .9s ease}.afm-collage-slide.is-active{opacity:1;z-index:1}.afm-collage-slide img{width:100%;height:100%;display:block;object-fit:cover}.afm-collage-empty{padding:35px;background:linear-gradient(110deg,#edf8fd,#dceff9);border:1px dashed #9fcfe6;border-radius:20px;text-align:center;color:#234a64}.afm-collage-empty p{margin:6px 0 0}.afm-collage-dots{display:flex;gap:6px;justify-content:center;padding:12px}.afm-collage-dots span{width:6px;height:6px;border-radius:100%;background:#a1c3d6}
.afm-price-notice{margin:0 0 24px;padding:17px 20px;background:#edf8fe;border-left:4px solid #0875b5;border-radius:12px;display:grid;gap:6px;color:#214760}.afm-price-notice strong{font-size:1.05rem}.afm-price-notice span{font-size:.88rem;line-height:1.5}
.afm-shop-card-product .woocommerce-tabs,.afm-shop-card-product #reviews,.afm-shop-card-product .woocommerce-review-link,.afm-shop-card-product .star-rating{display:none!important}
.afm-shop-card-product .summary{max-width:800px!important}.afm-shop-card-product .product_title{text-align:left}.afm-shop-heading{max-width:820px}
@media(max-width:720px){.afm-news-mini-grid{grid-template-columns:1fr}.afm-collage-grid{aspect-ratio:4/3}.afm-news-mini-image img{height:190px}}


/* V29: Kontakt-Seite, komplett im Gutenberg-Editor bearbeitbar. */
.afm-editable-contact-page .afm-contact-page-body{max-width:1120px}
.afm-contact-editable-content{max-width:1120px;margin-inline:auto}
.afm-contact-editable-content>p:first-child{font-size:clamp(1rem,1.45vw,1.17rem);line-height:1.85;max-width:770px;margin:0 0 36px;color:#506779}
.afm-contact-editable-content>.wp-block-group{margin:0 0 27px;padding:clamp(23px,3vw,38px);border:1px solid #d7e9f2;border-radius:19px;background:#fff;box-shadow:0 18px 55px rgba(15,67,99,.055)}
.afm-contact-editable-content>.wp-block-group h2{font-family:"Playfair Display",Georgia,serif;color:#152a3d;font-size:clamp(1.26rem,1.8vw,1.71rem);margin:0 0 20px}
.afm-contact-editable-people>p{display:block;padding:17px 20px;border:1px solid #e2edf4;border-radius:13px;background:#fbfdff;margin:0!important;line-height:1.75}
.afm-contact-editable-people{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;align-items:stretch}
.afm-contact-editable-people>h2{grid-column:1/-1}
.afm-contact-editable-people>p strong{color:#152a3d;font-size:1.13rem}
.afm-contact-editable-people>p em{color:#0875b5;font-size:.9rem;font-style:normal;font-weight:700}
.afm-contact-editable-address>p,.afm-contact-editable-directions>p{line-height:1.8;margin-bottom:12px}
.afm-contact-editable-content a{color:#0875b5}
.afm-contact-editable-directions a{display:inline-flex;border-radius:999px;background:#0875b5;color:#fff!important;padding:11px 19px;text-decoration:none;font-weight:700}
@media(max-width:860px){.afm-contact-editable-people{grid-template-columns:1fr}.afm-contact-editable-people>h2{grid-column:auto}}


/* V32 – Rückkehr zu V30, vereinheitlicht nach der Fischerkarten-Vorlage.
   Keine globalen Vollbreitenregeln aus V31. Alle regulären Unterseiten
   behalten den V30-Rahmen und das bestehende Gutenberg-Layout. */
.af-subpage-surface .af-inner-layout.af-no-sidebar {
  display:grid;
  grid-template-columns:minmax(0,1fr);
}
.af-subpage-surface .af-inner-layout.af-no-sidebar > .prose {
  width:100%;
  max-width:none;
  margin:0;
  text-align:left;
}
/* Kontakt wieder mit fester, linksbündiger Inhaltsbreite wie besprochen.
   Der gesamte Inhaltsblock bleibt auf großen Bildschirmen ca. 29 cm breit,
   mobil aber selbstverständlich voll responsiv. */
.afm-editable-contact-page .afm-contact-editable-content {
  width:min(100%, 29cm);
  max-width:29cm;
  margin-inline:0;
}
.afm-editable-contact-page .afm-contact-editable-content > .wp-block-group,
.afm-editable-contact-page .afm-contact-editable-content > p,
.afm-editable-contact-page .afm-contact-editable-content > .wp-block-columns,
.afm-editable-contact-page .afm-contact-editable-content > .wp-block-heading {
  max-width:100%;
}
/* Die Download-Blöcke werden ausschließlich über Gutenberg verwaltet. */
.af-subpage-surface .wp-block-file {max-width:100%}
@media(max-width:790px){
 .af-subpage-surface .af-inner-layout.af-no-sidebar {display:block}
}


/* V33 – Downloads: gleicher Inhaltsrahmen wie Kontakt/Fischerkarten.
   Gutenberg-Dateiblöcke bleiben vollständig im Seiteneditor bearbeitbar. */
.afm-editable-downloads-page .afm-downloads-editable-content {
  width:100%;max-width:none;margin:0;text-align:left;
}
.afm-downloads-editable-content > .wp-block-file {
  box-sizing:border-box;
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:12px 20px;
  margin:0 0 16px;padding:20px 24px;
  background:#fbfdff;border:1px solid #dcecf4;border-radius:15px;
  box-shadow:0 7px 22px rgba(15,67,99,.035);
}
.afm-downloads-editable-content > .wp-block-file > a:not(.wp-block-file__button) {
  flex:1 1 240px;overflow-wrap:anywhere;
  color:#152a3d;font-weight:700;text-decoration:none;
}
.afm-downloads-editable-content > .wp-block-file > a:not(.wp-block-file__button):hover {color:#0875b5}
.afm-downloads-editable-content .wp-block-file .wp-block-file__button,
.afm-downloads-editable-content .wp-block-file a.wp-block-file__button {
  display:inline-flex;align-items:center;justify-content:center;
  margin:0;padding:11px 20px;border:0;border-radius:999px;
  background:#0875b5;color:#fff!important;font-size:14px;font-weight:700;
  text-decoration:none;white-space:nowrap;
}
.afm-downloads-editable-content .wp-block-file .wp-block-file__button:hover {background:#075a91}
.afm-downloads-editable-content .wp-block-file object,
.afm-downloads-editable-content .wp-block-file iframe {max-width:100%}
@media(max-width:600px){
  .afm-downloads-editable-content > .wp-block-file {padding:18px 16px}
  .afm-downloads-editable-content .wp-block-file .wp-block-file__button {width:100%}
}

/* V50: Editable kicker keeps the category-page heading appearance. */
.afm-v50-kicker-wrap p.afm-v50-kicker {font-size:11px;font-weight:800;letter-spacing:.17em;text-transform:uppercase;color:#477c9d;margin:0 0 8px}
.afm-v49-editor-intro p {margin-top:0}

/* V94.2.25 – Einzelbeiträge und Veranstaltungen wie Kontakt über die volle Inhaltsbreite. */

.afm-detail-wide .inner-page.af-no-sidebar>.afm-detail-article{width:100%;max-width:none;min-width:0;margin:0;padding:clamp(22px,3vw,46px);box-sizing:border-box;}
.afm-detail-wide .afm-detail-columns{display:grid;grid-template-columns:minmax(0, .95fr) minmax(0, 1.05fr);align-items:start;gap:clamp(24px,3.5vw,55px);}
.afm-detail-wide .afm-detail-picture,.afm-detail-wide .afm-detail-copy{min-width:0;}
.afm-detail-wide .afm-detail-picture .post-image{display:block;width:100%;height:auto;max-width:none;margin:0;object-fit:contain;border-radius:16px;}
.afm-detail-wide .afm-detail-copy>.afm-v24-event-detail{margin-top:0;}
.afm-detail-wide .afm-detail-copy>p:first-child{margin-top:0;}
.afm-detail-wide .afm-detail-copy .afm-detail-return{margin-top:26px;}
.afm-detail-wide .afm-detail-no-image{grid-template-columns:minmax(0,1fr);}
@media(max-width:800px){.afm-detail-wide .afm-detail-columns{grid-template-columns:minmax(0,1fr);gap:24px;}}

/* 94.2.59 – Warenkorb und Kasse: gleicher visueller Rhythmus wie die Fischerkarte-Formulare. */
body.woocommerce-cart .woocommerce,body.woocommerce-checkout .woocommerce{color:#234357;font-size:16px}
body.woocommerce-cart .woocommerce-cart-form,body.woocommerce-cart .cart_totals,
body.woocommerce-cart .cart_totals{margin:28px 0 0;max-width:none;float:none!important;width:100%!important;clear:both}
body.woocommerce-cart .cart_totals h2{font-size:1.305rem;margin:0 0 18px}
body.woocommerce-cart .cart_totals .wc-proceed-to-checkout{padding:16px 0 0!important}
body.woocommerce-cart .cart_totals .checkout-button,
body.woocommerce-checkout #place_order{display:block;width:100%;min-height:56px;line-height:1.4;border:0;border-radius:13px;background:#0875b5!important;color:#fff!important;font-size:1.05rem;font-weight:750;padding:15px 22px;text-align:center;text-decoration:none;box-shadow:none}
body.woocommerce-cart .cart_totals .checkout-button:hover,body.woocommerce-checkout #place_order:hover{background:#075b8c!important}
body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"],body.woocommerce-cart .woocommerce-cart-form input[name="update_cart"]{display:none!important}
body.woocommerce-cart .woocommerce-cart-form .actions{padding:30px 16px 20px!important;border:0!important}
body.woocommerce-cart .woocommerce-cart-form table.shop_table,body.woocommerce-checkout table.shop_table{border-collapse:separate;border-spacing:0;border:0;width:100%}
body.woocommerce-cart .woocommerce-cart-form table.shop_table td,body.woocommerce-cart .woocommerce-cart-form table.shop_table th,
body.woocommerce-checkout table.shop_table td,body.woocommerce-checkout table.shop_table th{padding:16px 12px;border-color:#e1edf4;text-align:left}
body.woocommerce-cart .woocommerce .product-name dl.variation,body.woocommerce-checkout .woocommerce .product-name dl.variation{display:grid;grid-template-columns:minmax(115px,auto) minmax(0,1fr);gap:4px 13px;margin-top:12px;font-size:.94rem;line-height:1.6}
body.woocommerce-cart dl.variation dt,body.woocommerce-checkout dl.variation dt{font-weight:700;color:#25465b;float:none!important;clear:both!important}
body.woocommerce-cart dl.variation dd,body.woocommerce-checkout dl.variation dd{margin:0!important;float:none!important}
body.woocommerce-cart dl.variation dd p,body.woocommerce-checkout dl.variation dd p{margin:0}
@media(max-width:700px){body.woocommerce-cart .woocommerce-cart-form,body.woocommerce-cart .cart_totals,body.woocommerce-checkout .woocommerce-billing-fields,body.woocommerce-checkout #order_review{padding:16px}body.woocommerce-cart .woocommerce .product-name dl.variation,body.woocommerce-checkout .woocommerce .product-name dl.variation{grid-template-columns:1fr;gap:0}}

/* 94.2.60 – Shared cart, checkout and ticket confirmation refinements */
body.woocommerce-cart .return-to-shop .button{background:#0875b5!important;color:#fff!important;border-radius:12px!important;min-height:50px;padding:13px 26px!important;transition:transform .2s,background .2s,box-shadow .2s}
body.woocommerce-cart .return-to-shop .button:hover{background:#075b8c!important;transform:translateY(-3px);box-shadow:0 8px 22px #116eaa33}
body.woocommerce-checkout #place_order{position:relative;transition:transform .2s,background .2s}
body.woocommerce-checkout #place_order.afes-loading{pointer-events:none;opacity:.78;padding-right:53px!important}
body.woocommerce-checkout #place_order.afes-loading::after{content:"";position:absolute;right:21px;top:calc(50% - 10px);width:20px;height:20px;border:3px solid #ffffff6b;border-top-color:#fff;border-radius:50%;animation:afes-spin .7s linear infinite}
@keyframes afes-spin{to{transform:rotate(360deg)}}
body.woocommerce-cart .product-name>a,body.woocommerce-checkout .product-name>a,body.woocommerce-order-received .woocommerce-order-details .product-name a{color:#173953!important;text-decoration:none!important;pointer-events:none}
body.woocommerce-cart .product-name>a:hover,body.woocommerce-checkout .product-name>a:hover{color:#173953!important;text-decoration:none!important}
body.woocommerce-order-received .afj-thankyou-cards{background:#fff;padding:24px;border:1px solid #ddd;margin:20px 0}
body.woocommerce-order-received .afj-thankyou-cards .button{display:inline-block;margin:5px 3px 0 0;padding:10px 14px;border-radius:6px;background:#e8e6ec;color:#0073aa;text-decoration:none}
/* Align heading to the same horizontal content edge on centered shop pages */
body.page .af-subpage-surface.af-no-sidepanel .inner-top{max-width:1020px!important;margin-left:auto!important;margin-right:auto!important}
@media(max-width:700px){body.woocommerce-cart .woocommerce-cart-form .coupon{display:flex!important}}

/* 94.2.71 – Bestelldetails: Produktname und Kartendaten bündig ausrichten. */
body.woocommerce-order-received .woocommerce-order-details table.woocommerce-table--order-details td.woocommerce-table__product-name,
body.woocommerce-order-received .woocommerce-order-details table.shop_table td.product-name {
  text-align:left;
}
body.woocommerce-order-received .woocommerce-order-details .wc-item-meta,
body.woocommerce-order-received .woocommerce-order-details ul.wc-item-meta {
  margin:12px 0 0!important;
  padding:0!important;
  list-style:none!important;
  width:100%;
}
body.woocommerce-order-received .woocommerce-order-details .wc-item-meta li {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  column-gap:5px;
  margin:0 0 7px!important;
  padding:0!important;
  text-indent:0!important;
  list-style:none!important;
}
body.woocommerce-order-received .woocommerce-order-details .wc-item-meta li::before {
  display:none!important;
  content:none!important;
}
body.woocommerce-order-received .woocommerce-order-details .wc-item-meta li strong,
body.woocommerce-order-received .woocommerce-order-details .wc-item-meta li p {
  display:inline;
  margin:0!important;
  padding:0!important;
  float:none!important;
  line-height:1.5;
}


/* 94.2.81 – Fischerkartenverkauf: Seitentitel und weiße Inhaltsbox auf
   derselben linken Fluchtlinie, auch nach dem Checkout. */
body.woocommerce-cart .af-subpage-surface .inner-top,
body.woocommerce-cart .af-subpage-surface .inner-page,
body.woocommerce-checkout .af-subpage-surface .inner-top,
body.woocommerce-checkout .af-subpage-surface .inner-page {
  width:min(calc(100% - 36px), 1020px)!important;
  max-width:1020px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.woocommerce-cart .af-subpage-surface .inner-page.af-no-sidebar,
body.woocommerce-checkout .af-subpage-surface .inner-page.af-no-sidebar {display:block!important;}
body.woocommerce-cart .af-subpage-surface .inner-page .prose,
body.woocommerce-checkout .af-subpage-surface .inner-page .prose {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-inline:0!important;
}
/* Die Produktüberschrift orientiert sich an der mittig stehenden Produktbox. */
body.single-product .afm-shop-page .afm-shop-heading {
  width:100%;
  max-width:940px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-inline:0;
  text-align:left!important;
}
/* Bestelldetails: Name und Metadaten ohne eingerückte Liste. */
body.woocommerce-order-received .woocommerce-order-details .product-name > a,
body.woocommerce-order-received .woocommerce-order-details .product-name > strong {margin-left:0!important;padding-left:0!important;}
body.woocommerce-order-received .woocommerce-order-details .product-name ul.wc-item-meta,
body.woocommerce-order-received .woocommerce-order-details .product-name .wc-item-meta,
body.woocommerce-order-received .woocommerce-order-details .product-name dl.variation {
  display:block!important;
  margin:12px 0 0 0!important;
  padding:0!important;
  list-style:none!important;
  text-align:left!important;
}
body.woocommerce-order-received .woocommerce-order-details .product-name ul.wc-item-meta > li,
body.woocommerce-order-received .woocommerce-order-details .product-name .wc-item-meta > li {
  display:block!important;
  margin:0 0 6px 0!important;
  padding:0!important;
  text-indent:0!important;
  list-style:none!important;
}
body.woocommerce-order-received .woocommerce-order-details .product-name .wc-item-meta > li > strong,
body.woocommerce-order-received .woocommerce-order-details .product-name .wc-item-meta > li > p {
  display:inline!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
}
body.woocommerce-order-received .woocommerce-order-details .product-name dl.variation dt,
body.woocommerce-order-received .woocommerce-order-details .product-name dl.variation dd {
  display:inline!important;
  float:none!important;
  margin:0!important;
  padding:0!important;
}
body.woocommerce-order-received .woocommerce-order-details .product-name dl.variation dd::after {content:"";display:block;}
@media(max-width:700px){
  body.woocommerce-cart .af-subpage-surface .inner-top,
  body.woocommerce-cart .af-subpage-surface .inner-page,
  body.woocommerce-checkout .af-subpage-surface .inner-top,
  body.woocommerce-checkout .af-subpage-surface .inner-page {width:calc(100% - 28px)!important;}
}
