:root {
  --bg: #ffffff;
  --ink: #23211e;
  --muted: #6b6560;
  --accent: #3d5a45;
  --accent-soft: #e7ede8;
  --card: #ffffff;
  --line: #e5ded4;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/playfair-display-italic-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/fonts/montserrat-normal-300.woff2') format('woff2');
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}
a { color: var(--accent); }
main { max-width: 960px; margin: 0 auto; padding: 0 1.5rem 4rem; }

/* Header und Hamburgermenü */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
}
.header-inner {
  max-width: none;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { font-size: 1.25rem; font-weight: 400; color: var(--ink); text-decoration: none; }
.brand-home { color: var(--accent); font-weight: 700; }
#nav-toggle { display: none; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); }
.nav-links { display: flex; gap: 1.25rem; align-items: center; }
.nav-links a { color: var(--ink); text-decoration: none; font-family: 'Montserrat', system-ui, sans-serif; font-weight: 300; font-size: 0.95rem; letter-spacing: 0.05em; }
.nav-links a.active { color: var(--accent); font-weight: 400; border-bottom: 2px solid var(--accent); padding-bottom: 0.2rem; }
.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 3rem 0 1.5rem; }
.hero h1 { font-size: 2.4rem; line-height: 1.15; margin: 0 0 0.5rem; }
.hero p { color: var(--muted); margin: 0; max-width: 34rem; }

/* Dienst Buttons */
.btn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.btn:hover { border-color: var(--accent); }
.btn svg { width: 2rem; height: 2rem; flex-shrink: 0; color: var(--accent); }
.btn strong { display: block; font-size: 1.05rem; }
.btn small { color: var(--muted); }


