This commit is contained in:
Raitraut
2026-03-13 13:17:29 +01:00
parent 88e910e0de
commit c2726771d2
3 changed files with 870 additions and 36 deletions

View File

@@ -274,7 +274,8 @@ section {
.psychologist-header {
display: flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
gap: 8px 12px;
margin-bottom: 12px;
}
@@ -449,6 +450,72 @@ section {
color: #a7f3d0;
}
/* ===== FAQ ===== */
.faq {
background: #fff;
}
.faq-list {
max-width: 760px;
margin: 0 auto;
}
.faq-item {
background: #F4EFE8;
border-radius: 12px;
margin-bottom: 12px;
overflow: hidden;
transition: box-shadow .2s;
}
.faq-item[open] {
box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.faq-question {
padding: 20px 24px;
font-weight: 600;
font-size: 1rem;
cursor: pointer;
list-style: none;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
transition: color .2s;
}
.faq-question::-webkit-details-marker {
display: none;
}
.faq-question::after {
content: '+';
font-size: 1.4rem;
font-weight: 400;
color: #0E756F;
flex-shrink: 0;
transition: transform .2s;
}
.faq-item[open] .faq-question::after {
content: '';
}
.faq-question:hover {
color: #0E756F;
}
.faq-answer {
padding: 0 24px 20px;
}
.faq-answer p {
font-size: .95rem;
color: #555;
line-height: 1.7;
}
/* ===== Contact ===== */
.contact-wrapper {
max-width: 640px;
@@ -603,7 +670,11 @@ section {
border-radius: 50%;
color: #ccc;
font-size: .85rem;
transition: background .2s;
transition: background .2s, color .2s;
}
.footer-social a svg {
flex-shrink: 0;
}
.footer-social a:hover {
@@ -657,6 +728,57 @@ section {
}
/* ===== Responsive ===== */
/* Prevent horizontal overflow on all devices */
html, body {
overflow-x: hidden;
}
/* Touch-friendly tap targets */
@media (pointer: coarse) {
.btn {
min-height: 48px;
display: inline-flex;
align-items: center;
justify-content: center;
}
.nav-links a {
min-height: 44px;
display: inline-flex;
align-items: center;
}
.footer-social a {
width: 48px;
height: 48px;
}
.footer-links a {
padding: 8px 0;
}
}
/* ---- Large tablets / small laptops (max-width: 1024px) ---- */
@media (max-width: 1024px) {
.container {
padding: 0 24px;
}
.nav-links {
gap: 24px;
}
.psychologists-grid {
gap: 24px;
}
.psychologist-card img {
height: 240px;
}
}
/* ---- Tablets (max-width: 960px) ---- */
@media (max-width: 960px) {
.nav-links {
display: none;
@@ -670,19 +792,36 @@ section {
font-size: 2.2rem;
}
.hero-stats {
gap: 32px;
}
.services-grid {
grid-template-columns: repeat(2, 1fr);
}
.psychologists-grid {
grid-template-columns: 1fr;
max-width: 560px;
margin-left: auto;
margin-right: auto;
}
.psychologist-card img {
height: 300px;
}
.pricing-grid {
grid-template-columns: 1fr;
max-width: 400px;
margin-left: auto;
margin-right: auto;
grid-template-columns: repeat(3, 1fr);
gap: 16px;
}
.pricing-card {
padding: 28px 20px;
}
.pricing-price {
font-size: 1.8rem;
}
.pricing-card.featured {
@@ -694,31 +833,63 @@ section {
}
.footer-grid {
grid-template-columns: 1fr;
grid-template-columns: 1fr 1fr;
gap: 32px;
}
.footer-brand {
grid-column: 1 / -1;
}
}
@media (max-width: 600px) {
/* ---- Small tablets / large phones landscape (max-width: 768px) ---- */
@media (max-width: 768px) {
section {
padding: 56px 0;
padding: 64px 0;
}
.hero {
padding-top: 110px;
padding-top: 120px;
padding-bottom: 64px;
}
.hero h1 {
font-size: 1.8rem;
font-size: 2rem;
}
.hero-stats {
flex-direction: column;
gap: 20px;
.hero p {
font-size: 1.05rem;
}
.section-title {
font-size: 1.75rem;
}
.services-grid {
gap: 16px;
}
.service-card {
padding: 24px 18px;
}
.pricing-grid {
grid-template-columns: 1fr;
max-width: 420px;
margin-left: auto;
margin-right: auto;
}
.pricing-card {
padding: 32px 24px;
}
.pricing-price {
font-size: 2rem;
}
.psychologist-header {
flex-wrap: wrap;
}
.form-row {
@@ -726,10 +897,282 @@ section {
}
.contact-wrapper {
padding: 24px;
padding: 28px;
}
.footer-grid {
grid-template-columns: 1fr;
gap: 28px;
}
.footer-brand {
grid-column: auto;
}
}
/* ---- Phones (max-width: 600px) ---- */
@media (max-width: 600px) {
.container {
padding: 0 16px;
}
section {
padding: 48px 0;
}
.hero {
padding-top: 100px;
padding-bottom: 48px;
}
.hero h1 {
font-size: 1.75rem;
}
.hero h1 br {
display: none;
}
.hero p {
font-size: 1rem;
margin-bottom: 28px;
}
.hero-stats {
flex-direction: row;
flex-wrap: wrap;
gap: 16px;
justify-content: center;
}
.hero-stats .stat {
flex: 0 0 auto;
min-width: 90px;
}
.hero-stats .stat-number {
font-size: 1.6rem;
}
.hero-stats .stat-label {
font-size: .8rem;
}
.section-title {
font-size: 1.6rem;
font-size: 1.5rem;
}
.section-subtitle {
font-size: .9rem;
margin-bottom: 32px;
}
.services-grid {
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}
.service-card {
padding: 20px 14px;
}
.service-icon {
font-size: 2rem;
margin-bottom: 10px;
}
.service-card h3 {
font-size: 1rem;
}
.service-card p {
font-size: .82rem;
}
.psychologists-grid {
max-width: 100%;
}
.psychologist-card img {
height: 220px;
}
.psychologist-info {
padding: 18px;
}
.psychologist-header h3 {
font-size: 1.05rem;
}
.psychologist-bio {
font-size: .85rem;
}
.pricing-grid {
max-width: 100%;
}
.contact-wrapper {
padding: 20px;
border-radius: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
padding: 11px 12px;
font-size: .9rem;
}
.btn {
padding: 12px 24px;
font-size: .9rem;
}
.footer {
padding: 40px 0 20px;
}
.footer-grid {
gap: 24px;
margin-bottom: 24px;
}
}
/* ---- Small phones (max-width: 400px) ---- */
@media (max-width: 400px) {
.container {
padding: 0 12px;
}
.header .container {
height: 60px;
}
.logo {
font-size: 1.2rem;
}
.hero {
padding-top: 88px;
}
.hero h1 {
font-size: 1.5rem;
}
.hero p {
font-size: .9rem;
}
.hero-stats .stat-number {
font-size: 1.4rem;
}
.section-title {
font-size: 1.3rem;
}
.services-grid {
grid-template-columns: 1fr;
}
.psychologist-card img {
height: 200px;
}
.psychologist-header {
gap: 8px;
}
.psychologist-header h3 {
font-size: 1rem;
}
.badge {
font-size: .7rem;
padding: 3px 8px;
}
.tag {
font-size: .75rem;
padding: 3px 10px;
}
.pricing-price {
font-size: 1.8rem;
}
.pricing-name {
font-size: 1.2rem;
}
.contact-wrapper {
padding: 16px;
}
.mobile-nav a {
font-size: 1.2rem;
}
.mobile-nav {
gap: 24px;
}
}
/* ---- Landscape phones ---- */
@media (max-height: 500px) and (orientation: landscape) {
.hero {
padding-top: 88px;
padding-bottom: 32px;
}
.hero h1 {
font-size: 1.6rem;
margin-bottom: 12px;
}
.hero p {
margin-bottom: 20px;
}
.hero-stats {
margin-top: 24px;
}
.mobile-nav {
gap: 16px;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
padding: 60px 24px 24px;
}
.mobile-nav a {
font-size: 1.1rem;
}
section {
padding: 40px 0;
}
}
/* ---- Ultra-wide / 4K (min-width: 1440px) ---- */
@media (min-width: 1440px) {
.container {
max-width: 1280px;
}
.hero h1 {
font-size: 3.2rem;
}
.hero p {
font-size: 1.25rem;
}
.psychologist-card img {
height: 320px;
}
}