/*-----------------------------------------------------------------------------------
    Theme Name: Biddut Child – Aufsperrdienst Wien 24
    Based on: Biddut – Electricity Services (Theme_Pure)
-----------------------------------------------------------------------------------*/

/* DM Sans (self-hosted, variable weight) */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-primary: #9D0C11;       /* dark red — logo text / badge */
  --color-accent: #FCC603;        /* yellow — key / Wien 24 */
  --color-primary-deep: #8B0004;  /* favicon bg */
  --color-accent-bright: #FDC301;
  --color-bg: #FFFFFF;
  --color-text: #1A1A1A;

  /* biddut neutrals */
  --tp-ff-body: 'DM Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --tp-common-white: #fff;
  --tp-common-black: #16171a;
  --tp-common-black-2: #212226;
  --tp-grey-1: #F5F7FA;
  --tp-text-body: #5c5c5c;
  --tp-border-1: #f0f0f0;
  --tp-border-2: #dfdcdc;
  --tp-shadow: 0 10px 40px rgba(22, 23, 26, 0.08);
}

/*---------------------------------
  typography / base
---------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--tp-ff-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--tp-text-body);
  background: var(--color-bg);
  overflow-x: clip;
}

h1, h2, h3, h4, h5 {
  font-family: var(--tp-ff-body);
  color: var(--color-text);
  margin: 0 0 18px;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 30px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }

p {
  margin: 0 0 16px;
  color: var(--tp-text-body);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color .3s ease-out, background-color .3s ease-out;
}

a:hover {
  color: var(--color-primary-deep);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.pt-120 { padding-top: 60px; }
.pb-120 { padding-bottom: 60px; }

.grey-bg { background-color: var(--tp-grey-1); }
.black-bg { background-color: var(--tp-common-black); }

/* section title — biddut style red bar before h2 */
section h2 {
  position: relative;
  padding-top: 22px;
}

section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 4px;
  background: var(--color-primary);
}

.tp-section-head {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}

.tp-section-head h2::before {
  left: 50%;
  transform: translateX(-50%);
}

/*---------------------------------
  header
---------------------------------*/
/* top bar (address) + main bar (logo left, phone right).
   Address and phone share one <p> in the markup, so the <p> is
   flattened with display:contents and its parts are ordered via flex. */
.tp-header-area {
  --tp-topbar-h: 38px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 99;
  background: linear-gradient(to bottom, var(--tp-common-black) 0 var(--tp-topbar-h), var(--tp-common-white) var(--tp-topbar-h));
  box-shadow: 0 4px 20px rgba(22, 23, 26, 0.08);
}

.tp-header-area header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.tp-header-area header p {
  margin: 0;
}

.tp-header-area header p:first-child {
  order: 1;
  margin-right: auto;
  padding: 12px 16px 12px 0;
}

.tp-header-area header p:first-child img {
  width: 120px;
  height: auto;
}

.tp-header-area header p:last-child {
  display: contents;
  font-size: 12px;
  line-height: var(--tp-topbar-h);
  white-space: nowrap;
  color: #d9d9de;
}

/* pin icon; its dark backing hides the leading "· " separator */
.tp-header-area header p:last-child::before {
  content: "";
  position: relative;
  z-index: 1;
  width: 24px;
  height: var(--tp-topbar-h);
  margin-right: -.5em;
  background: var(--tp-common-black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FCC603'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") left center / 14px no-repeat;
}

/* line break after the address row */
.tp-header-area header p:last-child::after {
  content: "";
  flex-basis: 100%;
  height: 0;
}

.tp-header-area header p:last-child a {
  order: 2;
  display: inline-block;
  padding: 0 14px;
  height: 42px;
  line-height: 42px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .3px;
  color: var(--color-text);
  background: var(--color-accent);
  white-space: nowrap;
}

.tp-header-area header p:last-child a::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  vertical-align: -2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tp-header-area header p:last-child a:hover {
  color: var(--tp-common-white);
  background: var(--color-primary);
}

/*---------------------------------
  main menu bar (anchors to sections)
---------------------------------*/
.tp-main-menu {
  position: relative;
  background: var(--tp-common-black-2);
  border-top: 3px solid var(--color-primary);
}

.tp-main-menu ul {
  display: none;
  margin: 0;
  padding: 0 0 10px;
}

.tp-main-menu.is-open ul {
  display: block;
}

.tp-main-menu li a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--tp-common-white);
  border-top: 1px solid rgba(255, 255, 255, .15);
}

