/* ========== Base / Theme ========== */
:root{
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f0f6ff;
  --text: #0f172a;
  --muted: #64748b;

  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --ring: rgba(37, 99, 235, 0.25);

  --radius: 18px;
  --radius-sm: 14px;

  --shadow-sm: 0 10px 25px rgba(15, 23, 42, 0.06);
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);

  --container: 1120px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1100px 400px at 20% 5%, rgba(37, 99, 235, 0.10), transparent 55%),
    radial-gradient(900px 380px at 80% 0%, rgba(59, 130, 246, 0.10), transparent 50%),
    var(--bg);
  line-height: 1.55;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.skip-link{
  position: absolute;
  left: 1rem;
  top: -50px;
  background: var(--surface);
  color: var(--text);
  padding: .75rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.skip-link:focus{ top: 1rem; outline: 3px solid var(--ring); }

.muted{ color: var(--muted); font-size: 0.95rem; }

/* ========== Header / Nav ========== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(246, 248, 251, 0.75);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 220px;
}
.brand-mark{
  width: 42px; height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.20), rgba(37, 99, 235, 0.05));
  border: 1px solid rgba(37, 99, 235, 0.25);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.10);
}
.brand-text{ display: grid; line-height: 1.1; }
.brand-name{ font-weight: 750; letter-spacing: -0.02em; }
.brand-sub{ color: var(--muted); font-size: 0.9rem; }

.nav{
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle{
  display: none;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--surface);
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
  box-shadow: var(--shadow-sm);
}
.nav-toggle:focus{ outline: 3px solid var(--ring); }

.nav-toggle-lines{
  display: block;
  width: 18px; height: 12px;
  position: relative;
}
.nav-toggle-lines::before,
.nav-toggle-lines::after{
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
}
.nav-toggle-lines::before{ top: 0; }
.nav-toggle-lines::after{ bottom: 0; }

.nav-menu{
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link{
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  color: rgba(15, 23, 42, 0.82);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-link:hover{
  background: rgba(37, 99, 235, 0.08);
  text-decoration: none;
}
.nav-link.is-active{
  background: rgba(37, 99, 235, 0.12);
  color: rgba(15, 23, 42, 0.95);
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.btn:focus{ outline: 3px solid var(--ring); }

.btn-primary{
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
}
.btn-primary:hover{ filter: brightness(1.03); }

.btn-ghost{
  background: rgba(255,255,255,0.75);
  border-color: rgba(15, 23, 42, 0.10);
}
.btn-ghost:hover{ background: rgba(255,255,255,0.95); }

.btn-book{
  margin-left: 0.25rem;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.18);
}

/* Language switch */
.lang-switch{
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-sm);
  margin-left: 0.35rem;
}
.lang-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 38px;
  border-radius: 999px;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.75);
  text-decoration: none !important;
}
.lang-pill:hover{ background: rgba(37, 99, 235, 0.08); }
.lang-pill.is-active{
  background: rgba(37, 99, 235, 0.14);
  color: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(37, 99, 235, 0.18);
}

/* ========== Hero ========== */
.hero{ padding: 2.2rem 0 1.2rem; }

.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.6rem;
  align-items: center;
}

