/* ---------------------------------------------------------------
   Site-specific additions on top of the Webflow export.
   Loaded after sarahrendel.webflow.css.
   --------------------------------------------------------------- */

/* Fonts are served from this server (no request to Google Fonts). */
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff") format("woff"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff") format("woff"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff") format("woff"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-700.woff") format("woff"); }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff") format("woff"); }


.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

a:focus-visible, button:focus-visible, .w-nav-button:focus-visible {
  outline: 2px solid #6466ff; outline-offset: 3px;
}

/* --- Logo (text instead of the image, which had a typo) --- */
.logo-link, .logo-link.w--current { width: auto; display: block; text-decoration: none; }
.logo-text {
  color: #0c0407; font-family: Inter, sans-serif; font-size: 17px; font-weight: 600;
  letter-spacing: -.3px; line-height: 1; white-space: nowrap;
}

/* --- Real headings keep the look of the former divs --- */
h1.home-hero-headline-text,
h2.section-headline-text,
h2.footer-headline-text,
h3.why-choose-me-card-headline-text,
h3.home-services-card-headline-text,
h3.working-process-step-headline-text { margin-top: 0; margin-bottom: 0; }

/* --- Scroll fade-ins and hover effects --- */
.sr-fade { opacity: 0; transition: opacity .6s ease; }
.sr-fade.is-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .sr-fade { opacity: 1; transition: none; } }