.tp-main-menu li a:hover,
.tp-main-menu li a.is-active {
  color: var(--color-accent);
}

.tp-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: var(--tp-common-black-2);
  cursor: pointer;
}

/* hamburger icon: middle bar + ::before / ::after */
.tp-menu-bar,
.tp-menu-bar::before,
.tp-menu-bar::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-accent);
  transition: transform .3s ease, background-color .3s ease;
}

.tp-menu-bar {
  position: relative;
}

.tp-menu-bar::before,
.tp-menu-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.tp-menu-bar::before { top: -7px; }
.tp-menu-bar::after { top: 7px; }

.tp-main-menu.is-open .tp-menu-bar { background: transparent; }
.tp-main-menu.is-open .tp-menu-bar::before { transform: translateY(7px) rotate(45deg); }
.tp-main-menu.is-open .tp-menu-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* offset anchor jumps below the sticky header */
main section[id],
main [id="kontakt"] {
  scroll-margin-top: 160px;
}

/*---------------------------------
  hero
---------------------------------*/
.tp-hero-area {
  position: relative;
  padding: 60px 0 70px;
  background:
    radial-gradient(circle at 85% 20%, rgba(252, 198, 3, .18) 0, rgba(252, 198, 3, 0) 40%),
    linear-gradient(135deg, var(--color-primary-deep) 0%, var(--color-primary) 55%, #6d0609 100%);
  overflow: hidden;
}

.tp-hero-area::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 320px;
  height: 320px;
  border: 40px solid rgba(255, 255, 255, .06);
  border-radius: 50%;
}

.tp-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.tp-hero-content h1 {
  color: var(--tp-common-white);
  font-size: 32px;
  margin-bottom: 22px;
}

.tp-hero-content h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin-top: 20px;
  background: var(--color-accent);
}

.tp-hero-content p {
  color: rgba(255, 255, 255, .9);
  font-size: 17px;
}

.tp-hero-content p a {
  color: var(--color-accent);
  font-weight: 700;
  border-bottom: 2px solid var(--color-accent);
  white-space: nowrap;
}

.tp-hero-content p a:hover {
  color: var(--tp-common-white);
  border-color: var(--tp-common-white);
}

/*---------------------------------
  layout rows
---------------------------------*/
.tp-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

.tp-row + .tp-row,
.tp-highlight + .tp-row,
.tp-row + .tp-card-grid,
.tp-section-note + .tp-row {
  margin-top: 40px;
}

.tp-row-media {
  align-items: center;
}

.tp-col-media img {
  width: 100%;
  box-shadow: var(--tp-shadow);
}

.tp-col-media p {
  position: relative;
  margin: 0;
}

.tp-col-media p::after {
  content: "";
  position: absolute;
  left: -12px;
  bottom: -12px;
  width: 45%;
  height: 45%;
  background: var(--color-accent);
  z-index: -1;
}

.tp-col-media {
  position: relative;
  z-index: 1;
  padding: 0 0 12px 12px;
}

/* check-list (biddut style) */
.tp-col-text ul li,
.tp-list-grid ul li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  color: var(--color-text);
}

.tp-col-text ul li::before,
.tp-list-grid ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/*---------------------------------
  cards
---------------------------------*/
.tp-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

.tp-card {
  position: relative;
  padding: 30px 24px;
  background: var(--tp-common-white);
  box-shadow: var(--tp-shadow);
  border-bottom: 3px solid transparent;
  transition: border-color .3s ease, transform .3s ease;
}

.tp-card:hover {
  border-bottom-color: var(--color-primary);
  transform: translateY(-4px);
}

.tp-card h3,
.tp-card h4,
.tp-card h5 {
  font-size: 20px;
}

