@charset "UTF-8";

/* Montserrat */
@font-face {
  font-family: 'Montserrat';
  src: url(../fonts/montserrat-700.woff) format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url(../fonts/montserrat-400.woff) format("woff");
  font-weight: 400;
  font-style: normal;
}

.mt-40 {margin-top:80px;}

.anmeldung-eintaegig .seminar_none {display:none;}
.anmeldung-eintaegig .seminar_show {display:block;}
.anmeldung .seminar_show {display:none;}

.button.cursor, .button.cursor:hover {
  cursor: auto;
  color: #fff;
}

.white-bg {background:#fff;}

/* Entfernt 2026-05-24: `#dienstleistungen a {color:#fff;}` griff nur auf DE
   (Section-id = "dienstleistungen"); auf FR ist die id "services" → Schrift
   blieb dort schwarz. Die weiße Kartenschrift regelt jetzt sprachneutral
   `.ds-card` in tokens.css. */

.webinar .columns {color:#67369A;}
.webinar .columns h2 {color:#67369A;}

.impfen-in-zeiten-der-covid-19-pandemie h1 {padding-top:1em;}

  .mobile img {
    height: auto;
    float: left;
    margin-right: 15px;
  }



@media all and (max-width: 767px) {
  .columns {
    margin-bottom: 20% !important;
  }

  .mobile #menu {
    background: #fff;
  }

  h1,
  h2 {
    font-size: 1.4em !important;
      }



  .section2 .three.columns img {
    float: none !important;
  }

  .eventinfo,
  .eventdate {
    margin-bottom: 20px;
  }
}

.veranstaltungen .row {
  margin: 10px;
  padding: 20px;
  border-top: 1px dashed #eee;
}

.home .six .section2 a {
  marign-top: 20px !important;
  display: block;
  text-decoration: underline;
}

.section_projects .four img {
  max-width: 60%;
  height: auto;
}

.section_projects a {
  color: #A696D7;
}

.button {
  background: #A696D7;
  color: #fff;
  border-color: #fff;
}

a.js-scroll-trigger {
  font-size: 1rem;
}

.section {
  margin: 0px auto;
  max-width: 1380px;
  background: #fff;
}

/* Veranstaltungs-Übersicht (projects.php) und -Detail (project.php) –
   einheitliche Card-Optik: Luft zum fixed Header, abgerundete Ecken,
   Innenabstand für H1 / Card-Grid / Termine. */
.section_project,
.section_projects {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
  padding: var(--space-7) var(--space-5) var(--space-8);
  border-radius: var(--radius-lg);
}

/* Mobil weniger seitliches Padding (analog .ds-page in tokens.css), damit
   die Termin-Karten nicht über den rechten Rand laufen. */
@media all and (max-width: 38em) {
  .section_project,
  .section_projects {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}

.section1 h1 {
  text-align: center;
  font-size: 3rem;
  padding: 3rem;
  margin: 0px;
}

.section2 a {
  font-weight: bold;
  display: block;
  border: 0px;
  color: #A696D7;
}

.section3 {
  text-align: center;
}

.section2 .row,
.section3 .row {
  margin-bottom: 8rem;
}

.section3 img {
  -webkit-filter: invert(100%);
  /* Safari 6.0 - 9.0 */
  filter: invert(100%);
  max-width: 50%;
  height: auto;
  margin: 0px auto;
}

.section4 ul li {
  margin-left: 2rem;
  list-style-type: disc;
}

.section4 ul {
  margin-top: 2rem;
  list-style-type: disc;
}

.section2,
.section3,
.section4,
.section5 {
  padding-top: 100px;
  padding-bottom: 100px;
}

.footer-copyright {
  text-align: center;
  font-size: 12px;
  position: absolute;
  bottom: 0px;
  padding-top: 20px;
  width: 100%;
}

.section1 img,
.section2 img {
  max-width: 50%;
  height: auto;
  maring: 0px auto;
}

.section2 .three.columns img {
  float: right;
}

.section2 .six {
  text-align: center;
}

.container.full {
  width: 100%;
}

.lila {
  background: #A696D7;
  color: #fff;
}

/* events */
ol strong {
  display: block;
}

h1#event {
  font-size: 1.6em;
  letter-spacing: 1px;
  margin-top: 1rem !important;
}

.eventitem {
  margin: 10px;
  padding: 20px;
  border-bottom: 1px dashed #eee;
}

.newimage {
  width: auto;
  border: 0px;
  float: left;
  margin-right: 20px;
}

.hidden {
  display: none;
}

/* -----  1.2 Reset & Normalization  ---------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  border: none;
  box-sizing: border-box;
  list-style: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

::-moz-selection {
  background: #eee;
  color: #261e66;
}

::selection {
  background: #eee;
  color: #261e66;
}

/* -----  1.3 General Typography  ------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
pre {
  /* Reset font-sizes and normalize margins */
  font-size: inherit;
  line-height: inherit;
  margin: 0 0 1.5rem;
}

h1 {
  font-size: 2em;
  text-align: left;
  font-family: Montserrat, sans-serif;
  font-weight: normal;
  color: #A696D7;
}

h2 {
  color: #A696D7;
  font-size: 2rem;
  letter-spacing: 1px;
  font-weight: bold;
}

h3 {
  font-size: 1.25em;
  line-height: 1.2;
}

h4 {
  font-size: 1em;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid #eee;
}

a:hover,
a:focus,
a:active {
  color: #7f87c8;
}

/* Misc */
hr {
  font-size: 1.25rem;
  font-weight: 500;
  height: 1.5rem;
  text-align: center;
  margin-top: 0rem;
  margin-bottom: .5rem;
  color: #eee;
}

.home hr {
  font-size: 1.25rem;
  font-weight: 500;
  height: 1.5rem;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
  color: #eee;
}

hr::before {
  content: "";
  position: relative;
  display: block;
  background: currentColor;
  height: 2px;
  top: calc(50% + 1px);
}

hr::after {
  content: "❖";
  background: #fff;
  position: relative;
  padding: 0 .25rem;
  top: -.25rem;
}

h1+hr,
.intro+hr {
  /* Shift a <hr> right after an `.intro`
     or <h1> block one line up. */
  margin-top: -1.5rem;
}

i,
em {
  /* Vesper Libre does not have Italics,
     so we use a the *medium* weight instead */
  font-weight: 500;
  font-style: normal;
}

b,
strong {
  font-weight: 700;
}

mark {
  padding: .1em .05em;
  margin: -.1em 0;
  color: #261e66;
  background: #eafded;
}

/* -----  1.4 Images & Figures  --------------------------------------------- */
img {
  border-style: none;
  width: 100%;
  height: auto;
}

figcaption {
  font-size: .75rem;
  line-height: 1.5rem;
}

/* =====  2 Layout Helpers & Reusable Components  =========================== */
/* The Clearfix™: A classic … */
.cf::after {
  content: "";
  display: block;
  height: 0;
  overflow: hidden;
  clear: both;
}

/* -----  2.1 Kirbytext  ---------------------------------------------------- */
ol li {
  margin-bottom: 1rem;
}

.intro {
  text-align: left;
  font-weight: 500;
  margin-bottom: 3rem;
}

h1.home {
  text-align: center;
  font-size: 2rem;
  line-height: 2.4rem;
  font-weight: normal;
  background: #A696D7;
  color: #fff;
  padding: 2rem;
  font-family: Montserrat, sans-serif;
}

h1+.intro {
  margin-top: -2.25rem;
}

.text h2,
.text h3 {
  margin-top: 3rem;
}

.text ul,
.text ol {
  margin-left: 1.5em;
}

.text hr {
  /* We use a more muted style for horizontal rules within
     the main content. */
  color: #a8a5be;
}

.text ul {
  list-style: none;
}

.text ul>li::before {
  content: "–";
  display: inline-block;
  position: relative;
  width: 1.25em;
  margin-right: -1.25em;
  left: -1.25em;
  padding-left: .25em;
  font-weight: normal;
}

.text ol>li {
  list-style: decimal;
}

.text pre,
.text code {
  background-color: #eafded;
  font-family: Courier, monospace;
  font-size: .75rem;
}

.text code {
  margin: -.25em 0;
  padding: .25em .15em;
  position: relative;
  bottom: .05em;
}

.text pre>code {
  display: block;
  margin: 0;
  padding: .8em;
  position: static;
  bottom: auto;
  overflow-x: auto;
}

@supports (-webkit-overflow-scrolling: touch) {
  .text pre>code {
    /* Enables smoother scrolling for code sections on
       mobile (i.e. touch) devices. */
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }
}

.text kbd {
  padding: 3px 7px;
  margin: -3px 2px;
  font-size: 75%;
  line-height: 1;
  background: #e9e9e9;
  border-radius: 4px;
  box-shadow: 0 2px 0 #c9c7d4;
  position: relative;
  bottom: 2px;
}

.text blockquote {
  border-left: 2px solid #a8a5be;
  padding: .75rem;
  background: #fffffd;
}

.text blockquote :last-child {
  margin-bottom: 0;
}

/* -----  2.2 Button  ------------------------------------------------------- */
.btn {
  display: inline-block;
  border: 2px solid;
  padding: .6em .75em;
  white-space: nowrap;
  font-size: .75em;
  line-height: 1;
  font-weight: 400;
}

.btn:hover,
.btn:focus {
  background: #261e66;
  border-color: #261e66;
  color: #eee;
}

.btn:active {
  background: #4509be;
  border-color: #4509be;
}

/* -----  2.3 Grid & Layout  ------------------------------------------------ */
.grid.gutter-1 {
  /* We don’t use the shorthand attribute `margin: …` here
     to make vertical margin easily overridable by other
     styles with a lower specifity. */
  margin-left: -.375rem;
  margin-right: -.375rem;
}

.grid.gutter-1 .column {
  padding-left: .375rem;
  padding-right: .375rem;
}

.column {
  position: relative;
  display: inline-block;
  width: 100%;
  font-size: 1rem;
  vertical-align: top;
}

.wrap {
  box-sizing: content-box;
  margin: 0 auto;
  max-width: 1380px;
}

.wrap.wide {
  max-width: 1380px;
}

@media all and (min-width: 31.5em) {
  .wrap:not(.wide) {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media all and (min-width: 38.25em) {
  .wrap {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .wrap.wide {}
}

/* -----  2.4 Pagination  --------------------------------------------------- */
.pagination {
  margin-bottom: 1.5rem;
}

.pagination-item {
  position: relative;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #efeeed;
  color: #261e66;
  border-bottom: 0;
}

.pagination-item:hover,
.pagination-item:focus {
  background: #261e66;
  color: #eee;
}

.pagination-item:active {
  background: #4509be;
}

.pagination-item.left {
  float: left;
}

.pagination-item.right {
  float: right;
}

.pagination-item svg {
  position: relative;
  top: 50%;
  display: block;
  margin: -6px auto 0;
  width: 24px;
  height: 12px;
}

.pagination-item path {
  fill: currentColor;
}

.pagination-item.is-inactive {
  color: #e4e3e6;
  border: 2px solid currentColor;
  background: transparent;
}

@media all and (min-width: 75em) {
  .pagination-item {
    position: fixed;
    top: 50%;
    margin-top: -.875rem;
  }

  .pagination-item.left {
    float: none;
    left: 2.25rem;
  }

  .pagination-item.right {
    float: none;
    right: 2.25rem;
  }
}

@media all and (pointer: coarse) {
  .pagination-item {
    /* On touch-devices we increase prev/next buttons */
    width: 2.25rem;
    height: 2.25rem;
  }
}

/* ----- 2.5 Projects Showcase ---------------------------------------------- */
.showcase {
  position: relative;
}

.showcase li {
  display: block;
  vertical-align: top;
  text-align: left;
}

.showcase li img {
  border: 0px;
  width: auto;
}

.showcase li a {
  border: 0px;
  width: auto;
}

table.showcase {}

table.showcase td {
  padding: 1rem;
}

table.showcase td img {
  max-width: 160px;
  height: auto;
}

table.showcase a {
  color: #7f87c8;
  border-bottom: 2px solid #7f87c8;
}

span.green,
span.green2,
span.green3 {
  background: hsl(141, 71%, 48%);
  color: #fff;
  padding: 3px;
  display: block;
  width: 120px;
  text-align: center;
  margin-top: -20px;
}

span.green p,
span.green2 p,
span.green3 p {
  padding: 0px;
  margin: 0px;
  font-size: .8em;
}

span.orange,
span.orange2,
span.orange3 {
  background: hsl(48, 100%, 67%);
  color: #fff;
  padding: 3px;
  display: block;
  width: 120px;
  text-align: center;
  margin-top: -20px;
}

span.orange p,
span.orange2 p,
span.orange3 p {
  padding: 0px;
  margin: 0px;
  font-size: .8em;
}

span.red,
span.red2,
span.red3 {
  background: hsl(348, 100%, 61%);
  color: #fff;
  padding: 3px;
  display: block;
  width: 120px;
  text-align: center;
  margin-top: -20px;
}

span.red p,
span.red2 p,
span.red3 p {
  padding: 0px;
  margin: 0px;
  font-size: .8em;
}

.showcase-item {
  list-style: none;
  margin-bottom: .75rem;
  position: relative;
}

@media all and (min-width: 38em) {
  .showcase-item {
    width: 33.33%;
  }

  .showcase-item:nth-last-child(3n+2):first-child,
  .showcase-item:nth-last-child(3n+2):first-child+.showcase-item,
  .showcase-item:nth-last-child(3n+1):first-child,
  .showcase-item:nth-last-child(3n+1):first-child~.showcase-item:nth-child(-n+4) {
    /* x = items
       When x % 3 = 2, select first and second item:
       When x % 3 = 1, select first 4 items: */
    width: 50%;
  }
}

.showcase-link {
  display: block;
  position: relative;
  padding-top: 100%;
  z-index: 0;
  border-bottom: 0;
}

.showcase-caption {
  position: absolute;
  top: .75rem;
  left: .75rem;
  right: .75rem;
  bottom: .75rem;
  background: rgba(238, 238, 238, .5);
  color: #eafded;
  letter-spacing: .05em;
  opacity: 0;
  -webkit-transition: .25s opacity;
  transition: .25s opacity;
  will-change: opacity;
}

.showcase-title {
  margin-bottom: 0;
  text-align: center;
  width: 100%;
  padding: 0 1.5rem;
  /* Vertically center the caption */
  position: absolute;
  top: 70%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: #ccc;
}

.showcase-image {
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  max-width: 100%;
  height: auto;
}

.showcase-link:hover .showcase-caption,
.showcase-link:focus .showcase-caption {
  opacity: 1;
}

@media (any-hover: none) {
  .showcase-caption {
    /* The media query, enclosing these rules matches only
       touch-screen devices that do not support hover due
       to the lack of a pointing device like a mouse.
       It does not work in all mobile browsers, but
       progressively enhances the experience on supported
       devices. Tested in Safari (iOS) 9.3 */
    opacity: 1.0;
    /* Reset will-change property to keep it from eating
       up unneccessary resources on touch-only devices */
    will-change: auto;
  }

  .showcase-title {
    font-size: .85em;
  }
}

/* =====  3 Site Layout  ==================================================== */
html {
  background: #fff;
  color: #555;
  font: normal 300 1em/1.5 Montserrat, Arial, sans-serif;
  overflow-y: scroll;
  cursor: default;
  position: relative;
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(113, 239, 172, .5);
}

@media all and (max-width: 30em) {
  html {
    /* We decrease the font-size a little-bit for tiny
       screens. Because this stylesheet uses relative units
       everywhere, everything scales nicely. */
    font-size: 1.25em;
  }
}

body {
  margin-bottom: 0;
  background: #F6F5F3;
  padding-top: 76px;
  font-size: 1em;
  font-family: Montserrat, sans-serif;
}

/* Mobiler Header (< 56em, gestapelt):
   Das Logo nutzte max-width:260px + height:auto – die reale Höhe hing dann
   vom Browser-SVG-Rendering ab (mal ~80px, mal ~100px+), wodurch der fixe
   Header unberechenbar hoch wurde und die H1 (Impressum/Datenschutz) je nach
   Gerät wieder verdeckte. Lösung: feste, kleinere Logo-HÖHE → Header-Höhe ist
   überall exakt gleich. body padding-top deckt sie mit Reserve ab. */
@media all and (max-width: 56em) {
  /* .header davor, damit die Spezifität (0,2,0) die später im File stehende
     Basisregel `.resp_img { height:auto; max-width:260px }` sicher schlägt. */
  .header .resp_img {
    height: 60px;
    width: auto;
    max-width: 100%;
  }
  .header .grid {
    padding-top: 18px;
    padding-bottom: 14px;
  }
  body {
    padding-top: 110px;
  }
}

body.anmeldung-grundversorger,
body.vacupdate-gynaekologen,
body.anmeldung-gynaekologen,
body.anmeldung-impfen {
  padding-top: 180px;
}

body.anmeldung-grundversorger form {
  padding-top: .5em;
}

/* ----- 3.1  Header  ------------------------------------------------------- */
.header {
  position: fixed;
  width: 100%;
  z-index: 5000;
  top: 0px;
  left: 0px;
}

.header .grid {
  max-width: 100%;
  background: #fff;
  display: block;
  margin: 0px auto;
  overflow: hidden;
  padding-left: 20px;
  padding-right: 20px;
}

#topaction {
  opacity: 0;
  position: fixed;
  bottom: 20px;
  transition: 2s;
  right: 30px;
  z-index: 99;
  border: 1px solid;
  outline: none;
  background-color: #A696D7;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
  font-size: 18px;
}

html .p_img {
  max-width: 100% !important;
  height: auto;
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}

.branding {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.95rem;
  margin-bottom: .45rem;
}

.branding a {
  border-bottom: 0;
}

.resp_img {
  max-width: 260px;
  height: auto;
}

@media all and (min-width: 56em) {
  .homeintro {
    max-width: 1380px;
    height: 100%;
    margin: 0px auto;
  }

  .branding {
    vertical-align: baseline;
    float: left;
    width: 30%;
    text-align: left;
    line-height: 3rem;
    margin-bottom: 0;
  }

  .nav-collapse {
    width: 70%;
    float: right;
    text-align: right;
  }
}

/* -----  3.3 Sticky Footer  ------------------------------------------------ */
@keyframes pulsing-heart {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.2);
  }

  50% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}

/* -----  3.4 Main Content  ------------------------------------------------- */
.main {
  padding-top: 1rem;
  padding-bottom: 1.5rem;
}

/* =====  4 Template-specific Components ==================================== */
/* -----  4.1 Homepage  ----------------------------------------------------- */
.projects-section {
  background: #eee;
  margin-top: 3rem;
  padding-top: 2.25rem;
  padding-bottom: .75rem;
}

.projects-section-more {
  text-align: center;
}

/* ----- 4.2 Blog Article  -------------------------------------------------- */
.article-title {
  font-weight: 700;
  margin-bottom: 0;
}

.article-title a {
  border-bottom: 0;
}

.article-date {
  text-align: center;
}

.article:last-of-type+hr {
  /* Hide last <hr> on blog page */
  display: none;
}

.article-more {
  font-size: 75%;
  text-transform: uppercase;
  letter-spacing: .025em;
  white-space: nowrap;
  border-bottom: 2px solid #eee;
}

/* -----  4.3 Team  --------------------------------------------------------- */
.team {
  margin-top: 3rem;
}

.team-item {
  margin-bottom: 3rem;
}

@media all and (min-width: 30em) {
  .team-item {
    width: 50%;
  }
}

@media all and (min-width: 62.5em) {
  .team-item {
    width: 25%;
  }
}

.team-portrait img {
  /* Eliminate bottom margin */
  display: block;
}

.team-name {
  margin-bottom: 0;
}

.team-about,
.team-contact {
  font-size: .85em;
}

.team-contact a {
  word-wrap: break-word;
}

/* -----  4.4 Contact  ------------------------------------------------------ */
.contact-options {
  list-style: none;
  margin-bottom: 3rem;
  margin-left: -.375rem;
  margin-right: -.375rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.contact-item {
  padding: 0 .375rem;
  background: #eafded;
  background-clip: content-box;
  text-align: center;
  font-size: .85rem;
  width: 100%;
  margin-bottom: .75rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

@media all and (min-width: 40em) {
  .contact-item {
    width: 50%;
  }
}

@media (min-width: 62.5em) {
  .contact-item {
    width: 25%;
  }
}

.contact-item-icon {
  max-width: 50%;
  margin-bottom: 1.5em;
}

.contact-item-title {
  margin-bottom: 1.5em;
}

.contact-item-content {
  padding: 1.5rem 2.25em .375em;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.contact-twitter {
  text-align: center;
  font-weight: 500;
  position: relative;
}

.contact-twitter h2 {
  margin-bottom: 3rem;
}

.contact-twitter h2::before {
  content: "";
  display: block;
  width: 3rem;
  height: 3rem;
  background: url(../images/logo.svg) 50% 50%/contain no-repeat;
  margin: 3rem auto 1.5rem;
}

@media all and (min-width: 36em) {
  .contact-twitter p:not(:first-of-type) {
    width: 50%;
    float: left;
  }
}

@media all and (min-width: 46em) {
  .contact-twitter p:not(:first-of-type) {
    width: 33.33%;
  }
}

/* Alerts messages
-------------------------------------------------- */
.alert {
  padding: .7rem 1rem;
  font-size: 16px;
  color: #fff;
  background: #111;
  position: relative;
  border-radius: 3px;
}

.alert p {
  margin-bottom: .5rem;
}

.alert p:last-of-type {
  margin-bottom: 0;
}

.alert a {
  color: inherit;
  font-weight: bold;
}

.alert.error {
  background: #f40000;
}

.alert.success {
  background: #5ccc79;
}

/* Forms
-------------------------------------------------- */
form {
  font-size: 1rem;
  padding-top: 1.5em;
}

form .field {
  width: 100%;
  display: inline-block;
  margin-bottom: 1.5rem;
}

form .honeypot {
  position: absolute;
  overflow: hidden;
  width: 0;
  height: 0;
  pointer-events: none;
}

form .alert {
  padding: 0 .5em;
  margin: 0 0 .5em;
  font-size: .86em;
  display: inline-block;
}

form label {
  display: block;
  margin-bottom: .5rem;
  font-weight: 500;
  cursor: pointer;
}

form .field.error label {
  color: #f40000;
}

html form input[type="checkbox"] {
  display: inline-block !important;
  float: left;
  width: auto !important;
  margin-right: 10px;
  margin-top: 4px;
}

form input:not([type="button"]):not([type="submit"]),
form textarea {
  width: 100%;
  border: 2px solid #ddd;
  padding: .5rem;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.5em;
}

form input:not([type="button"]):not([type="submit"]):focus,
form textarea:focus {
  border-color: #000;
}

form textarea {
  height: 10em;
  resize: vertical;
}

form button,
form input[type="button"],
form input[type="submit"] {
  padding: .5rem 1.5rem;
  line-height: 1.5em;
  font-family: inherit;
  font-size: inherit;
  border: 0;
  font-weight: 600;
  /*width: 100%;*/
  cursor: pointer;
  background: rgba(5, 199, 34, 1);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
  transition: color .15s ease-out, background-color .15s ease-out;
  border-radius: 2px;
}

form button::-moz-focus-inner,
form input[type="button"]::-moz-focus-inner,
form input[type="submit"]::-moz-focus-inner {
  border: 0;
  padding: 0;
}

form button:hover,
form input[type="button"]:hover,
form input[type="submit"]:hover {
  background: green;
  color: #fff
}

/* Sprachwechsler */
.flag img {
  display: block;
  width: 22px;
  height: 14px;
  border-radius: 2px;
  /* Kräftigerer Rahmen: sonst verschwindet der weiße Mittelstreifen der
     FR-Flagge auf weißem Hintergrund und sie wirkt „zusammengepresst". */
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .28);
  opacity: .55;
  transition: opacity .15s ease;
}
.flag a:hover img {
  opacity: 1;
}
.flag.is-active img {
  opacity: 1;
}
.flag.is-active a {
  pointer-events: none;
  cursor: default;
}
.flag.is-fallback img {
  opacity: .25;
  filter: grayscale(100%);
}
.flag.is-fallback a:hover img {
  opacity: .55;
  filter: grayscale(60%);
}

/* Mobile-Menü: die beiden Sprach-Flaggen (DE/FR) standen untereinander und
   fraßen Platz – nebeneinander stellen. Greift dort, wo das Hamburger-Menü
   aktiv ist (< 50em). */
@media all and (max-width: 50em) {
  #menu li.flag {
    display: inline-block;
    padding: 14px 8px;
    vertical-align: middle;
  }
}

/* ========== Header: einreihiges Flex-Layout (Desktop) ========== */
@media all and (min-width: 56em) {
  .header .grid {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    overflow: visible;
    padding-top: .75rem;
    padding-bottom: .75rem;
  }
  .branding {
    flex: 0 0 auto;
    float: none;
    width: auto;
    margin: 0;
    line-height: 0;
    font-size: inherit;
  }
  .branding a {
    display: block;
    line-height: 0;
  }
  .resp_img {
    display: block;
    height: 52px;
    width: auto;
    max-width: none;
  }
  .nav-collapse {
    flex: 1 1 auto;
    float: none;
    width: auto;
    text-align: right;
  }
  .nav-collapse ul#menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  /* Override responsive-nav.css' margin-right: 40px auf jedem <li> */
  .nav-collapse ul#menu li {
    display: list-item;
    margin: 0;
    padding: 0;
    line-height: 1;
  }
  /* Etwas mehr Luft zwischen "Kontakt" und der ersten Flagge */
  .nav-collapse ul#menu li.flag:first-of-type {
    margin-left: 1rem;
  }
  /* Die zweite Flagge rückt enger an die erste */
  .nav-collapse ul#menu li.flag + li.flag {
    margin-left: -1.25rem;
  }
}

