/* ==========================================================================
   ROWAMED Corporate Design Web: Logo-Palette, Formulare, Buttons
   Stand 2026-11-21 v2.1.3 (Codi) | Entscheidung Robby 19.11.2026:
   Logo bleibt, die digitale Palette richtet sich nach dem Logo.
   21.11.2026: Geraete-Banner hell (#f7f9fc, Navy-Schrift, Foto unverfaelscht),
   Zurueck-Button sekundaer, Kontakt-Buttons Standard mit Icon, gedaempfter
   Text #64748b statt #9ba8b7, Sekundaer-Hover Navy (GL-003 7a).
   --------------------------------------------------------------------------
   Aktionsblau  #0f6ba9  Buttons, Links, Fokus, Haekchen (Weiss darauf 5,68:1)
   Markenblau   #2ea3f2  Signatur: Kopfband, Linien (H2, Banner-Unterkante),
                         Sechseck. Flaeche nur mit Navy-Schrift (4,63:1),
                         Button darauf Navy mit weisser Schrift. NIE Schrift/
                         Link/Button auf Weiss, NIE weisse Schrift darauf.
   Markenblau 2 #3d9cd4  nur Verlauf/Deko (Navy darauf nur 4,19:1)
   Navy         #113260  Text, Ueberschriften, Hover
   Logo-Grau    #9a9a9a  nur Linien und Deko
   Gedaempft    #64748b  Neben-/Hinweistext, Platzhalter (#9ba8b7 nur Linien)
   Magenta      #d80047  nur "Meistverkauft"-Badge, nie Button
   Akzent       #f99f00  Eyebrows, Hervorhebungen; Feldrahmen #c97800
   --------------------------------------------------------------------------
   Laedt NACH theme.css (functions.php, Handle rowamed_cd). Sichtbare
   Eigenschaften tragen !important, weil Customizer-CSS und seitenweise
   <style>-Bloecke spaeter kommen. Bei jeder Aenderung Version in
   functions.php erhoehen (Hostinger-CDN cacht CSS 7 Tage).
   ========================================================================== */

