/* Vorlagen Griechisch und Türkisch. Farben kommen als --brand, --accent, --ink von der Seite. */
.digi-house {
  --paper: #f6f1e7;
  --muted: color-mix(in srgb, var(--ink) 62%, #fff);
  --line: color-mix(in srgb, var(--ink) 14%, transparent);
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.5;
}
.digi-house *,
.digi-house *::before,
.digi-house *::after { box-sizing: border-box; }
.digi-house h1,
.digi-house h2,
.digi-house h3,
.digi-house .wordmark {
  font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}
.digi-house p { margin: 0; }
.digi-house a { color: inherit; }
.digi-house .wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.digi-house .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  border: 1px solid var(--brand);
  border-radius: 999px;
  padding: 12px 22px;
  font: 700 0.95rem/1 inherit;
  cursor: pointer;
}
.digi-house .btn-line { background: transparent; color: inherit; }
.digi-house .band {
  height: 36px;
  background: center / cover no-repeat;
}
.digi-griechisch .band { background-image: url("/t/griechisch/muster.webp"); background-size: auto 100%; background-repeat: repeat-x; background-position: center; }
.digi-tuerkisch .band { height: 64px; background-image: url("/t/tuerkisch/muster.webp"); }

.digi-house .notice {
  background: var(--brand);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 16px;
}
.digi-house .top { position: sticky; top: 0; z-index: 40; background: var(--paper); }
.digi-house .bar { display: flex; align-items: center; gap: 18px; min-height: 76px; }
.digi-house .brand { display: flex; align-items: center; text-decoration: none; }
.digi-house .logo-img { height: 58px; width: auto; }
.digi-house .wordmark { font-size: 1.6rem; color: var(--brand); }
body:has(.digi-house) { margin: 0; background: #f6f1e7; }
.digi-house .links { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.digi-house .links a { text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.digi-house .links .btn { color: #fff; }
.digi-house .bar-actions { display: flex; align-items: center; gap: 8px; }
.digi-house .nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.digi-house .nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }
.digi-house .nav-toggle span { transition: transform 0.2s ease, opacity 0.2s ease; }
.digi-house .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.digi-house .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.digi-house .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.digi-house .cart {
  position: relative;
  border: 0;
  background: var(--ink);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
}
.digi-house .cart[hidden] { display: none; }
.digi-house .cart span:last-child {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.digi-house .hero { position: relative; min-height: 78vh; background: var(--ink); color: #fff; }
.digi-house .hero-visual,
.digi-house .hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.digi-house .hero-visual img { opacity: 0; transition: opacity 0.6s ease; }
.digi-house .hero-visual img:first-child { opacity: 1; }
.digi-house .hero-visual img.is-active { opacity: 1; }
.digi-house .hero-visual:has(img.is-active) img:not(.is-active) { opacity: 0; }
.digi-house .hero-shade {
  position: relative;
  z-index: 1;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.72));
  padding: 48px 0 36px;
}
.digi-house .kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
}
.digi-house .hero h1 { font-size: clamp(3rem, 7vw, 6rem); max-width: 12ch; }
.digi-house .lead { max-width: 38rem; margin-top: 12px; font-size: 1.15rem; }
.digi-house .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.digi-house .hero .btn-line { color: #fff; border-color: #fff; }
.digi-house .facts { display: flex; flex-wrap: wrap; gap: 18px 28px; list-style: none; padding: 0; margin: 28px 0 0; }
.digi-house .facts b { display: block; font-size: 1.05rem; }
.digi-house .facts span { color: rgba(255, 255, 255, 0.8); font-size: 0.85rem; }

.digi-house .highlights { background: var(--ink); color: #fff; }
.digi-house .highlights-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 22px 0; }
.digi-house .highlights b { display: block; }
.digi-house .highlights small { color: rgba(255, 255, 255, 0.75); }

.digi-house .section { padding: 72px 0; }
.digi-house .head { text-align: center; margin-bottom: 28px; }
.digi-house .eyebrow { color: var(--brand); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.75rem; font-weight: 800; }
.digi-house h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-top: 6px; }
.digi-house .intro { color: var(--muted); margin-top: 8px; }

.digi-house .offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.digi-house .offers article { border: 1px solid var(--line); border-radius: 18px; padding: 18px; background: #fff; }
.digi-house .offers b { color: var(--brand); font-size: 1.3rem; }
.digi-house .offers h3 { font-size: 1.4rem; margin: 6px 0; }
.digi-house .when { color: var(--muted); font-size: 0.85rem; }

.digi-house .story-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.digi-house .story img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; }
.digi-house .story p + p { margin-top: 12px; }
.digi-house .sig { font-family: Palatino, Georgia, serif; font-style: italic; color: var(--brand); font-size: 1.3rem; }

.digi-house .banner { position: relative; min-height: 280px; display: grid; place-items: center; text-align: center; color: #fff; background: var(--brand); overflow: hidden; }
.digi-house .banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.digi-house .banner div { position: relative; z-index: 1; background: color-mix(in srgb, var(--ink) 55%, transparent); padding: 28px 32px; border-radius: 18px; }
.digi-house .banner h2 { font-size: 2.6rem; }

.digi-house .tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.digi-house .tabs button {
  font: 700 0.95rem/1 inherit;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}
.digi-house .tabs button.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.digi-house .sizes { display: flex; justify-content: flex-end; gap: 18px; color: var(--muted); font-size: 0.85rem; }
.digi-house .cards { display: grid; gap: 10px; }
.digi-house .item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.digi-house div.item { cursor: default; }
.digi-house .item .pimg { width: 84px; height: 84px; border-radius: 12px; }
.digi-house .item h3 { font-size: 1.35rem; }
.digi-house .item p { color: var(--muted); font-size: 0.92rem; }
.digi-house .num { color: var(--brand); margin-right: 6px; }
.digi-house .alg { font-size: 0.75rem; }
.digi-house .prices { display: flex; gap: 12px; }
.digi-house .prices b { display: block; color: var(--brand); white-space: nowrap; }
.digi-house .prices small { color: var(--muted); }
.digi-house .add {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--ink);
  font-weight: 800;
}
.digi-house .note { margin-top: 12px; color: var(--muted); font-size: 0.9rem; }

.digi-house .event { background: var(--ink); color: #fff; }
.digi-house .event .eyebrow { color: var(--accent); }
.digi-house .event-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 24px; align-items: center; }
.digi-house .event-card { background: color-mix(in srgb, #fff 8%, transparent); border-radius: 18px; padding: 22px; }
.digi-house .event-card b { font-size: 1.6rem; }

.digi-house .visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.digi-house .visit h3 { font-size: 1.8rem; margin-bottom: 12px; }
.digi-house .hours { list-style: none; padding: 0; margin: 0; }
.digi-house .hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.digi-house .hours .closed { color: var(--muted); }
.digi-house .addr { font-size: 1.15rem; }
.digi-house .visit-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.digi-house .special-hours { margin-top: 12px; color: var(--muted); }

.digi-house .legal-page { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 64px 0 80px; }
.digi-house .legal-page h1 { font-size: 2.6rem; margin-bottom: 16px; }
.digi-house .legal-page h2 { font-size: 1.4rem; margin: 22px 0 8px; }
.digi-house .legal-page p { white-space: pre-line; color: var(--muted); }

.digi-house footer { padding: 28px 0 20px; }
.digi-house .foot { display: grid; grid-template-columns: 1.4fr 0.8fr 1.2fr; gap: 24px; }
.digi-house footer h4 { margin: 0 0 8px; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.digi-house footer a { display: block; text-decoration: none; margin: 4px 0; }
.digi-house .legend { color: var(--muted); font-size: 0.8rem; }
.digi-house .legal-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.digi-house .legal-row a { display: inline; margin-right: 12px; }

.digi-tuerkisch { --paper: #f4efe6; }
.digi-tuerkisch .hero h1 { font-style: italic; }
.digi-griechisch .highlights { background: var(--brand); }

@media (max-width: 800px) {
  .digi-house .nav-toggle { display: block; }
  .digi-house .links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    background: var(--paper);
    padding: 12px 16px 18px;
    border-bottom: 1px solid var(--line);
  }
  .digi-house .links.is-open { display: flex; }
  .digi-house .highlights-row,
  .digi-house .offers,
  .digi-house .story-grid,
  .digi-house .event-grid,
  .digi-house .visit-grid,
  .digi-house .foot { grid-template-columns: 1fr; }
  .digi-house .item { grid-template-columns: auto 1fr auto; }
  .digi-house .item .prices { grid-column: 2; }
  .digi-house .hero,
  .digi-house .hero-shade { min-height: 88vh; }
}