.why-choose-me-card-wrapper { transition: background-color .3s ease; }
.why-choose-me-card-wrapper:hover { background-color: #e8e8e8 !important; }
.home-services-card-wrapper .black-border { transition: transform .4s ease; }
a.home-services-card-wrapper:hover .black-border { transform: translate3d(0, 0, 0) !important; }
.working-proces-step-wrapper .working-process-underline { transition: transform .4s ease; }
a.working-proces-step-wrapper:hover .working-process-underline { transform: translate3d(0, 0, 0) !important; }
a.working-proces-step-wrapper { cursor: pointer; }

.archiv-hover-img {
  position: fixed; z-index: 9999; pointer-events: none;
  width: 280px; height: 200px; object-fit: cover; border-radius: 8px;
  opacity: 0; transition: opacity .25s ease; box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
}
.archiv-hover-img.visible { opacity: 1; }

/* --- Tag cloud in the hero --- */
.tag-canvas, .tag-canvas canvas { pointer-events: none !important; touch-action: pan-y !important; }
@media (hover: hover) and (pointer: fine) {
  .tag-canvas, .tag-canvas canvas { pointer-events: auto !important; }
}
.tag-wrapper { position: relative; overflow: hidden; }
.tag-canvas { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.tag-wrapper, .tag-canvas, .tag-canvas canvas {
  border: 0 !important; outline: none !important; background: transparent !important;
}

/* --- Photo cards: same frame on every side, photos always fill their slot --- */
.home-hero-images-wrapper { align-items: center; }
.home-hero-image-card-wrapper-01,
.home-hero-image-card-wrapper-02,
.home-hero-image-card-wrapper-03 { flex: 0 1 356px; width: 100%; align-items: stretch; padding-bottom: 12px; }
.is-untitled { padding-top: 12px; }
.is-untitled .home-hero-image-card-headline-block { display: none; }
.home-hero-card-image-block {
  height: auto; aspect-ratio: 1 / 1; margin: 0 12px; border-radius: 20px; overflow: hidden;
}
.home-hero-card-image {
  display: block; width: 100%; height: 100%; border-radius: 0;
  object-fit: cover; object-position: center 30%;
}
.home-hero-image-card-headline-block { width: auto; padding: 28px 28px 22px; }
.home-hero-image-card-01-headine-text,
.home-hero-image-card-02-headine-text,
.home-hero-image-card-03-headine-text { max-width: none; font-size: 32px; line-height: 1.15; }
@media screen and (max-width: 991px) {
  .home-hero-image-card-wrapper-01,
  .home-hero-image-card-wrapper-02,
  .home-hero-image-card-wrapper-03 { flex-basis: 226px; border-radius: 22px; padding-bottom: 8px; }
  .is-untitled { padding-top: 8px; }
  .home-hero-card-image-block { margin: 0 8px; border-radius: 15px; }
  .home-hero-image-card-headline-block { padding: 16px 16px 12px; }
  .home-hero-image-card-01-headine-text,
  .home-hero-image-card-02-headine-text,
  .home-hero-image-card-03-headine-text { font-size: 22px; }
}
@media screen and (max-width: 767px) {
  .home-hero-image-card-wrapper-01,
  .home-hero-image-card-wrapper-02,
  .home-hero-image-card-wrapper-03 { flex: 0 0 auto; max-width: 356px; max-height: none; border-radius: 28px; padding-bottom: 12px; }
  .is-untitled { padding-top: 12px; }
  .home-hero-card-image-block { margin: 0 12px; border-radius: 20px; }
  .home-hero-image-card-headline-block { padding: 26px 26px 20px; }
  .home-hero-image-card-01-headine-text,
  .home-hero-image-card-02-headine-text,
  .home-hero-image-card-03-headine-text { font-size: 28px; }
}

/* --- Equal heights in the two-column grids --- */
.why-choose-me-card { display: flex; height: 100%; }
.why-choose-me-card-wrapper.w-inline-block { display: block; height: 100%; }
.working-process-step-card { display: flex; }
.working-proces-step-wrapper.w-inline-block { display: flex; flex-direction: column; }
.working-process-step-card-wrapper { flex: 1 1 auto; }

/* --- Footer: contact details and form --- */
.footer-info-card-text a { color: inherit; text-decoration: none; }
.footer-info-card-text a:hover { text-decoration: underline; }
.footer-info-content-block-m .footer-info-card-block + .footer-info-card-block { margin-top: 24px; }

.contact-form { margin: 0; }
.contact-form .form { grid-template-columns: 1fr 1fr; grid-row-gap: 2rem; }
.contact-form .form-field-wrapper.is-wide { grid-column: 1 / -1; }
.contact-form label {
  display: block; margin-bottom: 10px; color: #4c4c4c;
  font-family: Inter, sans-serif; font-size: 14px; font-weight: 400; line-height: 20px; letter-spacing: -.16px;
}
.contact-form .req { color: #bf1546; font-weight: 600; }
.contact-form .form-input {
  display: block; width: 100%; min-height: 44px; padding: 0 0 14px;
  border: 0; border-bottom: 1px solid #c9c9c9; border-radius: 0;
  background-color: transparent; font-size: 16px; line-height: 24px; color: #0c0407;
  outline: none; box-shadow: none;
}
.contact-form .form-input:focus { border-bottom-color: #000; box-shadow: 0 1px 0 0 #000; }
.contact-form .form-input.is-text-area { min-height: 120px; resize: vertical; }
.contact-form select.form-input {
  -webkit-appearance: none; appearance: none;
  color: #0c0407; cursor: pointer; padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230c0407' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px top 9px;
}
.contact-form .contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .submit-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: auto; height: 47px; padding: 0 28px; border: 0; cursor: pointer;
  font-size: 14px; line-height: 1; transition: background-color .2s ease;
}
.contact-form .form-note {
  margin: 0; color: #4c4c4c; font-family: Inter, sans-serif; font-size: 13px; line-height: 20px;
}
.contact-form .form-note a { color: inherit; }
.contact-form .form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-status {
  margin-bottom: 28px; padding: 14px 18px; border-radius: 10px;
  font-family: Inter, sans-serif; font-size: 15px; line-height: 22px; color: #0c0407;
}
.form-status.is-success { background-color: #e4f7c8; }
.form-status.is-error { background-color: #fbdfe6; }

/* --- Footer: links and social icons --- */
.sr-legal-link { color: #0c0407; text-decoration: none; }
.sr-legal-link:hover { text-decoration: underline; }
.footer-social-block-three { margin-left: 0; margin-top: 28px; gap: 24px; }
.footer-social-link-three { margin-left: 0; color: #0c0407; line-height: 0; transition: opacity .2s ease; }
.footer-social-link-three:hover { opacity: .6; }
.footer-social-link-three svg { width: 26px; height: 26px; display: block; }

/* --- Tablet --- */
@media screen and (max-width: 991px) {
  .footer-form-block { max-width: 100%; }
}

/* --- Phone landscape and below --- */
@media screen and (max-width: 767px) {
  .home-hero-headline-text { line-height: 1.2; }
  .footer-info-content-block-m { margin-bottom: 40px; }
}

/* --- Phone portrait --- */
@media screen and (max-width: 479px) {
  .home-hero-headline-wrapper { max-width: 340px; padding: 0 16px; }
  .home-hero-headline-text { font-size: 38px; line-height: 1.15; letter-spacing: -2px; }
  .contact-form .form { grid-template-columns: 1fr; }
  .contact-form .submit-button { width: 100%; }
}

/* --- Language switch (DE / EN) --- */
.nav-actions { display: flex; align-items: center; gap: 20px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: Inter, sans-serif; font-size: 14px; line-height: 20px; letter-spacing: -.16px;
}
.lang-switch-link { color: #8a8a8a; text-decoration: none; font-weight: 500; padding: 4px 2px; transition: color .2s ease; }
.lang-switch-link:hover { color: #0c0407; }
.lang-switch-link.is-active { color: #0c0407; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.lang-switch-sep { color: #c4c4c4; }
@media screen and (max-width: 479px) {
  .nav-actions { gap: 12px; }
  .lang-switch { font-size: 13px; gap: 4px; }
}

/* --- Clickable rows: the same arrow as on the Contact button, sliding on hover --- */
.link-arrow {
  display: inline-flex; align-items: center; flex: none; margin-left: 10px;
  color: #0c0407; transition: transform .3s ease;
}
.link-arrow svg { display: block; width: 11px; height: 11px; }
h3.working-process-step-headline-text { display: flex; align-items: baseline; gap: 10px; }
h3.working-process-step-headline-text .link-arrow { margin-left: 0; }
a.home-services-card-wrapper, a.working-proces-step-wrapper { cursor: pointer; }
a.home-services-card-wrapper:hover .link-arrow,
a.working-proces-step-wrapper:hover .link-arrow,
a.home-services-card-wrapper:focus-visible .link-arrow,
a.working-proces-step-wrapper:focus-visible .link-arrow { transform: translateX(6px); }
@media (prefers-reduced-motion: reduce) { .link-arrow { transition: none; } }