:root{
  --rw-aktion:#0f6ba9;
  --rw-marke:#2ea3f2;
  --rw-marke-2:#3d9cd4;
  --rw-navy:#113260;
  --rw-grau:#9a9a9a;
  --rw-akzent:#f99f00;
  --rw-feld:#c97800;
  --rw-error:#b42318;
  --rw-n1:#f7f9fc;
  --rw-n2:#e8edf4;
  --rw-n3:#9ba8b7;          /* nur Linien/Deko, nie Schrift */
  --rw-text-muted:#64748b;  /* gedaempfter Text (4,76:1 auf Weiss) */
  --rw-n4:#4a5568;
  --rw-n5:#1a202c;
  --rw-focus:0 0 0 3px rgba(15,107,169,.2);
  --rw-hex:polygon(25% 6.7%,75% 6.7%,100% 50%,75% 93.3%,25% 93.3%,0 50%);
  --rw-font:"Raleway",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  --rw-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Seiten mit eigenem CSS (Landingpages, Akademie, Datenblaetter, ROI):
   deren Primaerfarb-Variablen auf Aktionsblau umlenken */
html:root{--color-primary:#0f6ba9 !important;--primary:#0f6ba9 !important}
html body #maincontent .rw-lp,
html body #maincontent .rw-frage,
html body #maincontent .rw-feedback,
html body #maincontent .rw-danke,
html body #maincontent .rw-newsletter{--c-primary:#0f6ba9 !important}
html body #maincontent .rw-akademie{--color-primary:#0f6ba9 !important}

/* --------------------------------------------------------------------------
   1. Grundtypografie
   -------------------------------------------------------------------------- */
html body{color:var(--rw-n4)}
html body h1,html body h2,html body h3,
html body h4,html body h5,html body h6{color:var(--rw-navy);font-weight:700}
html body h3 strong{color:var(--rw-navy)}
html body a{color:var(--rw-aktion)}
html a:hover{color:var(--rw-navy)}
#maincontent p a{color:var(--rw-aktion);text-decoration:underline}
#maincontent p a:hover{color:var(--rw-navy)}
.wp-element-caption a,.wp-element-caption a:hover{color:#fff}
#maincontent .has-large-font-size{color:var(--rw-aktion)}
#maincontent ol.wp-block-list strong{color:var(--rw-aktion)}
#breadcrumbs a{color:var(--rw-aktion)}
#breadcrumbs span{color:var(--rw-n4)}

/* Markenblau-Linie unter H2 (Gutenberg-Ueberschriften, Geraeteseiten, Kontaktbereich) */
html body #maincontent h2.wp-block-heading::after,
html body #innerontent section > h2::after,
html body #call > h2::after{
  content:"";display:block;width:56px;height:4px;margin-top:12px;
  background:var(--rw-marke);border-radius:2px;
}
html body #maincontent h2.wp-block-heading.has-text-align-center::after{margin-left:auto;margin-right:auto}

/* --------------------------------------------------------------------------
   2. Kopfband und Flaechen
   -------------------------------------------------------------------------- */
/* Kopfzeile Navy, darueber 5px Markenblau als Signatur */
html body .pagewrapper > .container,
html body #mainheader .container .topline{background:var(--rw-navy)}
html body::before{content:"";display:block;height:5px;background:var(--rw-marke)}

/* Geraete-Banner: Schriftfarbe Navy (Layout und Flaeche siehe Abschnitt 7) */
html body #banner .banner_content,
html body #banner .banner_content *{color:var(--rw-navy)}
html body #banner:hover .banner_content *{color:var(--rw-navy)}

/* Fremdfarben -> Palette */
.has-blue-background-color,
.wp-block-column.has-blue-background-color,
#suppageheader:after,
#suppageheader aside,
#maincontent .singlewppage .meta .tagcloud a,
#maincontent .singlewppage .metabox a,
#maincontent .singlewppage.mitglieddetails .entry .meta p.link,
#maincontent .wp-block-themeisle-blocks-advanced-columns.has-dark-bg a:after,
#maincontent .veranstaltung a:after,
#maincontent .projektwrapper .projekt-liste .beschreibung a.closepopup,
.tagcloud span,.tagcloud a{background-color:var(--rw-aktion)}
#maincontent .sliderwrapper .slick-prev,
#maincontent .sliderwrapper .slick-next,
#maincontent .mitglieder-list .slick-prev,
#maincontent .mitglieder-list .slick-next{background-color:var(--rw-aktion) !important}
#maincontent .page-list .news-item:hover a,
#maincontent .veranstaltung .meta p,
#maincontent .veranstaltung .meta span{color:var(--rw-aktion)}
#newsletter h3{color:var(--rw-navy)}
#maincontent .page-list .news-item figure:after{background-color:var(--rw-navy)}
#maincontent .wp-element-caption{background-color:var(--rw-navy)}
/* Cover-Textflaeche mit weisser Schrift: Aktionsblau statt Markenblau */
#maincontent .wp-block-cover__inner-container,
html body #maincontent .banner .wp-block-cover__inner-container{background:var(--rw-aktion)}
#maincontent .brancheninfo a{background:var(--rw-aktion);color:#fff}
#maincontent .brancheninfo a:after{background-color:var(--rw-navy)}
#maincontent .brancheninfo a:hover{background:var(--rw-navy);color:#fff}
html body .preiskasten--blue .preiskasten__header{background:var(--rw-aktion)}
html body .preiskasten--orange .preiskasten__header,
html body #maincontent .preiskasten--orange .preiskasten__header h3,
html body #maincontent .preiskasten--orange .preiskasten__header *{color:var(--rw-navy)}
html body #mainheader a.action.window,
html body #mainheader .sform form input[type=submit]{background-color:var(--rw-aktion)}
html body #mainheader .sform form input:not([type=submit]){color:var(--rw-n5)}

/* --------------------------------------------------------------------------
   3. Kein weisser Text auf Orange -> Navy-Schrift
   -------------------------------------------------------------------------- */
time{color:var(--rw-navy)}
#mainfooter .container nav.blog .recent-post time{color:var(--rw-navy)}
#mainfooter .lowline,#mainfooter .lowline *{color:var(--rw-navy) !important}
.wp-block-column.has-lightblue-background-color *{color:var(--rw-navy)}
#maincontent .wp-block-themeisle-blocks-accordion-item__title,
#maincontent .wp-block-themeisle-blocks-accordion-item__title *{color:var(--rw-navy) !important}
#maincontent .pageheader .wp-block-themeisle-blocks-icon-list-item .wp-block-themeisle-blocks-icon-list-item-icon{color:var(--rw-navy)}

/* Rank-Math-FAQ auf Palette */
.rank-math-block .rank-math-question{color:var(--rw-navy)}
.rank-math-block .rank-math-question button:hover{color:var(--rw-aktion)}
.rank-math-block .rank-math-question button::after{color:var(--rw-aktion);background:rgba(15,107,169,.09)}
.rank-math-block .rank-math-list-item.is-open .rank-math-question button::after{background:var(--rw-aktion);color:#fff}
.rank-math-block .rank-math-list-item::before{background:var(--rw-marke)}
.rank-math-block .rank-math-question button:focus-visible{outline-color:rgba(15,107,169,.35)}
#maincontent .rank-math-block .rank-math-answer p{color:var(--rw-n4)}

/* --------------------------------------------------------------------------
   4. Sechseck aus dem Logo (dezent: Portraet + Eyebrow-Marker)
   -------------------------------------------------------------------------- */
html body #call .niceimage,
html body #maincontent .rw-frage .absender img,
html body #maincontent .rw-lp .rw-byline img,
html body #maincontent .rw-lp .rw-sender img{
  -webkit-clip-path:var(--rw-hex);clip-path:var(--rw-hex);
  border-radius:0 !important;border:0 !important;box-shadow:none !important;
  object-fit:cover;
}
html body #maincontent .eyebrow::before,
html body #maincontent .rw-eyebrow::before{
  content:"";display:inline-block;width:.9em;height:.9em;margin-right:.5em;
  vertical-align:-.1em;background:var(--rw-marke);
  -webkit-clip-path:var(--rw-hex);clip-path:var(--rw-hex);
}

/* --------------------------------------------------------------------------
   5. Buttons
   5a Primaer: Aktionsblau, Weiss 800, Radius 8, Hover Navy
   -------------------------------------------------------------------------- */
html body .wp-block-button__link,
html body a.wp-block-button__link,
html body a.button,
html body a.popup-btn,
html body #maincontent .wp-block-themeisle-blocks-button a,
html body #maincontent .eb-button-anchor,
html body #maincontent a.eb-slider-button,
html body #maincontent .eb-pricing-button,
html body #maincontent .eb-button-one,
html body #maincontent .projektwrapper .projekt-liste .buttons a,
html body #banner .banner_content a.wp-block-button__link,
html body #scrollTopBtn,
html body .rw-btn,
html body #maincontent .btn-primary,
html body #maincontent .btn-accent,
html body #maincontent .btn-cta--solid,
html body .wpcf7 input[type=submit],
html body .wpcf7 button[type=submit],
html body .wpcf7 .wpcf7-submit{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:48px;padding:12px 24px !important;
  background:var(--rw-aktion) !important;
  color:#fff !important;
  border:2px solid var(--rw-aktion) !important;
  border-radius:8px !important;
  font-family:var(--rw-font) !important;
  font-weight:800 !important;
  font-size:16px !important;
  font-style:normal !important;
  line-height:1.3;letter-spacing:normal;text-transform:none;
  text-decoration:none !important;text-align:center;
  box-shadow:none !important;cursor:pointer;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease;
}
html body #scrollTopBtn{display:none;padding:0 !important;border-radius:50% !important}
html body #scrollTopBtn.show{display:block}
html body .wp-block-button__link:hover,
html body a.button:hover,
html body a.popup-btn:hover,
html body #maincontent .wp-block-themeisle-blocks-button a:hover,
html body #maincontent .eb-button-anchor:hover,
html body #maincontent a.eb-slider-button:hover,
html body #maincontent .eb-pricing-button:hover,
html body #maincontent .eb-button-one:hover,
html body #maincontent .projektwrapper .projekt-liste .buttons a:hover,
html body #scrollTopBtn:hover,
html body .rw-btn:hover,
html body #maincontent .btn-primary:hover,
html body #maincontent .btn-accent:hover,
html body #maincontent .btn-cta--solid:hover,
html body .wpcf7 input[type=submit]:hover,
html body .wpcf7 button[type=submit]:hover,
html body .wpcf7 .wpcf7-submit:hover{
  background:var(--rw-navy) !important;border-color:var(--rw-navy) !important;
  color:#fff !important;filter:none !important;
}
html body .wp-block-button__link:focus-visible,
html body a.button:focus-visible,
html body a.popup-btn:focus-visible,
html body .rw-btn:focus-visible,
html body #maincontent .btn-primary:focus-visible,
html body .wpcf7 input[type=submit]:focus-visible,
html body .wpcf7 .wpcf7-submit:focus-visible{outline:2px solid var(--rw-navy) !important;outline-offset:2px}

/* Pfeil-Kreis aus dem Customizer entfaellt (Vorbild hat keinen) */
html body .wp-block-button__link::before,
html body .btn::after,
html body .wpcf7 button::after{content:none !important;display:none !important}
html body #maincontent .btn-primary .btn-arrow,
html body #maincontent .btn-cta--solid .btn-arrow{background:#fff !important;border-color:#fff !important;color:var(--rw-aktion) !important}
html body #maincontent .btn-primary .btn-arrow svg,
html body #maincontent .btn-cta--solid .btn-arrow svg{color:var(--rw-aktion) !important;stroke:var(--rw-aktion) !important}

/* 5b Sekundaer: Outline 2px Aktionsblau auf Weiss
   (in einer Buttongruppe ist nur der ERSTE Button primaer) */
html body .wp-block-buttons > .wp-block-button ~ .wp-block-button .wp-block-button__link,
html body .wp-block-button.is-style-outline .wp-block-button__link,
html body #banner .banner_content a.wp-block-button__link ~ a.wp-block-button__link,
html body .rw-btn--secondary,
html body #maincontent .btn-outline,
html body #maincontent .btn-sec,
html body #maincontent .btn-cta--outline{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:48px;padding:12px 24px !important;
  background:#fff !important;color:var(--rw-aktion) !important;
  border:2px solid var(--rw-aktion) !important;border-radius:8px !important;
  font-family:var(--rw-font) !important;font-weight:800 !important;font-size:16px !important;
  text-decoration:none !important;box-shadow:none !important;
}
/* Hover Sekundaer laut GL-003 7a: Rahmen + Schrift Navy (seit v2.1.0) */
html body .wp-block-buttons > .wp-block-button ~ .wp-block-button .wp-block-button__link:hover,
html body .wp-block-button.is-style-outline .wp-block-button__link:hover,
html body #banner .banner_content a.wp-block-button__link ~ a.wp-block-button__link:hover,
html body .rw-btn--secondary:hover,
html body #maincontent .btn-outline:hover,
html body #maincontent .btn-sec:hover,
html body #maincontent .btn-cta--outline:hover{
  background:#fff !important;border-color:var(--rw-navy) !important;color:var(--rw-navy) !important;
}
html body #maincontent .btn-sec .arrow,
html body #maincontent .btn-cta--outline .btn-arrow{background:var(--rw-aktion) !important}
html body #banner .banner_content a.wp-block-button__link{margin:0 !important}