.tp-card h3::before,
.tp-card h4::before,
.tp-card h5::before {
  content: "";
  display: block;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  background: var(--color-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FCC603' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='5.5'/%3E%3Cpath d='M21 2l-9.6 9.6M15.5 7.5l3 3L22 7l-3-3'/%3E%3C/svg%3E") center / 26px no-repeat;
}

.tp-card-dark {
  background: var(--tp-common-black-2);
  box-shadow: none;
}

.tp-card-dark h3,
.tp-card-dark h4 {
  color: var(--tp-common-white);
}

.tp-card-dark p {
  color: #c9c9cf;
}

/*---------------------------------
  faq
---------------------------------*/
.tp-faq-list {
  display: grid;
  gap: 14px;
}

.tp-faq-item {
  background: var(--tp-common-white);
  border-left: 4px solid var(--color-primary);
  box-shadow: 0 4px 18px rgba(22, 23, 26, 0.05);
}

.tp-faq-item h3 {
  position: relative;
  margin: 0;
  padding: 20px 60px 10px 22px;
  font-size: 18px;
}

.tp-faq-item h3::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 18px;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  border-radius: 50%;
  color: var(--color-text);
  background: var(--color-accent);
  transition: background-color .3s ease, color .3s ease, transform .3s ease;
}

.tp-faq-item p {
  padding: 0 22px 20px;
}

/* accordion — enabled by main.js (.tp-faq-ready); without JS all answers stay open */
.tp-faq-ready .tp-faq-item h3 {
  padding-bottom: 20px;
  cursor: pointer;
  user-select: none;
  transition: color .3s ease, padding-bottom .3s ease;
}

.tp-faq-ready .tp-faq-item h3:hover,
.tp-faq-ready .tp-faq-item.is-open h3 {
  color: var(--color-primary);
}

.tp-faq-ready .tp-faq-item h3:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.tp-faq-ready .tp-faq-item p {
  max-height: 0;
  padding-bottom: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .35s ease, padding-bottom .35s ease, opacity .25s ease;
}

.tp-faq-ready .tp-faq-item.is-open h3 {
  padding-bottom: 10px;
}

.tp-faq-ready .tp-faq-item.is-open h3::after {
  content: "\2212";
  color: var(--tp-common-white);
  background: var(--color-primary);
}

.tp-faq-ready .tp-faq-item.is-open p {
  max-height: 400px;
  padding-bottom: 20px;
  opacity: 1;
}

/*---------------------------------
  leistungen
---------------------------------*/
.tp-list-grid ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
}

.tp-list-grid ul li {
  margin: 0;
  padding: 20px 20px 20px 58px;
  background: var(--tp-grey-1);
  border-bottom: 3px solid var(--color-primary);
}

.tp-list-grid ul li::before {
  left: 20px;
  top: 22px;
}

.tp-highlight {
  margin-top: 40px;
  padding: 30px 24px;
  color: var(--tp-common-white);
  background: var(--tp-common-black);
  border-left: 5px solid var(--color-accent);
}

.tp-highlight h3 {
  color: var(--tp-common-white);
}

.tp-highlight p {
  color: #d4d4da;
}

/*---------------------------------
  price table
---------------------------------*/
.tp-price-box > p {
  margin-top: 18px;
  font-size: 15px;
}

.tp-table-wrap {
  overflow-x: auto;
  background: var(--tp-common-white);
  box-shadow: var(--tp-shadow);
}

.tp-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.tp-table-wrap th {
  padding: 16px 18px;
  text-align: left;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--tp-common-white);
  background: var(--color-primary);
}

.tp-table-wrap td {
  padding: 15px 18px;
  color: var(--color-text);
  border-bottom: 1px solid var(--tp-border-1);
  vertical-align: top;
}

.tp-table-wrap tbody tr:nth-child(even) td {
  background: #fbfbfc;
}

.tp-table-wrap td:last-child,
.tp-table-wrap th:last-child {
  text-align: right;
  white-space: nowrap;
}

.tp-table-wrap td:last-child {
  font-weight: 700;
  color: var(--color-primary);
}

.tp-table-wrap tbody tr:first-child td {
  background: #fff8db;
}

/*---------------------------------
  about (dark)
---------------------------------*/
.tp-about-area h2 {
  color: var(--tp-common-white);
}

