/*
Theme Name: Rudersdorf Dental Premium
Theme URI: https://www.zahnarztpraxis-rudersdorf.de/
Author: OpenAI
Description: Warmes, hochwertiges und vollständig über den WordPress-Customizer anpassbares Theme für die Zahnarztpraxis Rudersdorf.
Version: 2.4.4
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: rudersdorf-dental
*/
:root{--rd-cream:#f8f4ee;--rd-sand:#e9ddcf;--rd-terracotta:#a9684f;--rd-ink:#343b39;--rd-muted:#6c7470;--rd-green:#526b5d;--rd-white:#fff;--rd-radius:22px;--rd-shadow:0 18px 55px rgba(56,45,35,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--rd-cream);color:var(--rd-ink);font-family:var(--rd-body,Arial,sans-serif);font-size:17px;line-height:1.7}a{color:var(--rd-green);text-decoration:none}a:hover{color:var(--rd-terracotta)}img{max-width:100%;height:auto}button,input,textarea,select{font:inherit}.wrap{width:min(1160px,calc(100% - 40px));margin-inline:auto}.topbar{background:var(--rd-green);color:#fff;font-size:13px;padding:8px 0}.topbar .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.site-header{background:rgba(255,255,255,.94);position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(70,70,60,.08);backdrop-filter:blur(12px)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:88px}.brand{display:flex;align-items:center;gap:14px;min-width:0}.custom-logo{max-height:66px;width:auto}.brand-text{font-family:var(--rd-heading,Georgia,serif);font-size:23px;line-height:1.15;font-weight:700;color:var(--rd-ink)}.brand-tagline{display:block;font:12px/1.4 var(--rd-body,Arial,sans-serif);letter-spacing:.08em;text-transform:uppercase;color:var(--rd-muted);margin-top:5px}.main-nav ul{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}.main-nav a{font-size:14px;font-weight:600}.header-cta,.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--rd-terracotta);color:white;padding:13px 20px;border-radius:999px;font-weight:700;font-size:14px;border:1px solid transparent;transition:.2s}.header-cta:hover,.button:hover{background:var(--rd-green);color:#fff;transform:translateY(-1px)}.button.outline{background:transparent;color:var(--rd-green);border-color:var(--rd-green)}.button.outline:hover{background:var(--rd-green);color:white}.hero{padding:76px 0 82px;overflow:hidden;background:radial-gradient(ellipse at 85% 25%,rgba(233,221,207,.72),transparent 40%),var(--rd-cream)}.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:60px}.eyebrow{display:inline-flex;align-items:center;gap:9px;color:var(--rd-terracotta);text-transform:uppercase;letter-spacing:.15em;font-size:12px;font-weight:800;margin-bottom:18px}.eyebrow:before{content:"";width:27px;height:1px;background:currentColor}.hero h1,.section-heading h2{font-family:var(--rd-heading,Georgia,serif);font-weight:500;letter-spacing:-.035em;line-height:1.08;margin:0 0 24px}.hero h1{font-size:clamp(42px,5.3vw,70px);max-width:650px}.hero p{font-size:18px;color:var(--rd-muted);max-width:580px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.hero-visual{height:clamp(300px,38vw,470px);min-height:0;aspect-ratio:1 / 1;border-radius:48% 48% 22px 22px;background:linear-gradient(145deg,rgba(255,255,255,.3),rgba(82,107,93,.12)),var(--rd-sand);position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:var(--rd-shadow)}.hero-visual img{display:block;width:100%;height:100%;min-height:0;object-fit:cover;object-position:center;position:absolute;inset:0}.visual-placeholder{width:72%;height:72%;border:1px solid rgba(82,107,93,.3);border-radius:50%;display:flex;align-items:center;justify-content:center;text-align:center;color:var(--rd-green);font-family:var(--rd-heading,Georgia,serif);font-size:25px;padding:30px;background:rgba(248,244,238,.55)}.trust-strip{background:#fff;padding:22px 0;border-block:1px solid rgba(70,70,60,.07)}.trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.trust-item{display:flex;gap:13px;align-items:center;justify-content:center;color:var(--rd-ink);font-weight:700;font-size:14px}.trust-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--rd-cream);color:var(--rd-terracotta);font-size:20px}.section{padding:88px 0}.section.white{background:#fff}.section-heading{text-align:center;max-width:720px;margin:0 auto 44px}.section-heading h2{font-size:clamp(34px,4vw,50px)}.section-heading p{color:var(--rd-muted);margin:0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:#fff;border-radius:var(--rd-radius);padding:30px;box-shadow:var(--rd-shadow);border:1px solid rgba(80,70,60,.06)}.section.white .card{background:var(--rd-cream)}.card-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:17px;background:var(--rd-sand);color:var(--rd-green);font-size:24px;margin-bottom:20px}.card h3{font-family:var(--rd-heading,Georgia,serif);font-size:24px;font-weight:500;margin:0 0 10px}.card p{color:var(--rd-muted);font-size:15px;margin:0 0 15px}.text-link{font-size:14px;font-weight:800;color:var(--rd-terracotta)}.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:64px;align-items:center}.about-art{height:clamp(280px,34vw,430px);min-height:0;aspect-ratio:4 / 3;border-radius:var(--rd-radius);background:linear-gradient(135deg,var(--rd-sand),#f3eae0);display:grid;place-items:center;position:relative;overflow:hidden}.about-art img{display:block;width:100%;height:100%;min-height:0;object-fit:cover;object-position:center;position:absolute;inset:0}.about-art span{font-family:var(--rd-heading,Georgia,serif);font-size:30px;color:var(--rd-green);padding:30px;text-align:center}.about-copy h2{font-family:var(--rd-heading,Georgia,serif);font-size:clamp(34px,4vw,48px);font-weight:500;line-height:1.12;margin:0 0 22px}.about-copy p{color:var(--rd-muted)}.check-list{list-style:none;padding:0;margin:25px 0}.check-list li{margin:11px 0;padding-left:30px;position:relative}.check-list li:before{content:"✓";position:absolute;left:0;top:0;color:var(--rd-terracotta);font-weight:900}.quote-band{background:var(--rd-green);color:#fff;padding:65px 0}.quote-inner{max-width:850px;text-align:center;margin:auto}.quote-inner blockquote{font-family:var(--rd-heading,Georgia,serif);font-size:clamp(25px,3.5vw,40px);line-height:1.3;margin:0 0 18px}.quote-inner p{opacity:.8;margin:0}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.contact-card{background:#fff;border-radius:var(--rd-radius);padding:32px;box-shadow:var(--rd-shadow)}.contact-card h3{font-family:var(--rd-heading,Georgia,serif);font-size:27px;margin:0 0 20px}.contact-row{padding:13px 0;border-bottom:1px solid #eee7df}.contact-row:last-child{border-bottom:0}.contact-row strong{display:block;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--rd-muted)}.contact-row span,.contact-row a{font-size:16px}.cta-band{padding:58px 0;background:var(--rd-sand)}.cta-inner{display:flex;justify-content:space-between;align-items:center;gap:30px}.cta-inner h2{font:500 clamp(28px,3vw,40px)/1.15 var(--rd-heading,Georgia,serif);margin:0 0 8px}.cta-inner p{margin:0;color:var(--rd-muted)}.site-footer{background:#2f3934;color:#f8f4ee;padding:48px 0 24px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:35px}.site-footer h3{font:500 23px var(--rd-heading,Georgia,serif);margin:0 0 15px}.site-footer p,.site-footer a{color:rgba(255,255,255,.75);font-size:14px}.footer-bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:32px;padding-top:18px;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:12px;color:rgba(255,255,255,.65)}.mobile-menu{display:none}.page-content{padding:60px 0;min-height:50vh}.page-content article{max-width:850px;margin:auto}.page-content h1,.page-content h2{font-family:var(--rd-heading,Georgia,serif);font-weight:500}.entry-title{font-size:clamp(36px,5vw,56px)}.nav-links{margin-top:30px}.screen-reader-text{position:absolute;left:-9999px}.screen-reader-text:focus{left:10px;top:10px;background:#fff;padding:10px;z-index:100}
@media(max-width:900px){.main-nav{display:none}.mobile-menu{display:inline-flex;border:1px solid #ddd;background:#fff;border-radius:99px;padding:10px 14px;color:var(--rd-ink)}.header-cta{display:none}.hero-grid,.about-grid,.contact-grid{grid-template-columns:1fr}.hero{padding:50px 0}.hero-visual{height:330px;min-height:0}.hero-visual img{height:100%;min-height:0}.cards{grid-template-columns:repeat(2,1fr)}.about-grid{gap:30px}.trust-grid{grid-template-columns:1fr}.trust-item{justify-content:flex-start}.footer-grid{grid-template-columns:1fr 1fr}.cta-inner{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.wrap{width:min(100% - 28px,1160px)}.header-inner{min-height:74px}.brand-text{font-size:19px}.custom-logo{max-height:52px}.hero h1{font-size:43px}.hero-visual{height:260px;min-height:0}.hero-visual img{height:100%;min-height:0}.section{padding:62px 0}.cards,.footer-grid{grid-template-columns:1fr}.card{padding:24px}.contact-card{padding:24px}.topbar .wrap{font-size:11px}}

/* Responsive Bildcontainer: Bildfläche füllen, ohne das Layout aufzubrechen. */
.hero-visual img,.about-art img{max-width:none}
@media (max-width:900px){.about-art{height:340px}}
@media (max-width:560px){.about-art{height:280px}}

/* v1.3.0: Header-Logo responsiv einpassen, ohne es abzuschneiden oder zu vergrößern. */
.site-header .brand{min-width:0;flex-shrink:1}
.site-header .brand .custom-logo-link{display:flex;align-items:center;justify-content:center;flex:0 0 auto;max-width:180px;max-height:68px;overflow:hidden}
.site-header .brand img.custom-logo{display:block;width:auto!important;height:auto!important;max-width:180px!important;max-height:64px!important;object-fit:contain!important;object-position:center}
.site-header .brand .custom-logo-link img{width:auto!important;height:auto!important;max-width:180px!important;max-height:64px!important;object-fit:contain!important}
@media(max-width:900px){
 .site-header .brand .custom-logo-link{max-width:125px;max-height:54px}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{max-width:125px!important;max-height:50px!important}
}
@media(max-width:560px){
 .site-header .brand .custom-logo-link{max-width:92px;max-height:44px}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{max-width:92px!important;max-height:42px!important}
}

/* v1.4.0: Mehr Platz im Header und größeres, gut sichtbares Praxislogo. */
.site-header .header-inner{min-height:112px}
.site-header .brand{gap:18px}
.site-header .brand .custom-logo-link{max-width:200px;max-height:88px}
.site-header .brand img.custom-logo,
.site-header .brand .custom-logo-link img{max-width:200px!important;max-height:88px!important;width:auto!important;height:auto!important;object-fit:contain!important}
.site-header .brand-text{font-size:24px}
@media(max-width:900px){
 .site-header .header-inner{min-height:94px}
 .site-header .brand .custom-logo-link{max-width:150px;max-height:68px}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{max-width:150px!important;max-height:68px!important}
}
@media(max-width:560px){
 .site-header .header-inner{min-height:82px}
 .site-header .brand .custom-logo-link{max-width:110px;max-height:54px}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{max-width:110px!important;max-height:54px!important}
 .site-header .brand-text{font-size:17px}
 .site-header .brand-tagline{font-size:10px}
}

/* Version 1.5.0: Logo im Header sichtbar vergrößern und Inhaltsraster korrigieren. */
.site-header .header-inner{
  min-height:132px;
  gap:24px;
}
.site-header .brand{
  display:flex;
  align-items:center;
  gap:18px;
  flex:0 1 auto;
  min-width:0;
  max-width:52%;
}
.site-header .brand .custom-logo-link{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 200px;
  width:200px;
  max-width:200px;
  height:112px;
  max-height:112px;
  overflow:visible;
}
.site-header .brand img.custom-logo,
.site-header .brand .custom-logo-link img{
  display:block;
  width:200px!important;
  max-width:200px!important;
  height:112px!important;
  max-height:112px!important;
  object-fit:contain!important;
  object-position:center;
}
.site-header .brand-text{font-size:23px;line-height:1.2}
.site-header .brand-tagline{font-size:11px;line-height:1.4}
.site-header .main-nav{flex:1 1 auto;min-width:0}
.site-header .main-nav ul{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
.site-header .header-cta{flex:0 0 auto}

/* Verhindert, dass Bild und Text im Praxisbereich ineinanderrutschen. */
.about-grid{
  display:grid;
  grid-template-columns:minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap:48px;
  align-items:center;
}
.about-art,.about-copy{min-width:0;width:100%}
.about-art{height:clamp(300px,34vw,430px)}
.about-art img{width:100%;height:100%;object-fit:cover;object-position:center}
.about-copy h2,.about-copy p,.about-copy ul{max-width:100%;overflow-wrap:break-word}

@media(max-width:1100px){
 .site-header .header-inner{gap:14px;min-height:112px}
 .site-header .brand{max-width:48%;gap:12px}
 .site-header .brand .custom-logo-link{flex-basis:150px;width:150px;max-width:150px;height:90px;max-height:90px}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:150px!important;max-width:150px!important;height:90px!important;max-height:90px!important}
 .site-header .brand-text{font-size:20px}
 .site-header .main-nav ul{gap:10px}
}
@media(max-width:900px){
 .site-header .header-inner{min-height:100px;flex-wrap:wrap;padding-block:10px}
 .site-header .brand{max-width:calc(100% - 90px);flex:1 1 auto}
 .site-header .brand .custom-logo-link{flex-basis:120px;width:120px;max-width:120px;height:78px;max-height:78px}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:120px!important;max-width:120px!important;height:78px!important;max-height:78px!important}
 .site-header .brand-text{font-size:19px}
 .site-header .main-nav,.site-header .header-cta{display:none}
 .site-header .mobile-menu{display:inline-flex}
 .about-grid{grid-template-columns:minmax(0,1fr);gap:30px}
 .about-art{height:340px}
}
@media(max-width:560px){
 .site-header .header-inner{min-height:86px;gap:8px}
 .site-header .brand{max-width:calc(100% - 74px);gap:9px}
 .site-header .brand .custom-logo-link{flex-basis:78px;width:78px;max-width:78px;height:62px;max-height:62px}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:78px!important;max-width:78px!important;height:62px!important;max-height:62px!important}
 .site-header .brand-text{font-size:16px}
 .site-header .brand-tagline{font-size:9px}
 .about-art{height:280px}
}

/* Version 1.6.0: Praxislogo und Praxisname im Desktop-Header deutlich besser lesbar. */
.site-header .header-inner{
  min-height:148px;
  padding-top:16px;
  padding-bottom:16px;
  gap:22px;
}
.site-header .brand{
  flex:0 1 48%;
  max-width:48%;
  gap:20px;
  align-items:center;
}
.site-header .brand .custom-logo-link{
  flex:0 0 230px;
  width:230px;
  max-width:230px;
  height:116px;
  max-height:116px;
}
.site-header .brand img.custom-logo,
.site-header .brand .custom-logo-link img{
  display:block;
  width:230px!important;
  max-width:230px!important;
  height:116px!important;
  max-height:116px!important;
  object-fit:contain!important;
  object-position:center;
}
.site-header .brand-text{
  font-size:27px!important;
  line-height:1.18;
  letter-spacing:-.35px;
}
.site-header .brand-tagline{
  font-size:12px!important;
  line-height:1.4;
  margin-top:5px;
  letter-spacing:.08em;
}
.site-header .main-nav{flex:1 1 auto;min-width:0}
.site-header .main-nav ul{gap:12px}
.site-header .header-cta{white-space:nowrap}

/* Logo-Schrift in der Originalgrafik nicht beschneiden; Größe auf kleinen Displays staffeln. */
@media(max-width:1200px){
 .site-header .header-inner{gap:14px;min-height:130px}
 .site-header .brand{flex-basis:46%;max-width:46%;gap:12px}
 .site-header .brand .custom-logo-link{flex-basis:170px;width:170px;max-width:170px;height:96px;max-height:96px}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:170px!important;max-width:170px!important;height:96px!important;max-height:96px!important}
 .site-header .brand-text{font-size:22px!important}
 .site-header .main-nav ul{gap:8px}
}
@media(max-width:900px){
 .site-header .header-inner{min-height:104px;padding-top:8px;padding-bottom:8px}
 .site-header .brand{flex:1 1 auto;max-width:calc(100% - 80px);gap:12px}
 .site-header .brand .custom-logo-link{flex:0 0 130px;width:130px;max-width:130px;height:78px;max-height:78px}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:130px!important;max-width:130px!important;height:78px!important;max-height:78px!important}
 .site-header .brand-text{font-size:21px!important}
}
@media(max-width:560px){
 .site-header .header-inner{min-height:88px;gap:8px}
 .site-header .brand{max-width:calc(100% - 64px);gap:8px}
 .site-header .brand .custom-logo-link{flex:0 0 82px;width:82px;max-width:82px;height:62px;max-height:62px}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:82px!important;max-width:82px!important;height:62px!important;max-height:62px!important}
 .site-header .brand-text{font-size:16px!important;letter-spacing:-.2px}
 .site-header .brand-tagline{font-size:9px!important}
}