/* 5d Auf Markenblau-Flaeche (Klasse .rw-auf-marke an der Flaeche):
      Primaer Navy mit weisser Schrift, Hover Weiss mit Navy-Schrift */
html body .rw-auf-marke .wp-block-button__link,
html body .rw-auf-marke .rw-btn{
  background:var(--rw-navy) !important;border-color:var(--rw-navy) !important;color:#fff !important;
}
html body .rw-auf-marke .wp-block-button__link:hover,
html body .rw-auf-marke .rw-btn:hover{
  background:#fff !important;border-color:#fff !important;color:var(--rw-navy) !important;
}

/* 5c Auf dunklem Grund (Navy-Hero, dunkle Spalten, Akademie-Hero):
      Primaer weiss mit blauer Schrift, Sekundaer weisse Outline.
      Der Geraete-Banner ist hell (#f7f9fc, Abschnitt 7) und nutzt 5a/5b. */
html body #maincontent .has-dark-bg .wp-block-button__link,
html body #maincontent .wp-block-themeisle-blocks-advanced-columns.has-dark-bg a.wp-block-button__link,
html body #maincontent .rw-hero .rw-btn,
html body #maincontent .rw-akademie .hero .btn-primary,
html body #maincontent .rw-akademie .hero .wp-block-button__link{
  background:#fff !important;border-color:#fff !important;color:var(--rw-aktion) !important;
}
html body #maincontent .has-dark-bg .wp-block-button__link:hover,
html body #maincontent .rw-hero .rw-btn:hover,
html body #maincontent .rw-akademie .hero .btn-primary:hover,
html body #maincontent .rw-akademie .hero .wp-block-button__link:hover{
  background:var(--rw-n2) !important;border-color:var(--rw-n2) !important;color:var(--rw-navy) !important;
}
html body #maincontent .has-dark-bg .wp-block-buttons > .wp-block-button ~ .wp-block-button .wp-block-button__link{
  background:transparent !important;border-color:#fff !important;color:#fff !important;
}
html body #maincontent .has-dark-bg .wp-block-buttons > .wp-block-button ~ .wp-block-button .wp-block-button__link:hover{
  background:#fff !important;color:var(--rw-aktion) !important;
}
html body #maincontent .rw-akademie .hero .btn-primary .btn-arrow{background:var(--rw-aktion) !important}
html body #maincontent .rw-akademie .hero .btn-primary .btn-arrow svg{color:#fff !important;stroke:#fff !important}

