/*
 Theme Name:   Twenty Twenty-Five Child
 Theme URI:    https://example.com/twenty-twenty-five-child
 Description:  Child theme for the Twenty Twenty-Five theme
 Author:       Fröhlich Info AG
 Author URI:   https://example.com
 Template:     twentytwentyfive
 Version:      1.0.0
*/

body {
  
}

:root {
  --main-blue: #006d77;
  --main-blue-dark: #00565f;
  --white: #ffffff;
}

h1, h2, h3, h4, h5, h6, p {
  -moz-hyphens: auto;
  -o-hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto; 
}

.button,
input[type="submit"],
button {
  background-color: var(--main-blue);
  color: var(--white);
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  display: inline-block;
}

.button:hover,
input[type="submit"]:hover,
button:hover {
  background-color: var(--main-blue-dark);
}

.responsive-map {
  position: relative;
  height: 450px;
  overflow: hidden;
  max-width: 100%;
  background: #f0f0f0;
}

.responsive-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-header {
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* dark overlay for contrast */
    padding: 2rem;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: 3rem;
    margin: 0;
}

.site-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Add a little bit of default "breathing space" for images on all pages: */
.wp-block-post-content img {
	margin-top: 24px;
	margin-bottom: 24px;
}

/* Circle around Cursor, generated from Chat GPT! */
/* Cursor ring — sitewide */
.cursor-ring {
  position: fixed;
  left: 0; top: 0;
  width: 48px; height: 48px;
  margin: -24px 0 0 -24px;           /* centers the ring on the pointer */
  border: 2px solid #4f46e5;         /* ring color */
  border-radius: 9999px;
  pointer-events: none;              /* never block clicks */
  z-index: 999999;                   /* above everything */
  opacity: 0.9;
  transform: translate3d(var(--x, -100px), var(--y, -100px), 0) scale(var(--s, 1));
  transition: transform 120ms ease, opacity 200ms, border-color 200ms, background-color 200ms;
}

/* Click feedback */
.cursor-ring.is-clicking { --s: 0.85; opacity: 0.7; }

/* Hovering interactive elements */
.cursor-ring.is-hovering { --s: 1.25; border-width: 3px; }

/* Respect users who don't use a mouse (phones/tablets) */
@media (hover: none) and (pointer: coarse) {
  .cursor-ring { display: none; }
}



/* Contact Form 7 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  margin-bottom: 12px;
  font-size: 16px;
}

/* Apply this class directly to the <select> element */
.language-switcher select {
  /* Remove native styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* No borders/background */
  border: none;
  background-color: transparent;

  /* Typography & spacing */
  font: inherit;
  line-height: 1.2;
  padding: 0.5rem 2rem 0.5rem 0.5rem; /* room on right for arrow */
  margin: 0;

  /* Right-side arrow (uses current text color) */
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' aria-hidden='true'>\
<path fill='currentColor' d='M10.59.59 6 5.17 1.41.59 0 2l6 6 6-6z'/>\
</svg>");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 0.75rem 0.5rem;

  /* Cursor + width behavior */
  cursor: pointer;
  min-width: 6ch; /* optional, keeps it from collapsing */
  color: inherit; /* arrow inherits this */
}

/* Remove the IE/Edge legacy dropdown arrow */
.language-switcher select::-ms-expand {
  display: none;
}

/* Focus style (keeps accessibility without borders) */
.language-switcher select:focus {
  outline: none; /* remove default */
  box-shadow: 0 0 0 2px currentColor; /* subtle high-contrast ring */
  border-radius: 0.375rem; /* optional nicety */
}

/* Disabled state (optional) */
.language-switcher select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}