/* Version 1.7.0: Logo größer, Praxisname bewusst kleiner. */
.site-header .header-inner{
  min-height:148px;
  gap:22px;
}
.site-header .brand{
  flex:0 1 48%;
  max-width:48%;
  gap:16px;
  align-items:center;
}
.site-header .brand .custom-logo-link{
  flex:0 0 250px;
  width:250px;
  max-width:250px;
  height:124px;
  max-height:124px;
}
.site-header .brand img.custom-logo,
.site-header .brand .custom-logo-link img{
  display:block;
  width:250px!important;
  max-width:250px!important;
  height:124px!important;
  max-height:124px!important;
  object-fit:contain!important;
  object-position:center;
}
.site-header .brand-text{
  font-size:20px!important;
  line-height:1.2;
  letter-spacing:-.25px;
}
.site-header .brand-tagline{
  font-size:10px!important;
  line-height:1.35;
  margin-top:4px;
  letter-spacing:.07em;
}
.site-header .main-nav{flex:1 1 auto;min-width:0}
.site-header .main-nav ul{gap:10px}
.site-header .header-cta{white-space:nowrap}

@media(max-width:1200px){
 .site-header .header-inner{gap:12px;min-height:130px}
 .site-header .brand{flex-basis:46%;max-width:46%;gap:10px}
 .site-header .brand .custom-logo-link{flex-basis:200px;width:200px;max-width:200px;height:100px;max-height:100px}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:200px!important;max-width:200px!important;height:100px!important;max-height:100px!important}
 .site-header .brand-text{font-size:18px!important}
 .site-header .main-nav ul{gap:7px}
}
@media(max-width:900px){
 .site-header .header-inner{min-height:104px;padding-top:8px;padding-bottom:8px}
 .site-header .brand{flex:1 1 auto;max-width:calc(100% - 80px);gap:10px}
 .site-header .brand .custom-logo-link{flex:0 0 150px;width:150px;max-width:150px;height:82px;max-height:82px}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:150px!important;max-width:150px!important;height:82px!important;max-height:82px!important}
 .site-header .brand-text{font-size:17px!important}
 .site-header .brand-tagline{font-size:9px!important}
}
@media(max-width:560px){
 .site-header .header-inner{min-height:88px;gap:8px}
 .site-header .brand{max-width:calc(100% - 64px);gap:7px}
 .site-header .brand .custom-logo-link{flex:0 0 100px;width:100px;max-width:100px;height:64px;max-height:64px}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:100px!important;max-width:100px!important;height:64px!important;max-height:64px!important}
 .site-header .brand-text{font-size:14px!important;letter-spacing:-.2px}
 .site-header .brand-tagline{font-size:8px!important}
}