/* --------------------------------------------------------------------------
   6. Formulare (alle Contact-Form-7-Formulare)
   -------------------------------------------------------------------------- */
html body .wpcf7{font-family:var(--rw-font);color:var(--rw-n4);text-align:left}
html body .wpcf7 form.wpcf7-form{max-width:100%;border:0}

html body #call .wpcf7,
html body #maincontent .megaform .wpcf7,
html body.page-id-16 #maincontent .wpcf7,
html body.page-id-3085 #maincontent .wpcf7{
  background:#fff;border:1px solid var(--rw-n2);border-radius:16px;
  box-shadow:0 2px 12px rgba(0,0,0,.07),0 1px 3px rgba(0,0,0,.04);
  padding:24px;max-width:720px;
}
html body #maincontent .megaform .wpcf7,
html body.page-id-16 #maincontent .wpcf7,
html body.page-id-3085 #maincontent .wpcf7{margin:24px auto}

html body .wpcf7 label,
html body #maincontent .megaform label,
html body #maincontent .megaform p.flex{
  display:block !important;font-family:var(--rw-font) !important;
  font-weight:600 !important;font-size:15px !important;line-height:1.4;
  letter-spacing:normal !important;color:var(--rw-navy) !important;margin-bottom:4px;
}
html body .wpcf7 .wpcf7-form-control-wrap{display:block;margin-top:6px}
html body #maincontent .megaform .wpcf7-form-control-wrap{max-width:100% !important;width:100%}
html body #maincontent .megaform p{border-bottom:0;padding-bottom:0}
html body .wpcf7 p{margin:0 0 16px;letter-spacing:normal}