.hero-copy{
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.eyebrow{
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: rgba(15, 23, 42, 0.85);
  font-weight: 700;
  font-size: 0.9rem;
}

h1{
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.lead{
  margin: 0 0 1.15rem;
  color: rgba(15, 23, 42, 0.78);
  font-size: 1.05rem;
  max-width: 60ch;
}

.hero-actions{
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.hero-media{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.hero-image{
  height: 420px;
  background:
    radial-gradient(600px 240px at 30% 20%, rgba(37, 99, 235, 0.16), transparent 60%),
    linear-gradient(135deg, rgba(226, 232, 240, 0.65), rgba(255, 255, 255, 0.95));
  position: relative;
}
.hero-image::after{
  content: "";
  position: absolute;
  inset: 18% 12% 18% 18%;
  border-radius: 22px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 50px rgba(15,23,42,0.12);
}

/* Info bar */
.info-bar{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: calc(var(--radius) - 6px);
  padding: 0.9rem;
}
.info-title{ font-weight: 800; margin-bottom: 0.25rem; letter-spacing: -0.01em; }
.info-text{ color: rgba(15, 23, 42, 0.78); }
.info-text a{ font-weight: 800; text-decoration: none; color: rgba(15, 23, 42, 0.90); }

/* ========== Sections / Cards ========== */
.section{ padding: 2.2rem 0; }
.section-soft{
  background: linear-gradient(180deg, rgba(240, 246, 255, 0.65), rgba(246, 248, 251, 0));
  border-top: 1px solid rgba(15, 23, 42, 0.04);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}
.section-head{ margin-bottom: 1.1rem; }
.section-head h2{
  margin: 0 0 0.4rem;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: -0.02em;
}
.section-sub{ margin: 0; color: var(--muted); max-width: 70ch; }

.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card{
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.card:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }

.card-icon{
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.18);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}
.card h3{ margin: 0 0 0.35rem; letter-spacing: -0.01em; }
.card p{ margin: 0 0 0.7rem; color: rgba(15, 23, 42, 0.78); }
.card-link{ font-weight: 800; color: rgba(37, 99, 235, 0.95); }
.card-link:hover{ text-decoration: underline; }

/* ========== About ========== */
.about{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.4rem;
  align-items: center;
}
.about-photo{
  border-radius: var(--radius);
  height: 320px;
  background:
    radial-gradient(520px 220px at 30% 25%, rgba(37, 99, 235, 0.14), transparent 58%),
    linear-gradient(135deg, rgba(226, 232, 240, 0.70), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow);
}
.about-copy h2{ margin: 0 0 0.5rem; letter-spacing: -0.02em; }
.lead-sm{ margin: 0 0 0.9rem; color: rgba(15, 23, 42, 0.78); font-size: 1.02rem; }
.list{ margin: 0 0 1.1rem; padding-left: 1.1rem; color: rgba(15, 23, 42, 0.80); }
.list li{ margin: 0.35rem 0; }
.about-actions{ display: flex; gap: 0.65rem; flex-wrap: wrap; }

/* ========== CTA ========== */
.cta{ padding: 2rem 0 2.6rem; }
.cta-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: var(--shadow);
}
.cta-inner h2{ margin: 0 0 0.25rem; letter-spacing: -0.02em; }
.cta-inner p{ margin: 0; color: rgba(15, 23, 42, 0.78); }
.cta-actions{ display: flex; gap: 0.65rem; flex-wrap: wrap; }

/* ========== Footer ========== */
.site-footer{
  padding: 1.5rem 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(246, 248, 251, 0.65);
}
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-brand{ font-weight: 850; letter-spacing: -0.01em; }
.footer-meta{ color: var(--muted); font-size: 0.95rem; }
.footer-links{ display: flex; gap: 1rem; }
.footer-links a{ color: rgba(15, 23, 42, 0.75); font-weight: 650; }

/* ========== Simple pages (room/services/team) ========== */
.page{ padding: 2.2rem 0 3rem; }

.page-card{
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem;
}
.page-card h1{
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
}

/* ========== Contact page ========== */
.contact-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: start;
}
.map{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.map iframe{
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}
.form{
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}
.field{ display: grid; gap: .35rem; margin-bottom: .8rem; }
label{ font-weight: 750; letter-spacing: -0.01em; }

input, textarea{
  font: inherit;
  padding: .8rem .9rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255,255,255,0.9);
}
input:focus, textarea:focus{
  outline: 3px solid var(--ring);
  border-color: rgba(37,99,235,0.35);
}
textarea{ min-height: 140px; resize: vertical; }

.form-actions{ display:flex; gap:.6rem; flex-wrap: wrap; margin-top: .8rem; }
.address{
  margin-top: 1rem;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  padding: 1rem;
}

/* ========== Services page layout ========== */
.services-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "head head"
    "left right";
  gap: 1rem;
}
.services-head{ grid-area: head; }