/* Version 1.8.0: Im Header nur das Praxislogo groß darstellen; Textmarke ausblenden. */
.site-header .header-inner{
  min-height:180px!important;
  gap:24px;
}
.site-header .brand{
  flex:0 0 270px!important;
  width:270px;
  max-width:270px!important;
  min-width:270px;
  gap:0!important;
  justify-content:flex-start;
}
.site-header .brand .custom-logo-link{
  display:flex!important;
  flex:0 0 250px!important;
  width:250px!important;
  max-width:250px!important;
  height:250px!important;
  max-height:250px!important;
  align-items:center;
  justify-content:center;
  overflow:visible!important;
}
.site-header .brand img.custom-logo,
.site-header .brand .custom-logo-link img{
  display:block!important;
  width:250px!important;
  max-width:250px!important;
  height:250px!important;
  max-height:250px!important;
  object-fit:contain!important;
  object-position:center!important;
}
.site-header .brand-text,
.site-header .brand-name,
.site-header .brand-tagline{
  display:none!important;
}
.site-header .main-nav{flex:1 1 auto;min-width:0}
.site-header .main-nav ul{gap:12px;justify-content:center}
.site-header .header-cta{flex:0 0 auto;white-space:nowrap}

@media(max-width:1200px){
 .site-header .header-inner{min-height:160px!important;gap:12px}
 .site-header .brand{flex:0 0 210px!important;width:210px;max-width:210px!important;min-width:210px}
 .site-header .brand .custom-logo-link{flex-basis:200px!important;width:200px!important;max-width:200px!important;height:200px!important;max-height:200px!important}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:200px!important;max-width:200px!important;height:200px!important;max-height:200px!important}
 .site-header .main-nav ul{gap:8px}
}
@media(max-width:900px){
 .site-header .header-inner{min-height:120px!important;padding-top:8px;padding-bottom:8px}
 .site-header .brand{flex:0 0 140px!important;width:140px;max-width:140px!important;min-width:140px}
 .site-header .brand .custom-logo-link{flex-basis:130px!important;width:130px!important;max-width:130px!important;height:130px!important;max-height:130px!important}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:130px!important;max-width:130px!important;height:130px!important;max-height:130px!important}
 .site-header .main-nav,.site-header .header-cta{display:none}
 .site-header .mobile-menu{display:inline-flex}
}
@media(max-width:560px){
 .site-header .header-inner{min-height:100px!important;gap:6px}
 .site-header .brand{flex:0 0 104px!important;width:104px;max-width:104px!important;min-width:104px}
 .site-header .brand .custom-logo-link{flex-basis:96px!important;width:96px!important;max-width:96px!important;height:96px!important;max-height:96px!important}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:96px!important;max-width:96px!important;height:96px!important;max-height:96px!important}
}