html body .wpcf7 input[type=text],
html body .wpcf7 input[type=email],
html body .wpcf7 input[type=tel],
html body .wpcf7 input[type=url],
html body .wpcf7 input[type=number],
html body .wpcf7 input[type=date],
html body .wpcf7 select,
html body .wpcf7 textarea{
  display:block;width:100% !important;max-width:100% !important;min-width:0 !important;
  min-height:48px;margin:0;padding:11px 13px !important;
  font-family:var(--rw-font) !important;font-size:16px !important;font-weight:400 !important;
  line-height:1.5;letter-spacing:normal;
  color:var(--rw-n5) !important;background-color:#fff !important;
  border:2px solid var(--rw-feld) !important;border-radius:6px !important;
  box-shadow:none !important;outline:2px solid transparent;outline-offset:2px;
  transition:border-color .2s ease,box-shadow .2s ease;
}
html body .wpcf7 textarea{min-height:140px;height:140px;resize:vertical}
html body .wpcf7 input::placeholder,
html body .wpcf7 textarea::placeholder{color:var(--rw-text-muted);opacity:1}
html body .wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]):focus,
html body .wpcf7 select:focus,
html body .wpcf7 textarea:focus{
  border-color:var(--rw-aktion) !important;box-shadow:var(--rw-focus) !important;
  outline:2px solid transparent !important;
}
html body .wpcf7 .wpcf7-not-valid,
html body .wpcf7 .wpcf7-not-valid:focus{border-color:var(--rw-error) !important}
html body .wpcf7 .wpcf7-not-valid-tip{color:var(--rw-error) !important;font-size:14px !important;font-weight:600;margin-top:4px}
html body .wpcf7 form.invalid .wpcf7-response-output,
html body .wpcf7 form.unaccepted .wpcf7-response-output,
html body .wpcf7 form.failed .wpcf7-response-output{border:2px solid var(--rw-error) !important;color:var(--rw-error);background:#fff}
html body .wpcf7 form.sent .wpcf7-response-output{border:2px solid #0a7a3e !important;color:#0a7a3e;background:#fff}
html body .wpcf7 .wpcf7-response-output{margin:16px 0 0 !important;padding:12px 16px !important;border-radius:6px;font-size:15px}

html body .wpcf7 .wpcf7-list-item{margin:0 16px 8px 0;display:inline-block}
html body .wpcf7 .wpcf7-acceptance .wpcf7-list-item,
html body .wpcf7 .wpcf7-list-item.first.last{display:block;margin:0}
html body .wpcf7 .wpcf7-list-item label,
html body #maincontent .megaform .wpcf7-list-item label{
  display:inline-flex !important;gap:10px;align-items:flex-start;cursor:pointer;
  font-weight:400 !important;font-size:15px !important;line-height:1.5;color:var(--rw-n4) !important;margin:0;
}
html body .wpcf7 input[type=checkbox],
html body .wpcf7 input[type=radio]{
  -webkit-appearance:none;appearance:none;
  flex:0 0 20px;width:20px !important;min-width:20px !important;max-width:20px !important;height:20px;
  margin:2px 0 0 !important;padding:0 !important;
  border:2px solid var(--rw-feld) !important;border-radius:4px;
  background:#fff no-repeat center/14px 14px;
  accent-color:var(--rw-aktion);cursor:pointer;vertical-align:top;
}
html body .wpcf7 input[type=radio]{border-radius:50%}
html body .wpcf7 input[type=checkbox]:checked{background-color:var(--rw-aktion) !important;border-color:var(--rw-aktion) !important;background-image:var(--rw-check)}
html body .wpcf7 input[type=radio]:checked{border-color:var(--rw-aktion) !important;background:radial-gradient(circle,var(--rw-aktion) 0 5px,#fff 6px)}
html body .wpcf7 input[type=checkbox]:focus-visible,
html body .wpcf7 input[type=radio]:focus-visible{border-color:var(--rw-aktion) !important;box-shadow:var(--rw-focus);outline:2px solid transparent}
html body .wpcf7 .wpcf7-not-valid input[type=checkbox]:not(:checked){border-color:var(--rw-error) !important}
@media (forced-colors:active){
  html body .wpcf7 input[type=checkbox],html body .wpcf7 input[type=radio]{-webkit-appearance:auto;appearance:auto}
}

html body .wpcf7 a{color:var(--rw-aktion) !important;text-decoration:underline !important}
html body .wpcf7 a:hover{color:var(--rw-navy) !important}

html body .wpcf7 input[type=submit],
html body .wpcf7 button[type=submit],
html body .wpcf7 .wpcf7-submit{
  display:block;width:100% !important;min-height:52px;margin:0;
  font-size:17px !important;white-space:normal;position:static !important;
}
html body .wpcf7 .wpcf7-spinner{display:block;margin:8px auto 0}

@media (max-width:767px){
  html body #call .wpcf7,
  html body #maincontent .megaform .wpcf7,
  html body.page-id-16 #maincontent .wpcf7,
  html body.page-id-3085 #maincontent .wpcf7{padding:16px}
}
@media (prefers-reduced-motion:reduce){
  html body .wpcf7 *,html body .wp-block-button__link{transition:none !important}
}

/* --------------------------------------------------------------------------
   7. Geraeteseiten-Banner hell (single-us-gerat.php, #banner) v2.1.0
      Flaeche #f7f9fc, Schrift Navy, Produktfoto unverfaelscht (kein
      multiply, kein Filter), Text neben dem Geraet. Kein Hover-Umfaerben.
      Markenblau nur als Linie (Unterkante, Strich unter H1).
      Ueberschreibt Customizer-Regeln (#banner, #banner:hover, #img img).
   -------------------------------------------------------------------------- */
html body #innerontent:has(> #banner){position:relative}
html body #banner,
html body #banner:hover{
  background:var(--rw-n1) !important;   /* Kurzschreibweise blendet auch das ACF-Headerbild aus */
  transition:none !important;
}
html body #banner{
  display:grid !important;
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  align-items:center;gap:48px;
  padding:104px max(24px,calc((100% - 1160px) / 2)) 56px !important;
  margin-bottom:0 !important;
  border-bottom:4px solid var(--rw-marke);
}
html body #banner .banner_content{
  position:static !important;top:auto !important;left:auto !important;
  transform:none !important;max-width:none !important;
  padding:0 !important;margin:0 !important;z-index:auto !important;
}
html body #banner .banner_content *,
html body #banner #img,
html body #banner #img img,
html body #banner .herstellerlogo{transition:none !important}
html body #banner .banner_content h1{
  position:relative;max-width:none;margin:0 0 20px !important;padding-top:76px;line-height:1.1;
}
html body #banner .banner_content h1::after{
  content:"";display:block;width:56px;height:4px;margin-top:16px;
  background:var(--rw-marke);border-radius:2px;
}
html body #banner .banner_content h1 strong{font-weight:600 !important;font-size:1.8rem !important;letter-spacing:.02em}
html body #banner .banner_content p{margin:0 0 14px !important;max-width:620px}
/* Herstellerlogo in Originalfarben oben links (vorher weiss eingefaerbt) */
html body #banner .banner_content .herstellerlogo{
  position:absolute !important;top:0 !important;left:0 !important;
  width:auto !important;max-width:200px !important;
  height:56px !important;min-height:0 !important;max-height:56px !important;
  margin:0 !important;object-fit:contain;object-position:left center;
  filter:none !important;mix-blend-mode:normal !important;
}
html body #banner .banner_content .wp-block-button{
  display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;
}
/* Produktfoto: unverfaelscht, auf weisser Karte */
html body #banner #img{
  position:static !important;display:flex !important;
  align-items:center !important;justify-content:center !important;
  width:auto !important;height:auto !important;
  margin:0 !important;padding:0 !important;top:auto !important;right:auto !important;
}
html body #banner #img .mainimage{
  position:relative;display:inline-block;margin:0;
  background:#fff;border-radius:16px;padding:24px;
  box-shadow:0 2px 12px rgba(17,50,96,.06);
}
html body #banner #img img,
html body #banner:hover #img img{
  display:block;width:auto !important;max-width:100% !important;
  height:auto !important;min-height:0 !important;max-height:520px !important;
  margin:0 auto !important;object-fit:contain;
  mix-blend-mode:normal !important;filter:none !important;opacity:1 !important;
}
html body #banner #img .infobox-content{box-shadow:0 4px 16px rgba(17,50,96,.15);border-radius:8px}