/* Statusseite */
.status-list { list-style: none; margin: 1.5rem 0; padding: 0; }
.status-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 0.75rem;
}
.status-list .name { font-weight: 700; }
.status-list .url { color: var(--muted); font-size: 0.9rem; }
.status-list .state { margin-left: auto; font-weight: 600; white-space: nowrap; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #b9b2a8; flex-shrink: 0; }
.dot.up { background: #2e9e5b; }
.dot.down { background: #d64545; }
.checked { color: var(--muted); font-size: 0.9rem; }

/* Formular */
label { display: block; margin-top: 1rem; font-weight: 600; }
input, textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.25rem;
  padding: 0.6rem;
  font: inherit;
  border: 1px solid #999;
  border-radius: 6px;
  background: var(--card);
}
textarea { min-height: 8rem; }
button {
  margin-top: 1.25rem;
  padding: 0.6rem 1.25rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
}
.hp { display: none; }
.ig {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.ig svg { width: 1.25rem; height: 1.25rem; }

footer.site { border-top: 1px solid var(--line); padding: 1.5rem; text-align: center; font-size: 0.9rem; color: var(--muted); }
footer.site a { color: var(--muted); }

@media (max-width: 640px) {
  .hero h1 { font-size: 1.9rem; }
  .burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.5rem 1rem;
  }
  .nav-links a { padding: 0.6rem 0; }
  #nav-toggle:checked ~ .nav-links { display: flex; }
  .status-list li { flex-wrap: wrap; }
  .status-list .state { margin-left: 0; }
}

/* Airbnb Stil: Hero Startseite */
.site-header--hero { position: absolute; top: 0; left: 0; right: 0; background: transparent; border-bottom: none; }
.site-header--hero .brand { color: #fff; }
.site-header--hero .nav-links a { color: #fff; }
.site-header--hero .nav-links a.active { color: #fff; border-bottom: 2px solid #fff; }
.site-header--hero .burger span { background: #fff; }
.hero-full {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1a1a1a;
  padding: 6rem 1.5rem 3rem;
}
.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45));
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease; }
.hero-slide.active { opacity: 1; }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 720px; text-align: center; }
.hero-content h1 { color: #fff; font-size: 2.8rem; line-height: 1.1; margin: 0 0 0.75rem; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
.hero-content p { color: rgba(255, 255, 255, 0.92); margin: 0 0 2rem; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
.hero-bar { display: flex; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); text-align: left; }
.hero-bar a { flex: 1; display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.25rem; text-decoration: none; color: var(--ink); }
.hero-bar a + a { border-left: 1px solid var(--line); }
.hero-bar a:hover { background: var(--accent-soft); }
.hero-bar img.brand-logo { width: 2.4rem; height: 2.4rem; object-fit: contain; flex-shrink: 0; }
.hero-bar strong { display: block; }
.hero-bar small { color: var(--muted); }
@media (max-width: 640px) {
  .hero-content h1 { font-size: 2rem; }
  .hero-bar { flex-direction: column; }
  .hero-bar a + a { border-left: none; border-top: 1px solid var(--line); }
  .site-header--hero .nav-links { background: rgba(24, 22, 20, 0.95); border-bottom: none; }
  .site-header--hero .nav-links a { color: #fff; }
}

/* Wortmarke Hero: Home im Akzentton, on a Hillside in Weiss */
.site-header--hero .brand span { color: #fff; }
.site-header--hero .brand span.brand-home { color: var(--accent); font-weight: 700; }

/* Hero Pfeile */
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 3rem; height: 3rem; border: none; background: transparent; color: #000; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.hero-arrow:hover { background: transparent; color: rgba(0, 0, 0, 0.7); }
.hero-arrow svg { width: 1.6rem; height: 1.6rem; filter: drop-shadow(0 1px 4px rgba(255, 255, 255, 0.7)); }
.hero-arrow--prev { left: 1.5rem; }
.hero-arrow--next { right: 1.5rem; }
@media (max-width: 640px) {
  .header-inner { padding: 0.75rem 1rem; }
  .hero-arrow { width: 2.5rem; height: 2.5rem; }
  .hero-arrow--prev { left: 0.75rem; }
  .hero-arrow--next { right: 0.75rem; }
}

/* Kontakt Auswahl */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.choice-card { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 2rem 1rem; margin: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-decoration: none; color: var(--ink); cursor: pointer; font: inherit; font-weight: 400; text-align: center; }
.choice-card:hover { border-color: var(--accent); }
.choice-card svg { width: 2.2rem; height: 2.2rem; color: var(--accent); }
.choice-card strong { font-size: 1.1rem; }
.choice-card small { color: var(--muted); }
@media (max-width: 640px) { .choice-grid { grid-template-columns: 1fr; } }

/* Fullscreen Instagram slideshow homepage (2026-11-06): no generated background */
.screen-stage { position: fixed; inset: 0; overflow: hidden; background: #111; }
.screen-stage::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6.5rem; z-index: 2; background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0)); pointer-events: none; }
.screen-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5rem; z-index: 2; background: linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0)); pointer-events: none; }
.screen-show { position: absolute; inset: 0; overflow: hidden; cursor: pointer; z-index: 1; }
.screen-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; }
.screen-slide.active { opacity: 1; }
.screen-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 0.4rem; cursor: pointer; color: rgba(255,255,255,0.9); opacity: 0; transition: opacity 0.2s; z-index: 3; }
.screen-show:hover .screen-arrow { opacity: 1; }
.screen-arrow svg { width: 26px; height: 26px; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6)); }
.screen-arrow--prev { left: 1.2rem; }
.screen-arrow--next { right: 1.2rem; }
.site-header--overlay { position: absolute; top: 0; left: 0; right: 0; z-index: 10; background: transparent; }
.site-header--overlay .brand { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.site-header--overlay .brand span { color: #fff; }
.site-header--overlay .brand .brand-home { color: #fff; font-weight: 700; }
.header-logos { display: flex; align-items: center; gap: 1.1rem; }
.header-logos a { display: inline-flex; align-items: center; }
.header-logos img { height: 26px; width: auto; display: block; }
.site-header--overlay .header-logos img { filter: invert(1) drop-shadow(0 1px 4px rgba(0,0,0,0.4)); }
.screen-footer { position: absolute; left: 0; right: 0; bottom: 0.9rem; text-align: center; z-index: 10; font-size: 0.8rem; letter-spacing: 0.04em; }
.screen-footer a { color: rgba(255,255,255,0.85); text-decoration: none; margin: 0 0.6rem; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.screen-footer a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 640px) {
  .header-logos { gap: 0.7rem; }
  .header-logos img { height: 21px; }
  .screen-arrow--prev { left: 0.5rem; }
  .screen-arrow--next { right: 0.5rem; }
}

/* Touch devices have no hover: show the screen arrows always */
@media (hover: none) {
  .screen-arrow { opacity: 1; }
}

/* Subpages: same chrome as the homepage, single screen (2026-11-06) */
body.subpage { height: 100vh; height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
body.subpage .site-header { position: relative; flex: none; }
body.subpage main { flex: 1; min-height: 0; overflow-y: auto; padding: 0.75rem 1.5rem 1rem; }
body.subpage .hero { padding: 0.25rem 0 0.75rem; }
body.subpage .hero p { font-size: 0.95rem; }
body.subpage .overall { display: flex; align-items: center; gap: 0.6rem; font-size: 1.05rem; font-weight: 700; margin: 0.75rem 0 1rem; }
body.subpage .overall .dot { width: 14px; height: 14px; }
body.subpage .status-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0 0 0.75rem; }
body.subpage .status-list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.2rem; padding: 0.85rem 0.5rem; margin: -1px 0 0 -1px; border: 1px solid var(--line); border-radius: 0; background: #fff; }
body.subpage .status-list .tile-top { display: flex; align-items: center; gap: 0.45rem; }
body.subpage .status-list .name { font-size: 0.88rem; white-space: nowrap; }
body.subpage .status-list .state { margin-left: 0; font-size: 0.82rem; color: var(--muted); font-weight: 400; white-space: nowrap; }
body.subpage .status-list li.is-down { background: #fdf3f3; }
body.subpage .status-list li.is-down .state { color: #d64545; font-weight: 600; }
@media (max-width: 640px) { body.subpage .status-list { grid-template-columns: repeat(2, 1fr); } }
body.subpage .checked { margin: 0.35rem 0; font-size: 0.85rem; }
body.subpage label { margin-top: 0.6rem; }
body.subpage textarea { min-height: 5rem; }
body.subpage button[type="submit"] { margin-top: 0.9rem; }
body.subpage .choice-grid { margin-top: 0.75rem; }
body.subpage .choice-card { padding: 1.25rem 1rem; }
body.subpage h2 { font-size: 1.05rem; margin: 1.1rem 0 0.3rem; }
body.subpage p, body.subpage li { font-size: 0.92rem; line-height: 1.5; }
.subpage-footer { flex: none; text-align: center; font-size: 0.8rem; letter-spacing: 0.04em; padding: 0.7rem 0 0.9rem; }
.subpage-footer a { color: var(--muted); text-decoration: none; margin: 0 0.6rem; }
.subpage-footer a:hover { color: var(--ink); text-decoration: underline; }
.subpage-footer a.active { color: var(--accent); font-weight: 700; border-bottom: 2px solid var(--accent); padding-bottom: 0.2rem; }