/* Version 1.9.0: Größeres Logo (320 px) mit ausreichend hohem Header. */
.site-header .header-inner{
  min-height:200px!important;
  gap:24px;
  align-items:center;
}
.site-header .brand{
  flex:0 0 340px!important;
  width:340px;
  max-width:340px!important;
  min-width:340px;
  gap:0!important;
  justify-content:flex-start;
  align-items:center;
}
.site-header .brand .custom-logo-link{
  display:flex!important;
  flex:0 0 320px!important;
  width:320px!important;
  max-width:320px!important;
  height:320px!important;
  max-height:320px!important;
  align-items:center;
  justify-content:center;
  overflow:visible!important;
}
.site-header .brand img.custom-logo,
.site-header .brand .custom-logo-link img{
  display:block!important;
  width:320px!important;
  max-width:320px!important;
  height:320px!important;
  max-height:320px!important;
  object-fit:contain!important;
  object-position:center!important;
}
.site-header .brand-text,
.site-header .brand-name,
.site-header .brand-tagline{display:none!important}
.site-header .main-nav{flex:1 1 auto;min-width:0}
.site-header .main-nav ul{gap:12px;justify-content:center}
.site-header .header-cta{flex:0 0 auto;white-space:nowrap}

@media(max-width:1200px){
 .site-header .header-inner{min-height:180px!important;gap:12px}
 .site-header .brand{flex:0 0 240px!important;width:240px;max-width:240px!important;min-width:240px}
 .site-header .brand .custom-logo-link{flex-basis:220px!important;width:220px!important;max-width:220px!important;height:220px!important;max-height:220px!important}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:220px!important;max-width:220px!important;height:220px!important;max-height:220px!important}
 .site-header .main-nav ul{gap:8px}
}
@media(max-width:900px){
 .site-header .header-inner{min-height:150px!important;padding-top:8px;padding-bottom:8px}
 .site-header .brand{flex:0 0 190px!important;width:190px;max-width:190px!important;min-width:190px}
 .site-header .brand .custom-logo-link{flex-basis:180px!important;width:180px!important;max-width:180px!important;height:180px!important;max-height:180px!important}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:180px!important;max-width:180px!important;height:180px!important;max-height:180px!important}
 .site-header .main-nav,.site-header .header-cta{display:none}
 .site-header .mobile-menu{display:inline-flex}
}
@media(max-width:560px){
 .site-header .header-inner{min-height:115px!important;gap:6px}
 .site-header .brand{flex:0 0 120px!important;width:120px;max-width:120px!important;min-width:120px}
 .site-header .brand .custom-logo-link{flex-basis:110px!important;width:110px!important;max-width:110px!important;height:110px!important;max-height:110px!important}
 .site-header .brand img.custom-logo,.site-header .brand .custom-logo-link img{width:110px!important;max-width:110px!important;height:110px!important;max-height:110px!important}
}