/* Zurueck zur Uebersicht: Sekundaer-Button (vorher schwarz) */
html body #innerontent a.backtotopic{
  position:absolute !important;z-index:60 !important;
  top:28px !important;left:max(24px,calc((100% - 1160px) / 2)) !important;
  display:inline-flex !important;align-items:center;justify-content:center;gap:8px;
  width:auto !important;min-height:48px;padding:10px 20px 10px 16px !important;
  background:#fff !important;color:var(--rw-aktion) !important;
  border:2px solid var(--rw-aktion) !important;border-radius:8px !important;
  font-family:var(--rw-font) !important;font-weight:800 !important;font-size:16px !important;
  line-height:1.3;text-align:left;text-decoration:none !important;box-shadow:none !important;
}
html body #innerontent a.backtotopic::before{
  content:"";flex:none;width:20px;height:20px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") center/20px no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") center/20px no-repeat;
}
html body #innerontent a.backtotopic:hover{
  background:#fff !important;color:var(--rw-navy) !important;border-color:var(--rw-navy) !important;
}
html body #innerontent a.backtotopic:focus-visible{outline:2px solid var(--rw-navy) !important;outline-offset:2px}

@media (max-width:979px){
  html body #banner{
    grid-template-columns:minmax(0,1fr);gap:32px;
    padding:92px 20px 40px !important;
  }
  html body #innerontent a.backtotopic{top:20px !important;left:20px !important}
  html body #banner .banner_content h1{padding-top:60px}
  html body #banner .banner_content .herstellerlogo{height:44px !important;max-height:44px !important;max-width:160px !important}
  html body #banner #img .mainimage{display:block;width:100%;padding:16px}
  html body #banner #img img,
  html body #banner:hover #img img{width:100% !important;max-height:360px !important}
}
@media (max-width:480px){
  html body #banner .banner_content .wp-block-button a.wp-block-button__link{flex:1 1 140px}
}