.tp-about-area h2::before {
  background: var(--color-accent);
}

.tp-about-area .tp-section-head p {
  color: #c9c9cf;
}

/*---------------------------------
  process steps
---------------------------------*/
.tp-steps ol {
  counter-reset: tp-step;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 0;
}

.tp-steps ol li {
  counter-increment: tp-step;
  position: relative;
  padding: 34px 24px 26px;
  color: var(--color-text);
  background: var(--tp-grey-1);
  border-top: 3px solid var(--color-primary);
}

.tp-steps ol li::before {
  content: "0" counter(tp-step);
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  line-height: 56px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50%;
  color: var(--color-text);
  background: var(--color-accent);
}

.tp-steps ol li a {
  font-weight: 700;
  white-space: nowrap;
}

.tp-section-note {
  max-width: 820px;
  margin: 30px auto 0;
  text-align: center;
}

.tp-section-note a,
.tp-cta-box a,
.tp-col-text p a {
  font-weight: 700;
  white-space: nowrap;
}

.tp-cta-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 26px;
  background: linear-gradient(135deg, var(--color-primary-deep), var(--color-primary));
}

.tp-cta-box h4 {
  color: var(--tp-common-white);
  font-size: 22px;
}

.tp-cta-box p {
  color: rgba(255, 255, 255, .9);
}

.tp-cta-box p a {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transition: color .3s ease, border-color .3s ease;
}

.tp-cta-box p a:hover {
  color: var(--tp-common-white);
  border-color: var(--tp-common-white);
}

/*---------------------------------
  footer
---------------------------------*/
.tp-footer-area {
  padding: 34px 0;
  border-top: 4px solid var(--color-primary);
}

.tp-footer-area footer p {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: #b9b9c0;
}

.tp-footer-area footer a {
  color: var(--color-accent);
}

.tp-footer-area footer a:hover {
  color: var(--tp-common-white);
}

/*---------------------------------
  responsive
---------------------------------*/
/* mobile: hamburger sits in the logo row, right of the phone button */
@media (max-width: 767px) {
  .tp-header-area { --tp-mainrow-h: 76px; }
  .tp-header-area header p:first-child {
    display: flex;
    align-items: center;
    height: var(--tp-mainrow-h);
    padding: 0 12px 0 0;
  }
  .tp-header-area header p:last-child a { margin-right: 54px; }
  .tp-main-menu { position: static; }
  .tp-menu-toggle {
    position: absolute;
    right: 16px;
    top: calc(var(--tp-topbar-h) + (var(--tp-mainrow-h) - 44px) / 2);
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .tp-menu-toggle { right: 20px; }
}

@media (min-width: 576px) {
  .container { padding: 0 20px; }
  .tp-list-grid ul { grid-template-columns: repeat(2, 1fr); }
  .tp-steps ol { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 32px; }
  h3 { font-size: 24px; }
  .pt-120 { padding-top: 90px; }
  .pb-120 { padding-bottom: 90px; }

  .tp-header-area { --tp-topbar-h: 42px; }
  .tp-menu-toggle { display: none; }
  .tp-main-menu ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
  }
  .tp-main-menu li a {
    position: relative;
    padding: 0 18px;
    height: 52px;
    line-height: 52px;
    font-size: 14px;
    border-top: 0;
  }
  .tp-main-menu li:first-child a { padding-left: 0; }
  .tp-main-menu li a::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform .3s ease;
  }
  .tp-main-menu li:first-child a::after { left: 0; }
  .tp-main-menu li a:hover::after,
  .tp-main-menu li a.is-active::after { transform: scaleX(1); }
  main section[id],
  main [id="kontakt"] { scroll-margin-top: 200px; }
  .tp-header-area header p:first-child { padding: 14px 16px 14px 0; }
  .tp-header-area header p:first-child img { width: 160px; }
  .tp-header-area header p:last-child { font-size: 14px; }
  .tp-header-area header p:last-child a {
    padding: 0 28px;
    height: 54px;
    line-height: 54px;
    font-size: 16px;
  }

  .tp-hero-area { padding: 90px 0 100px; }
  .tp-hero-content h1 { font-size: 42px; }

  .tp-card-grid { grid-template-columns: repeat(2, 1fr); }
  .tp-card-grid > .tp-card:nth-child(3):last-child { grid-column: 1 / -1; }
  .tp-highlight { padding: 40px; }
}