/* v2.0 FIX: Make the actual WordPress custom-logo element prominent. */
.site-header .header-inner{
  min-height: 270px !important;
  align-items: center !important;
}
.site-header .header-inner > a.brand{
  display:flex !important;
  flex:0 0 270px !important;
  width:270px !important;
  min-width:270px !important;
  max-width:270px !important;
  height:260px !important;
  align-items:center !important;
  justify-content:center !important;
  gap:0 !important;
  overflow:visible !important;
}
.site-header .header-inner > a.brand > .custom-logo-link{
  display:flex !important;
  flex:0 0 250px !important;
  width:250px !important;
  min-width:250px !important;
  max-width:250px !important;
  height:250px !important;
  min-height:250px !important;
  max-height:250px !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
}
.site-header .header-inner > a.brand > .custom-logo-link > img.custom-logo{
  display:block !important;
  width:250px !important;
  min-width:250px !important;
  max-width:250px !important;
  height:250px !important;
  min-height:250px !important;
  max-height:250px !important;
  object-fit:contain !important;
  object-position:center !important;
}
.site-header .header-inner > a.brand > span{display:none !important}
.site-header .header-inner > nav.main-nav{flex:1 1 auto !important;min-width:0}
.site-header .header-inner > nav.main-nav ul{flex-wrap:wrap;justify-content:center;gap:12px}
.site-header .header-inner > a.header-cta{flex:0 0 auto;white-space:nowrap}