/* --------------------------------------------------------------------------
   8. Kontaktwege als Standard-Buttons mit Icon (/kontakt-anfragen-rowamed/,
      Seiten-CSS .rwk-weg) v2.1.0. Icon 20 px, 8 px Abstand, einfarbig.
      Alle drei Wege sekundaer (Entscheidung Robby 21.11.: primaer ist
      nur "Anfrage senden" im Formular daneben).
   -------------------------------------------------------------------------- */
html body .rwk .rwk-wege{gap:12px !important}
html body .rwk a.rwk-weg,
html body .rwk button.rwk-weg{
  display:inline-flex !important;align-items:center !important;justify-content:center;gap:8px !important;
  min-height:48px !important;padding:12px 20px !important;margin:0 !important;
  background:#fff !important;color:var(--rw-aktion) !important;
  border:2px solid var(--rw-aktion) !important;border-radius:8px !important;
  font:800 16px/1.3 var(--rw-font) !important;
  text-decoration:none !important;box-shadow:none !important;
}
html body .rwk a.rwk-weg:hover,
html body .rwk button.rwk-weg:hover{
  background:#fff !important;color:var(--rw-navy) !important;border-color:var(--rw-navy) !important;
}
html body .rwk .rwk-weg svg{width:20px !important;height:20px !important;stroke:currentColor !important}
html body .rwk a.rwk-weg:focus-visible,
html body .rwk button.rwk-weg:focus-visible{outline:2px solid var(--rw-navy) !important;outline-offset:2px}

/* --------------------------------------------------------------------------
   9. Startseite: Drei-Spalten-Sektion Ultraschallgeraete / Kardiologie-Systeme /
      Patientenlagerung (Otter-Block 873985d4, Seite 2) v2.1.3.
      Buttons auf Desktop buendig unten, auch bei unterschiedlich langem Text.
   -------------------------------------------------------------------------- */
@media (min-width:960px){
  html body #wp-block-themeisle-blocks-advanced-columns-873985d4 > .innerblocks-wrap{align-items:stretch}
  html body #wp-block-themeisle-blocks-advanced-columns-873985d4 > .innerblocks-wrap > .wp-block-themeisle-blocks-advanced-column{
    display:flex;flex-direction:column;
  }
  html body #wp-block-themeisle-blocks-advanced-columns-873985d4 > .innerblocks-wrap > .wp-block-themeisle-blocks-advanced-column > .wp-block-buttons{margin-top:auto}
  html body #wp-block-themeisle-blocks-advanced-columns-873985d4 > .innerblocks-wrap > .wp-block-themeisle-blocks-advanced-column > *:not(.wp-block-buttons){width:100%}
}