.services-grid h2{
  margin-top: 0;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
}

/* inline list bullets */
.list-inline{
  list-style: none;
  padding-left: 0;
  margin: .5rem 0;
}
.list-inline li{
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: .35rem;
}
.list-inline li::before{
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
}

/* ========== Team page ========== */
.team-grid{
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 1rem;
}

.team-card{
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;

  display: flex;
  flex-direction: column;
  min-height: 420px;

  transition: transform 160ms ease, box-shadow 160ms ease;
  cursor: pointer;
}
.team-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.team-card:focus{
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}

.team-name{
  padding: 0.9rem 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: center;
  background: rgba(255,255,255,0.7);
}

.team-photo{
  width: 100%;
  height: 260px;
  object-fit: cover;      /* füllt, schneidet ggf. unten */
  object-position: top;   /* Kopf priorisieren */
  background: #f1f5f9;
}

.team-subtitle{
  padding: 0 1rem;
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.78);
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.team-subtitle-lw{
  margin-top: auto;
  padding: 0.6rem 1rem 1rem;
  font-size: 0.75rem;
  color: rgba(15, 23, 42, 0.55);
  font-weight: 600;
  line-height: 1.25;
}

/* ========== Modal (Team) ========== */
.modal{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}
.modal[hidden]{ display: none; }

.modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
}

.modal-dialog{
  position: relative;
  width: min(920px, calc(100% - 2rem));
  max-height: calc(100vh - 2.4rem);
  overflow: auto;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: var(--shadow);
}

.modal-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255,255,255,0.9);
  cursor: pointer;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
}
.modal-close:focus{ outline: 3px solid var(--ring); }

.modal-photo{
  width: 100%;
  height: min(70vh, 560px);
  object-fit: contain;
  object-position: top;
  background: #f1f5f9;
}

.modal-body{ padding: 1rem 1.2rem 1.2rem; }

.modal-title{
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
  font-size: clamp(1.4rem, 2.3vw, 1.8rem);
}
.modal-subtitle{
  font-size: 1rem;
  color: rgba(15, 23, 42, 0.78);
  line-height: 1.4;
  margin-bottom: 0.6rem;
}
.modal-languages{
  font-size: 0.85rem;
  color: rgba(15, 23, 42, 0.60);
  font-weight: 650;
}

/* ========== Responsive ========== */
@media (max-width: 920px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-image{ height: 340px; }
  .cards{ grid-template-columns: 1fr; }
  .about{ grid-template-columns: 1fr; }
  .cta-inner{ flex-direction: column; align-items: flex-start; }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .nav-toggle{ display: inline-flex; align-items: center; gap: .5rem; }

  .nav-menu{
    position: absolute;
    right: 1rem;
    top: 70px;
    width: min(92vw, 380px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    gap: 0.35rem;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open{ display: flex; }
  .nav-link{ padding: 0.8rem 0.9rem; border-radius: 14px; }

  .btn-book{ width: 100%; justify-content: center; margin-left: 0; }
  .info-bar{ grid-template-columns: 1fr; }

  /* Language switch: don't stretch full width */
  .lang-switch{
    width: fit-content;
    align-self: center;
    margin-left: 0;
    margin-top: .25rem;
  }
  .lang-pill{ width: 40px; height: 36px; }

  /* Services layout on mobile */
  .services-grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "left"
      "right";
  }
}

@media (max-width: 520px){
  .modal-photo{ height: min(58vh, 420px); }
  .modal-body{ padding: 0.9rem 1rem 1rem; }
}


.logo img {
  height: 70px;        /* gewünschte Standardhöhe */
  width: auto;         /* Seitenverhältnis bleibt korrekt */
  max-width: 100%;
  object-fit: contain;
  display: block;
}