@media(max-width:1200px){
 .site-header .header-inner{min-height:220px!important;gap:12px}
 .site-header .header-inner > a.brand{flex-basis:205px!important;width:205px!important;min-width:205px!important;max-width:205px!important;height:200px!important}
 .site-header .header-inner > a.brand > .custom-logo-link{flex-basis:190px!important;width:190px!important;min-width:190px!important;max-width:190px!important;height:190px!important;min-height:190px!important;max-height:190px!important}
 .site-header .header-inner > a.brand > .custom-logo-link > img.custom-logo{width:190px!important;min-width:190px!important;max-width:190px!important;height:190px!important;min-height:190px!important;max-height:190px!important}
}
@media(max-width:900px){
 .site-header .header-inner{min-height:150px!important}
 .site-header .header-inner > a.brand{flex-basis:145px!important;width:145px!important;min-width:145px!important;max-width:145px!important;height:140px!important}
 .site-header .header-inner > a.brand > .custom-logo-link{flex-basis:130px!important;width:130px!important;min-width:130px!important;max-width:130px!important;height:130px!important;min-height:130px!important;max-height:130px!important}
 .site-header .header-inner > a.brand > .custom-logo-link > img.custom-logo{width:130px!important;min-width:130px!important;max-width:130px!important;height:130px!important;min-height:130px!important;max-height:130px!important}
 .site-header .header-inner > nav.main-nav,.site-header .header-inner > a.header-cta{display:none!important}
 .site-header .header-inner > button.mobile-menu{display:inline-flex!important}
}
@media(max-width:560px){
 .site-header .header-inner{min-height:118px!important}
 .site-header .header-inner > a.brand{flex-basis:115px!important;width:115px!important;min-width:115px!important;max-width:115px!important;height:110px!important}
 .site-header .header-inner > a.brand > .custom-logo-link{flex-basis:100px!important;width:100px!important;min-width:100px!important;max-width:100px!important;height:100px!important;min-height:100px!important;max-height:100px!important}
 .site-header .header-inner > a.brand > .custom-logo-link > img.custom-logo{width:100px!important;min-width:100px!important;max-width:100px!important;height:100px!important;min-height:100px!important;max-height:100px!important}
}

/* v2.1: Definitive custom-logo sizing. Target the real WordPress markup
   generated by the_custom_logo(), regardless of intervening wrappers. */
.site-header .header-inner{
  min-height: 270px !important;
  height: auto !important;
  align-items: center !important;
}
.site-header .header-inner .brand{
  display:flex !important;
  flex:0 0 270px !important;
  width:270px !important;
  min-width:270px !important;
  max-width:270px !important;
  min-height:260px !important;
  align-items:center !important;
  justify-content:center !important;
  gap:0 !important;
  overflow:visible !important;
}
.site-header .header-inner .brand .custom-logo-link{
  display:flex !important;
  flex:0 0 250px !important;
  width:250px !important;
  min-width:250px !important;
  max-width:250px !important;
  height:250px !important;
  min-height:250px !important;
  max-height:250px !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
}
.site-header .header-inner .brand .custom-logo-link img,
.site-header .header-inner .brand img.custom-logo{
  display:block !important;
  width:250px !important;
  min-width:250px !important;
  max-width:250px !important;
  height:250px !important;
  min-height:250px !important;
  max-height:250px !important;
  object-fit:contain !important;
  object-position:center !important;
}
.site-header .header-inner .brand .brand-text,
.site-header .header-inner .brand .brand-tagline,
.site-header .header-inner .brand > span:not(.custom-logo-link){
  display:none !important;
}
.site-header .header-inner .main-nav{flex:1 1 auto !important;min-width:0}
.site-header .header-inner .main-nav ul{flex-wrap:wrap;justify-content:center;gap:12px}
.site-header .header-inner .header-cta{flex:0 0 auto;white-space:nowrap}

@media(max-width:1200px){
 .site-header .header-inner{min-height:220px!important;gap:12px}
 .site-header .header-inner .brand{flex-basis:200px!important;width:200px!important;min-width:200px!important;max-width:200px!important;min-height:195px!important}
 .site-header .header-inner .brand .custom-logo-link{flex-basis:185px!important;width:185px!important;min-width:185px!important;max-width:185px!important;height:185px!important;min-height:185px!important;max-height:185px!important}
 .site-header .header-inner .brand .custom-logo-link img,.site-header .header-inner .brand img.custom-logo{width:185px!important;min-width:185px!important;max-width:185px!important;height:185px!important;min-height:185px!important;max-height:185px!important}
}
@media(max-width:900px){
 .site-header .header-inner{min-height:150px!important}
 .site-header .header-inner .brand{flex-basis:140px!important;width:140px!important;min-width:140px!important;max-width:140px!important;min-height:135px!important}
 .site-header .header-inner .brand .custom-logo-link{flex-basis:125px!important;width:125px!important;min-width:125px!important;max-width:125px!important;height:125px!important;min-height:125px!important;max-height:125px!important}
 .site-header .header-inner .brand .custom-logo-link img,.site-header .header-inner .brand img.custom-logo{width:125px!important;min-width:125px!important;max-width:125px!important;height:125px!important;min-height:125px!important;max-height:125px!important}
 .site-header .header-inner .main-nav,.site-header .header-inner .header-cta{display:none!important}
 .site-header .header-inner .mobile-menu{display:inline-flex!important}
}
@media(max-width:560px){
 .site-header .header-inner{min-height:115px!important;gap:8px}
 .site-header .header-inner .brand{flex-basis:108px!important;width:108px!important;min-width:108px!important;max-width:108px!important;min-height:105px!important}
 .site-header .header-inner .brand .custom-logo-link{flex-basis:98px!important;width:98px!important;min-width:98px!important;max-width:98px!important;height:98px!important;min-height:98px!important;max-height:98px!important}
 .site-header .header-inner .brand .custom-logo-link img,.site-header .header-inner .brand img.custom-logo{width:98px!important;min-width:98px!important;max-width:98px!important;height:98px!important;min-height:98px!important;max-height:98px!important}
}


