/* Rohrwerk — Interaktion & Responsive */
/* overflow-x:clip verhindert horizontales Scrollen durch das ausgeblendete
   mobile Menue (translateX), ohne den Sticky-Header zu brechen. */
html, body { overflow-x: clip; }
[data-hover]{transition:all .2s ease}

/* ===== Dropdown-Menues ===== */
.ht-dropdown > .ht-panel{opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .2s ease,transform .2s ease,visibility .2s ease}
.ht-dropdown:hover > .ht-panel{opacity:1;visibility:visible;transform:translateY(0)}

/* ===== Hero slider ===== */
#htHero [data-ht-slide]{transition:opacity .7s ease}

/* ===== SSS akordeon ===== */
.ht-faq-a{display:none}
.ht-faq.open .ht-faq-a{display:block}
.ht-faq.open .ht-faq-ic{transform:rotate(180deg)}
.ht-faq-ic{transition:transform .25s ease}

/* ===== Mobil menü ===== */
.ht-burger{display:none;flex-direction:column;gap:5px;width:46px;height:46px;border:0;background:transparent;cursor:pointer;padding:0;align-items:center;justify-content:center}
.ht-burger span{display:block;width:26px;height:3px;background:#0B2440;border-radius:3px;transition:.3s}
.ht-burger.open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.ht-burger.open span:nth-child(2){opacity:0}
.ht-burger.open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
.ht-mobov{position:fixed;inset:0;background:rgba(7,32,63,.55);opacity:0;visibility:hidden;transition:.3s;z-index:999}
.ht-mobov.open{opacity:1;visibility:visible}
.ht-mobnav{position:fixed;top:0;right:0;width:330px;max-width:88vw;height:100dvh;background:#fff;z-index:1000;transform:translateX(100%);transition:transform .32s cubic-bezier(.4,0,.2,1);overflow-y:auto;box-shadow:-12px 0 44px rgba(0,0,0,.25);display:flex;flex-direction:column}
.ht-mobnav.open{transform:translateX(0)}
body.ht-lock{overflow:hidden}
/* Kopfzeile */
.ht-mob-head{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #eef2f7}
.ht-mob-logo{display:flex;align-items:center;gap:9px}
.ht-mob-logo-ic{display:inline-flex;width:34px;height:34px;border-radius:10px;background:#0F2A48;align-items:center;justify-content:center}
.ht-mob-logo-tx{font-family:'Sora';font-weight:800;font-size:17px;color:#07203F;letter-spacing:-.02em}
.ht-mob-logo-tx span{color:#1C5A97}
.ht-mob-close{font-size:32px;line-height:1;border:0;background:none;cursor:pointer;color:#0B2440;width:40px;height:40px}
/* Schnell-CTA */
.ht-mob-cta{display:flex;gap:10px;padding:16px 20px}
.ht-mob-cta a{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:13px;border-radius:11px;font-weight:700;font-size:14.5px;color:#fff}
.ht-mob-call{background:#FF6A1A}
.ht-mob-wa{background:#25D366}
/* linkler */
.ht-mob-links{padding:4px 0;flex:1}
.ht-mob-link{display:block;padding:14px 20px;font-weight:600;font-size:16px;color:#0B2440;border-bottom:1px solid #f1f5f9}
.ht-mob-link:hover{background:#f4f8fc;color:#1C5A97}
/* akordeon */
.ht-mob-acc{border-bottom:1px solid #f1f5f9}
.ht-mob-acc-t{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px 20px;border:0;background:none;cursor:pointer;font-family:inherit;font-weight:600;font-size:16px;color:#0B2440}
.ht-mob-acc-t svg{transition:transform .25s ease;color:#7C90A8}
.ht-mob-acc.open .ht-mob-acc-t{color:#1C5A97}
.ht-mob-acc.open .ht-mob-acc-t svg{transform:rotate(180deg);color:#1C5A97}
.ht-mob-acc-p{max-height:0;overflow:hidden;transition:max-height .3s ease;background:#F6F9FC}
.ht-mob-acc.open .ht-mob-acc-p{max-height:420px}
.ht-mob-acc-p a{display:block;padding:11px 20px 11px 34px;font-size:14.5px;font-weight:500;color:#33465E}
.ht-mob-acc-p a:hover{color:#1C5A97}
.ht-mob-acc-all{font-weight:700 !important;color:#1C5A97 !important}
/* Kontakt unten */
.ht-mob-foot{padding:18px 20px;background:#07203F;display:flex;flex-direction:column;gap:12px}
.ht-mob-foot a{display:flex;align-items:center;gap:9px;font-size:13.5px;color:#cfe0f5;font-weight:500}

/* ===== Stadt-/Leistungsseiten (SEO) ===== */
.ht-content-grid > aside details, details > summary::-webkit-details-marker{}
.ht-content-grid details[open] summary{color:#1C5A97}

@media(max-width:980px){
  .ht-desktop-nav{display:none !important}
  .ht-burger{display:flex}
  /* Mobiler Header: CTA-Button passt nicht -> ausblenden (Zugang ueber Burger-Menue + schwebenden Button). Topbar-Telefonnummern nicht umbrechen -> ausblenden. Logo bleibt in Normalgroesse. */
  .ht-header-cta{display:none !important}
  .ht-logo-img{height:46px !important}
  .ht-topbar-phones{display:none !important}
  .ht-hero-grid{grid-template-columns:1fr !important}
  .ht-hero-grid img{height:240px !important}
  .ht-content-grid{grid-template-columns:1fr !important}
  .ht-content-grid aside{position:static !important}
  .ht-cards-4{grid-template-columns:repeat(2,1fr) !important}
  /* Startseite: Karten-Grids auf Tablet 2-spaltig */
  .svc-grid,.work-grid,.steps-grid{grid-template-columns:repeat(2,1fr) !important}
  /* 3er-Grids nicht als 2+1 brechen -> einspaltig */
  .rev-grid,.home-gallery,.why-grid,.region-grid{grid-template-columns:1fr !important}
  /* footer: 4 sütun → tablette 2 sütun */
  .foot-grid{grid-template-columns:1fr 1fr !important;gap:32px !important}
  /* Handgebaute Leistungs- und Kontaktseiten */
  .svc-hero,.why2,.svc-gallery,.ct-grid{grid-template-columns:1fr !important}
  .why2{padding:28px !important}
  .sub-grid{grid-template-columns:repeat(2,1fr) !important}
}
@media(max-width:680px){
  .ht-stat-row{grid-template-columns:repeat(2,1fr) !important}
  .ht-cards-2{grid-template-columns:1fr !important}
  .ht-cards-4{grid-template-columns:1fr !important}
  /* Formularzeilen auf Start-, Leistungs- und Kontaktseite einspaltig */
  .svc-grid,.work-grid,.rev-grid,.steps-grid,.sub-grid,.ct-row{grid-template-columns:1fr !important}
  /* Footer: auf dem Telefon einspaltig, linksbuendig, Unterzeile zentriert */
  .foot-grid{grid-template-columns:1fr !important;gap:28px !important}
  .foot-bottom{justify-content:center !important;text-align:center}
  .stats-grid{grid-template-columns:repeat(2,1fr) !important;text-align:center}
  .why-cards{grid-template-columns:1fr !important}
  /* Galerie-Mosaik zuruecksetzen */
  .shots-grid{grid-template-columns:repeat(2,1fr) !important;grid-auto-rows:150px !important}
  .shots-grid img{grid-column:auto !important;grid-row:auto !important}
}

/* Videobereich: mobil einspaltig */
@media(max-width:900px){
  .ht-video-grid{grid-template-columns:1fr!important;gap:30px!important}
}

/* ---------- Mobil dokunma hedefleri (olculdu: 375px'te 48 oge 36px altindaydi) ---------- */
@media(max-width:700px){
  .foot-grid a,
  .region-grid a,
  .ht-mob-foot a,
  footer a{
    display:inline-flex;align-items:center;min-height:40px;
  }
  .foot-grid ul{gap:2px}
  /* sehir/semt rozetleri parmakla rahat secilsin */
  .region-grid a{padding:8px 12px}
}

/* chip ve slider noktalari: parmak hedefi */
@media(max-width:700px){
  .ht-chip{min-height:40px}
}
/* slider noktalari gorsel olarak kucuk kalsin ama tiklama alani buyusun */
#htHero button[aria-label$="Bild"]{position:relative}
#htHero button[aria-label$="Bild"]::after{
  content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:40px;height:40px;
}

/* ===== Generische Inhaltsseiten (Panel-Seiten, Rechtstexte) ===== */
.rw-hero{background:linear-gradient(135deg,#07203F 0%,#0B2E5C 100%);color:#fff;padding:52px 0 46px;}
.rw-wrap{max-width:860px;margin:0 auto;padding:0 24px;}
.rw-wrap.weit{max-width:1100px;}
.rw-krume{font-size:13px;color:#9FB4CC;margin-bottom:14px;}
.rw-krume ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px;}
.rw-krume li+li:before{content:"›";margin-right:6px;color:#6E89A8;}
.rw-krume a{color:#9FB4CC;}
.rw-krume a:hover{color:#fff;}
.rw-krume [aria-current]{color:#fff;}
.rw-hero h1{font-size:clamp(28px,4.4vw,42px);font-weight:800;line-height:1.1;margin:0;}
.rw-hero .rw-lead{margin-top:12px;font-size:17px;color:#cfe0f5;max-width:620px;}
.rw-body{padding:52px 0 64px;}
.rw-prose{color:#33465E;font-size:16.5px;line-height:1.78;}
.rw-prose>*:first-child{margin-top:0;}
.rw-prose h2{font-size:23px;font-weight:800;color:#07203F;margin:32px 0 12px;line-height:1.25;}
.rw-prose h3{font-size:19px;font-weight:700;color:#07203F;margin:26px 0 10px;}
.rw-prose p{margin:0 0 15px;}
.rw-prose a{color:#1C5A97;text-decoration:underline;text-underline-offset:2px;}
.rw-prose a:hover{color:#FF6A1A;}
.rw-prose strong{color:#07203F;}
.rw-prose ul,.rw-prose ol{margin:0 0 17px;padding-left:0;}
.rw-prose ul{list-style:none;}
.rw-prose ul li{position:relative;padding-left:28px;margin-bottom:9px;}
.rw-prose ul li:before{content:"";position:absolute;left:0;top:7px;width:16px;height:16px;border-radius:50%;background:#E7F1FB;}
.rw-prose ul li:after{content:"";position:absolute;left:5px;top:11px;width:6px;height:6px;border-radius:50%;background:#1C5A97;}
.rw-prose ol{padding-left:22px;}
.rw-prose ol li{margin-bottom:9px;}
.rw-prose img{max-width:100%;height:auto;border-radius:14px;margin:18px 0;display:block;}
.rw-prose figure{margin:18px 0;}
.rw-prose figcaption{font-size:13.5px;color:#7C90A8;margin-top:8px;}
.rw-prose blockquote{margin:20px 0;padding:16px 20px;background:#F6F9FC;border-left:4px solid #1C5A97;border-radius:0 12px 12px 0;color:#33465E;}
.rw-prose blockquote p:last-child{margin-bottom:0;}
.rw-prose table{width:100%;border-collapse:collapse;margin:18px 0;font-size:15px;}
.rw-prose th,.rw-prose td{border:1px solid #E6EBF1;padding:10px 13px;text-align:left;}
.rw-prose th{background:#F6F9FC;color:#07203F;font-weight:700;}
.rw-prose hr{border:0;border-top:1px solid #E6EBF1;margin:28px 0;}
.rw-prose mark{background:#FFF3CD;padding:1px 4px;border-radius:3px;}
.rw-leer{color:#7C90A8;font-style:italic;}
.rw-cta{background:#0F2A48;color:#fff;}
.rw-cta .rw-wrap{padding-top:48px;padding-bottom:48px;text-align:center;}
.rw-cta h2{font-size:clamp(22px,3.4vw,29px);font-weight:800;margin:0 0 10px;}
.rw-cta p{color:#C3D5EC;margin:0 0 22px;}
.rw-cta-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}
.rw-cta-btns a{display:inline-flex;align-items:center;gap:9px;font-weight:700;padding:14px 26px;border-radius:12px;color:#fff;min-height:44px;}
.rw-cta-btns .tel{background:#FF6A1A;}
.rw-cta-btns .wa{background:#25D366;}
@media (max-width:640px){
  .rw-hero{padding:38px 0 34px;}
  .rw-body{padding:38px 0 48px;}
  .rw-prose{font-size:16px;}
  .rw-prose table{display:block;overflow-x:auto;}
}

/* ===== Panel-Inhalte (.ht-art): Bilder, Zitate, Trenner =====
   Die Blade-Vorlagen definieren Überschriften, Listen und Tabellen selbst;
   hier stehen die Elemente, die der Kunde über den Editor einfügt. */
.ht-art img{max-width:100%;height:auto;border-radius:14px;margin:20px 0;display:block;}
.ht-art figure{margin:20px 0;}
.ht-art figure img{margin:0;}
.ht-art figcaption{font-size:13.5px;color:#7C90A8;margin-top:8px;text-align:center;}
.ht-art blockquote{margin:22px 0;padding:16px 20px;background:#F6F9FC;border-left:4px solid #1C5A97;border-radius:0 12px 12px 0;color:#33465E;}
.ht-art blockquote p:last-child{margin-bottom:0;}
.ht-art hr{border:0;border-top:1px solid #E6EBF1;margin:28px 0;}
.ht-art strong{color:#07203F;}
.ht-art mark{background:#FFF3CD;padding:1px 4px;border-radius:3px;}
.ht-art iframe{max-width:100%;border:0;border-radius:14px;margin:20px 0;}
@media (max-width:640px){
  .ht-art table{display:block;overflow-x:auto;}
  .ht-art img{border-radius:11px;}
}