@media (min-width: 992px) {
  h2 { font-size: 38px; }
  .pt-120 { padding-top: 120px; }
  .pb-120 { padding-bottom: 120px; }

  .tp-hero-area { padding: 120px 0 130px; }
  .tp-hero-content h1 { font-size: 52px; }

  .tp-row { grid-template-columns: 1fr 1fr; gap: 60px; }
  .tp-row-reverse .tp-col-media { order: -1; }
  .tp-row .tp-col-title { position: sticky; top: 140px; }
  .tp-row-cta { align-items: stretch; }

  .tp-card-grid { grid-template-columns: repeat(3, 1fr); }
  .tp-card-grid > .tp-card:nth-child(3):last-child { grid-column: auto; }
  .tp-card-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .tp-card { padding: 40px 34px; }

  .tp-list-grid ul { grid-template-columns: repeat(3, 1fr); }
  .tp-steps ol { grid-template-columns: repeat(4, 1fr); }
  .tp-cta-box { padding: 44px 40px; }
}

@media (min-width: 1200px) {
  .tp-hero-content h1 { font-size: 58px; }
  .tp-section-head h2,
  .tp-col-title h2,
  .tp-col-text h2 { font-size: 42px; }
}

@media (max-width: 575px) {
  .tp-table-wrap th,
  .tp-table-wrap td { padding: 12px 12px; font-size: 14px; }
  .tp-header-area header p:first-child img { width: 105px; }
  .tp-header-area header p:last-child a { padding: 0 12px; font-size: 14px; }
  .tp-faq-item h3 { padding-left: 16px; padding-right: 56px; font-size: 17px; }
  .tp-faq-item h3::after { right: 16px; }
  .tp-faq-item p { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 359px) {
  .tp-header-area header p:last-child { font-size: 11px; }
  .tp-header-area header p:first-child img { width: 84px; }
  .tp-header-area header p:first-child { padding-right: 8px; }
  .tp-header-area header p:last-child a { padding: 0 9px; font-size: 13px; margin-right: 48px; }
  .tp-header-area header p:last-child a::before { margin-right: 5px; }
  .tp-menu-toggle { width: 40px; height: 40px; top: calc(var(--tp-topbar-h) + (var(--tp-mainrow-h) - 40px) / 2); }
}

/* district dropdown, full width under the menu bar */
.tp-has-sub { position: static; }
.tp-main-menu ul.tp-sub-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 40;
  margin: 0;
  padding: 18px 8px 22px;
  background: var(--tp-common-black-2, #1c1c1c);
  border-top: 3px solid var(--color-accent);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .28);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.tp-main-menu li.tp-has-sub:hover > ul.tp-sub-menu,
.tp-main-menu li.tp-has-sub:focus-within > ul.tp-sub-menu,
.tp-main-menu li.tp-has-sub.is-open > ul.tp-sub-menu {
  display: grid;
}
.tp-main-menu .tp-sub-menu li a {
  height: auto;
  line-height: 1.35;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  border-top: 0;
  color: var(--tp-common-white);
}
.tp-main-menu .tp-sub-menu li a::after { display: none; }
.tp-main-menu .tp-sub-menu li a:hover,
.tp-main-menu .tp-sub-menu li a[aria-current="page"] {
  color: var(--color-accent);
}
.tp-sub-toggle::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 8px;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
@media (max-width: 767px) {
  .tp-main-menu.is-open > .container > ul { display: block; }
  .tp-main-menu.is-open ul.tp-sub-menu { display: none; }
  .tp-main-menu ul.tp-sub-menu {
    position: static;
    padding: 0 0 8px 14px;
    border-top: 0;
    box-shadow: none;
    grid-template-columns: 1fr;
  }
  .tp-main-menu li.tp-has-sub.is-open > ul.tp-sub-menu { display: grid; }
}
@media (min-width: 768px) {
  .tp-main-menu ul.tp-sub-menu { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  .tp-main-menu ul.tp-sub-menu { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.tp-card-grid + .tp-list-grid {
  margin-top: 40px;
}

@media (min-width: 992px) {
  .tp-card-grid > .tp-card:only-child {
    grid-column: 1 / -1;
  }
  #leistungen .tp-card-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
  .tp-card-grid + .tp-list-grid ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

.tp-bezirk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tp-bezirk-grid a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 74px;
  padding: 14px 16px;
  background: var(--tp-common-white);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(22, 23, 26, .06);
  text-decoration: none;
}
.tp-bezirk-plz {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: var(--color-primary);
}
.tp-bezirk-name {
  font-size: 14px;
  line-height: 1.3;
  color: var(--tp-text-body);
}
.tp-bezirk-grid a:hover {
  transform: translateY(-2px);
  box-shadow: var(--tp-shadow);
}
@media (min-width: 768px) {
  .tp-bezirk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}
@media (min-width: 1200px) {
  .tp-bezirk-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
}

/* Brotkrumen — hero trail */
.tp-breadcrumb {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.4;
}

.tp-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp-breadcrumb li {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.tp-breadcrumb li + li::before {
  content: "/";
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 500;
}

.tp-breadcrumb a {
  color: var(--tp-common-white);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 0;
}

.tp-breadcrumb a:hover,
.tp-breadcrumb a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}

.tp-breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

/* Kundenstimme */
.tp-kundenstimme {
  padding: 48px 0 24px;
  background: var(--tp-grey-1);
  border-top: 1px solid var(--tp-border-1);
}

.tp-kundenstimme .container {
  max-width: 720px;
}

.tp-note {
  padding: 26px 28px 20px;
  background: var(--tp-common-white);
  border: 1px solid var(--tp-border-2);
  border-radius: 12px;
  box-shadow: var(--tp-shadow);
}

.tp-note-stars {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 700;
}

.tp-note-stars > span:last-child {
  margin-left: 8px;
  color: var(--tp-text-body);
  letter-spacing: 0;
  font-size: 14px;
  font-weight: 600;
}

.tp-note-text {
  margin: 0 0 14px;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.7;
}

.tp-note-meta {
  margin: 0;
  color: var(--tp-text-body);
  font-size: 14px;
}

.tp-kundenstimme-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.tp-kundenstimme-list .tp-note + .tp-note {
  margin-top: 14px;
}

.tp-kunden-form {
  position: relative;
  padding: 22px;
  background: var(--tp-common-white);
  border: 1px solid var(--tp-border-2);
  border-radius: 12px;
  box-shadow: var(--tp-shadow);
}

.tp-kunden-form > label {
  display: block;
  margin: 12px 0 4px;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.92rem;
}

.tp-kunden-form input[type="text"],
.tp-kunden-form textarea {
  width: 100%;
  border: 1px solid var(--tp-border-2);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px;
  color: var(--color-text);
  background: var(--tp-common-white);
}

.tp-kunden-form textarea {
  resize: vertical;
}

.tp-kunden-form input:focus,
.tp-kunden-form textarea:focus {
  outline: 2px solid var(--color-primary);
  border-color: var(--color-primary);
}

.tp-rate {
  border: 0;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 2px;
  margin: 0 0 4px;
  padding: 0;
}

.tp-rate legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.tp-rate input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.tp-rate label {
  margin: 0;
  color: #d0d0d0;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.tp-rate label:hover,
.tp-rate label:hover ~ label,
.tp-rate input:checked ~ label,
.tp-rate input:focus-visible ~ label {
  color: var(--color-accent);
}

.tp-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  color: var(--tp-text-body);
  margin-top: 14px;
}

.tp-check input {
  margin-top: 6px;
  flex: none;
}

.tp-kunden-form button {
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 12px 22px;
  cursor: pointer;
}

.tp-kunden-form button:hover {
  background: var(--color-primary-deep);
}

.tp-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.tp-form-ok,
.tp-form-err {
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.tp-form-ok {
  background: #e8f6ee;
  color: #146c36;
}

.tp-form-err {
  background: #fdecea;
  color: #9b1c1c;
}

@media (max-width: 900px) {
  .tp-kundenstimme-grid {
    grid-template-columns: 1fr;
  }
}