/* v2.2 Premium Header Controls: values come from Design > Anpassen > Header & Logo */
.site-header .header-inner{
 min-height:var(--rd-header-height,180px)!important;
 height:auto!important;
 gap:var(--rd-header-gap,24px)!important;
 padding-left:var(--rd-header-padding-x,20px)!important;
 padding-right:var(--rd-header-padding-x,20px)!important;
 align-items:center!important;
}
.site-header .header-inner .brand{
 flex:0 1 auto!important;
 width:auto!important;
 min-width:0!important;
 max-width:var(--rd-logo-width,190px)!important;
 min-height:0!important;
 height:auto!important;
 gap:0!important;
 overflow:visible!important;
}
.site-header .header-inner .brand .custom-logo-link{
 display:flex!important;
 width:var(--rd-logo-width,190px)!important;
 max-width:var(--rd-logo-width,190px)!important;
 height:calc(var(--rd-header-height,180px) - 20px)!important;
 min-height:0!important;
 max-height:none!important;
 align-items:center!important;
 justify-content:flex-start!important;
 overflow:visible!important;
}
.site-header .header-inner .brand .custom-logo-link img,
.site-header .header-inner .brand img.custom-logo{
 display:block!important;
 width:var(--rd-logo-width,190px)!important;
 max-width:var(--rd-logo-width,190px)!important;
 height:100%!important;
 max-height:calc(var(--rd-header-height,180px) - 20px)!important;
 object-fit:contain!important;
 object-position:left center!important;
}
.site-header .header-inner .brand > span{display:var(--rd-brand-text-display,none)}
.site-header .header-inner .main-nav ul{gap:var(--rd-nav-gap,20px)!important}
.site-header .header-inner .main-nav a{font-size:var(--rd-nav-font-size,14px)!important}
@media(max-width:900px){
 .site-header .header-inner{min-height:var(--rd-header-height-mobile,110px)!important;gap:12px!important}
 .site-header .header-inner .brand{max-width:var(--rd-logo-width-mobile,100px)!important}
 .site-header .header-inner .brand .custom-logo-link{width:var(--rd-logo-width-mobile,100px)!important;height:calc(var(--rd-header-height-mobile,110px) - 10px)!important}
 .site-header .header-inner .brand .custom-logo-link img,.site-header .header-inner .brand img.custom-logo{width:var(--rd-logo-width-mobile,100px)!important;max-height:calc(var(--rd-header-height-mobile,110px) - 10px)!important}
}


/* =========================================================
   v2.3.0 – Header-Builder: Einstellungen im Customizer
   ========================================================= */
.site-header .rd-header-inner{
  display:flex !important;
  flex-direction:row !important;
  align-items:var(--rd-header-align,center) !important;
  justify-content:var(--rd-header-justify,space-between) !important;
  gap:var(--rd-header-gap,24px) !important;
  min-height:var(--rd-header-height,180px) !important;
  height:auto !important;
  padding:var(--rd-header-vertical-padding,18px) var(--rd-header-padding-x,20px) !important;
  width:min(var(--rd-header-content-width,1160px),calc(100% - 40px)) !important;
  margin-inline:auto !important;
  box-sizing:border-box !important;
}
.site-header .rd-header-element{min-width:0}
.site-header .rd-header-logo{
  flex:0 1 var(--rd-logo-width,190px) !important;
  width:var(--rd-logo-width,190px) !important;
  max-width:var(--rd-logo-width,190px) !important;
  margin:0 !important;
  padding:0 !important;
  overflow:visible !important;
}
.site-header .rd-header-logo .custom-logo-link{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:100% !important;
  max-width:100% !important;
  max-height:none !important;
  height:auto !important;
  overflow:visible !important;
}
.site-header .rd-header-logo img.custom-logo,
.site-header .rd-header-logo .custom-logo-link img{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  max-height:calc(var(--rd-header-height,180px) - 2 * var(--rd-header-vertical-padding,18px)) !important;
  object-fit:contain !important;
  object-position:left center !important;
  margin:0 !important;
}
.site-header .rd-header-brand-text{
  flex:0 1 auto !important;
  text-align:left !important;
  margin:0 !important;
  min-width:0 !important;
}
.site-header .rd-header-brand-text .brand-text{
  display:block !important;
  font-size:var(--rd-header-brand-font-size,23px) !important;
  line-height:1.2 !important;
}
.site-header .rd-header-brand-text .brand-tagline{
  display:block !important;
  font-size:var(--rd-header-tagline-font-size,12px) !important;
}
.site-header .rd-header-navigation{
  flex:0 1 auto !important;
  width:auto !important;
  margin:0 !important;
  min-width:0 !important;
}
.site-header .rd-header-navigation ul{
  display:flex !important;
  align-items:center !important;
  flex-wrap:wrap !important;
  gap:var(--rd-nav-gap,20px) !important;
  margin:0 !important;
  padding:0 !important;
}
.site-header .rd-header-navigation a{font-size:var(--rd-nav-font-size,14px) !important}
.site-header .rd-header-button{
  flex:0 0 auto !important;
  margin:0 !important;
  padding:var(--rd-header-button-padding,13px) calc(var(--rd-header-button-padding,13px) * 1.5) !important;
  font-size:var(--rd-header-button-font-size,14px) !important;
  border-radius:var(--rd-header-button-radius,999px) !important;
}
.site-header .rd-logo-placeholder{
  display:block;
  padding:15px;
  border:1px dashed #aaa;
  color:#666;
  font-size:13px;
}
@media(max-width:900px){
  .site-header .rd-header-inner{
    min-height:var(--rd-header-height-mobile,110px) !important;
    flex-wrap:wrap !important;
    width:calc(100% - 28px) !important;
    padding:12px !important;
    gap:12px !important;
  }
  .site-header .rd-header-logo{
    flex-basis:var(--rd-logo-width-mobile,100px) !important;
    width:var(--rd-logo-width-mobile,100px) !important;
    max-width:var(--rd-logo-width-mobile,100px) !important;
  }
  .site-header .rd-header-logo img.custom-logo,
  .site-header .rd-header-logo .custom-logo-link img{
    max-height:calc(var(--rd-header-height-mobile,110px) - 24px) !important;
  }
  .site-header .rd-header-navigation,
  .site-header .rd-header-button{display:none !important}
  .site-header .mobile-menu{display:inline-flex !important;margin-left:auto}
  .site-header .rd-header-brand-text .brand-text{font-size:clamp(14px,var(--rd-header-brand-font-size,23px),20px) !important}
  .site-header #mobile-navigation:not([hidden]){padding:12px 0 18px}
  .site-header #mobile-navigation ul{display:flex;flex-direction:column;align-items:flex-start;gap:10px;list-style:none;padding:0;margin:0}
}
@media(max-width:560px){
  .site-header .rd-header-inner{min-height:var(--rd-header-height-mobile,110px) !important}
  .site-header .rd-header-brand-text .brand-text{font-size:16px !important}
  .site-header .rd-header-brand-text .brand-tagline{font-size:10px !important}
}

.site-header .rd-header-custom-text{
  flex:0 1 auto;
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
  font-size:var(--rd-header-custom-text-size-1,16px);
  line-height:1.4;
}
.site-header .rd-header-custom-text-2{font-size:var(--rd-header-custom-text-size-2,16px)}
.site-header .rd-header-custom-image{
  flex:0 1 auto;
  min-width:0;
  max-width:100%;
  display:flex;
  align-items:center;
}
.site-header .rd-header-custom-image img{
  display:block;
  width:var(--rd-header-custom-image-width-1,100px);
  max-width:100%;
  height:auto;
  object-fit:contain;
}
.site-header .rd-header-custom-image-2 img{width:var(--rd-header-custom-image-width-2,100px)}
@media(max-width:900px){
 .site-header .rd-header-custom-image,
 .site-header .rd-header-custom-text{display:none !important}
}

@media(max-width:900px){.site-header .mobile-menu{order:99 !important}}


/* Animated glossy tooth: back-to-top control */
.rd-to-top {
  position: fixed;
  z-index: 99990;
  right: 24px;
  bottom: 24px;
  width: 68px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 8px 14px;
  border: 1px solid rgba(159,35,68,.22);
  border-radius: 24px 24px 22px 22px;
  background: linear-gradient(145deg, #fffefa 0%, #f8eee6 55%, #ead7ca 100%);
  box-shadow: 0 8px 24px rgba(47,39,34,.18), inset 0 2px 0 rgba(255,255,255,.95);
  color: #9f2344;
  cursor: pointer;
  overflow: hidden;
  transform: translateY(0);
  transition: opacity .25s ease, transform .25s ease, box-shadow .25s ease;
  animation: rdToothFloat 3.2s ease-in-out infinite;
}
.rd-to-top[hidden] { display: none !important; }
.rd-to-top:hover, .rd-to-top:focus-visible {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 13px 30px rgba(47,39,34,.24), inset 0 2px 0 rgba(255,255,255,.95);
  outline: 2px solid #9f2344;
  outline-offset: 3px;
}
.rd-to-top__tooth { width: 43px; height: 49px; display: block; filter: drop-shadow(0 2px 1px rgba(70,35,35,.12)); position: relative; z-index: 1; }
.rd-to-top__shine {
  position: absolute;
  z-index: 2;
  top: -35%;
  left: -70%;
  width: 42%;
  height: 155%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.92), transparent);
  transform: rotate(24deg);
  animation: rdToothShine 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes rdToothFloat { 0%,100% { margin-bottom: 0; } 50% { margin-bottom: 5px; } }
@keyframes rdToothShine { 0%,35% { left: -70%; opacity: 0; } 45% { opacity: 1; } 70%,100% { left: 135%; opacity: 0; } }
@media (max-width: 600px) {
  .rd-to-top { right: 14px; bottom: 14px; width: 58px; height: 66px; border-radius: 20px; }
  .rd-to-top__tooth { width: 37px; height: 43px; }
}
@media (prefers-reduced-motion: reduce) {
  .rd-to-top, .rd-to-top__shine { animation: none !important; transition: none !important; }
}


/* Nur den animierten Zahn als Zurueck-nach-oben-Button anzeigen.
   Andere haeufige Theme-/Plugin-Scroll-to-top-Buttons ausblenden. */
.kadence-scroll-to-top,
.scroll-to-top:not(.rd-to-top),
.scroll-top:not(.rd-to-top),
.scrollup,
.scroll-up,
.to-top:not(.rd-to-top),
.back-to-top:not(.rd-to-top),
.backtotop,
.back-to-top-button,
.scroll-to-top-button,
.scroll-top-button,
.scroll-top-btn,
.to-top-button,
.go-top,
.go-to-top,
.topbutton,
.top-button,
.scrollToTop,
.scroll-to-top-btn,
#to-top:not(.rd-to-top),
#scroll-to-top:not(.rd-to-top),
#back-to-top,
#backtotop,
.ast-scroll-top,
.ast-scroll-top-icon,
.generate-back-to-top,
.wpfront-scroll-top-container,
.ct-back-to-top,
.brxe-back-to-top,
.elementor-scroll-to-top,
button[aria-label*="scroll to top" i],
a[aria-label*="scroll to top" i],
button[aria-label*="nach oben" i],
a[aria-label*="nach oben" i],
button[title*="nach oben" i],
a[title*="nach oben" i] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
